@sonatype/nexus-repo-api-client 0.0.1 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/dist/apis/AssetsApi.js +12 -12
- package/dist/apis/AzureBlobStoreApi.js +1 -1
- package/dist/apis/BlobStoreApi.js +43 -43
- package/dist/apis/ComponentsApi.js +104 -104
- package/dist/apis/ContentSelectorsApi.js +11 -11
- package/dist/apis/EmailApi.js +6 -6
- package/dist/apis/FormatsApi.js +3 -3
- package/dist/apis/LifecycleApi.js +2 -2
- package/dist/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +1 -1
- package/dist/apis/ProductLicensingApi.js +1 -1
- package/dist/apis/RepositoryManagementApi.js +346 -346
- package/dist/apis/RoutingRulesApi.js +15 -15
- package/dist/apis/ScriptApi.js +15 -15
- package/dist/apis/SearchApi.js +322 -322
- package/dist/apis/SecurityAtlassianCrowdApi.js +2 -2
- package/dist/apis/SecurityCertificatesApi.js +12 -12
- package/dist/apis/SecurityManagementAnonymousAccessApi.js +1 -1
- package/dist/apis/SecurityManagementLDAPApi.js +12 -12
- package/dist/apis/SecurityManagementPrivilegesApi.js +36 -36
- package/dist/apis/SecurityManagementRealmsApi.js +1 -1
- package/dist/apis/SecurityManagementRolesApi.js +19 -19
- package/dist/apis/SecurityManagementSAMLApi.js +1 -1
- package/dist/apis/SecurityManagementUserTokensApi.js +1 -1
- package/dist/apis/SecurityManagementUsersApi.js +21 -21
- package/dist/apis/StagingApi.js +203 -203
- package/dist/apis/SupportApi.js +2 -2
- package/dist/apis/TagsApi.js +221 -221
- package/dist/apis/TasksApi.js +11 -11
- package/dist/esm/apis/AssetsApi.js +12 -12
- package/dist/esm/apis/AzureBlobStoreApi.js +1 -1
- package/dist/esm/apis/BlobStoreApi.js +43 -43
- package/dist/esm/apis/ComponentsApi.js +104 -104
- package/dist/esm/apis/ContentSelectorsApi.js +11 -11
- package/dist/esm/apis/EmailApi.js +6 -6
- package/dist/esm/apis/FormatsApi.js +3 -3
- package/dist/esm/apis/LifecycleApi.js +2 -2
- package/dist/esm/apis/ManageSonatypeRepositoryFirewallConfigurationApi.js +1 -1
- package/dist/esm/apis/ProductLicensingApi.js +1 -1
- package/dist/esm/apis/RepositoryManagementApi.js +346 -346
- package/dist/esm/apis/RoutingRulesApi.js +15 -15
- package/dist/esm/apis/ScriptApi.js +15 -15
- package/dist/esm/apis/SearchApi.js +322 -322
- package/dist/esm/apis/SecurityAtlassianCrowdApi.js +2 -2
- package/dist/esm/apis/SecurityCertificatesApi.js +12 -12
- package/dist/esm/apis/SecurityManagementAnonymousAccessApi.js +1 -1
- package/dist/esm/apis/SecurityManagementLDAPApi.js +12 -12
- package/dist/esm/apis/SecurityManagementPrivilegesApi.js +36 -36
- package/dist/esm/apis/SecurityManagementRealmsApi.js +1 -1
- package/dist/esm/apis/SecurityManagementRolesApi.js +19 -19
- package/dist/esm/apis/SecurityManagementSAMLApi.js +1 -1
- package/dist/esm/apis/SecurityManagementUserTokensApi.js +1 -1
- package/dist/esm/apis/SecurityManagementUsersApi.js +21 -21
- package/dist/esm/apis/StagingApi.js +203 -203
- package/dist/esm/apis/SupportApi.js +2 -2
- package/dist/esm/apis/TagsApi.js +221 -221
- package/dist/esm/apis/TasksApi.js +11 -11
- package/dist/esm/models/AbstractApiRepository.js +19 -15
- package/dist/esm/models/AnonymousAccessSettingsXO.js +15 -10
- package/dist/esm/models/ApiCertificate.js +33 -28
- package/dist/esm/models/ApiCreateUser.js +23 -19
- package/dist/esm/models/ApiEmailConfiguration.js +33 -29
- package/dist/esm/models/ApiEmailValidation.js +13 -8
- package/dist/esm/models/ApiLicenseDetailsXO.js +27 -22
- package/dist/esm/models/ApiPrivilege.js +17 -12
- package/dist/esm/models/ApiPrivilegeApplicationRequest.js +17 -12
- package/dist/esm/models/ApiPrivilegeRepositoryAdminRequest.js +19 -14
- package/dist/esm/models/ApiPrivilegeRepositoryContentSelectorRequest.js +21 -16
- package/dist/esm/models/ApiPrivilegeRepositoryViewRequest.js +19 -14
- package/dist/esm/models/ApiPrivilegeScriptRequest.js +17 -12
- package/dist/esm/models/ApiPrivilegeWildcardRequest.js +15 -10
- package/dist/esm/models/ApiUser.js +27 -23
- package/dist/esm/models/ApiUserSource.js +13 -8
- package/dist/esm/models/AptHostedApiRepository.js +23 -22
- package/dist/esm/models/AptHostedRepositoriesAttributes.js +11 -6
- package/dist/esm/models/AptHostedRepositoryApiRequest.js +23 -23
- package/dist/esm/models/AptProxyApiRepository.js +29 -30
- package/dist/esm/models/AptProxyRepositoriesAttributes.js +13 -9
- package/dist/esm/models/AptProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/AptSigningRepositoriesAttributes.js +13 -8
- package/dist/esm/models/AssetXO.js +35 -30
- package/dist/esm/models/AzureBlobStoreApiAuthentication.js +13 -9
- package/dist/esm/models/AzureBlobStoreApiBucketConfiguration.js +14 -13
- package/dist/esm/models/AzureBlobStoreApiModel.js +15 -12
- package/dist/esm/models/AzureConnectionXO.js +17 -12
- package/dist/esm/models/BaseTagXO.js +11 -6
- package/dist/esm/models/BlobStoreApiSoftQuota.js +13 -8
- package/dist/esm/models/BlobStoreQuotaResultXO.js +15 -10
- package/dist/esm/models/BowerAttributes.js +10 -7
- package/dist/esm/models/BowerGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/BowerHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/BowerProxyApiRepository.js +29 -29
- package/dist/esm/models/BowerProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/CleanupPolicyAttributes.js +11 -6
- package/dist/esm/models/CocoapodsProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/ComponentAttributes.js +11 -6
- package/dist/esm/models/ComponentXO.js +23 -18
- package/dist/esm/models/ConanProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/CondaProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/ContentSelectorApiCreateRequest.js +15 -10
- package/dist/esm/models/ContentSelectorApiResponse.js +17 -12
- package/dist/esm/models/ContentSelectorApiUpdateRequest.js +13 -8
- package/dist/esm/models/CreateLdapServerXo.js +69 -75
- package/dist/esm/models/CrowdApiXO.js +23 -20
- package/dist/esm/models/DockerAttributes.js +19 -16
- package/dist/esm/models/DockerGroupApiRepository.js +19 -18
- package/dist/esm/models/DockerGroupRepositoryApiRequest.js +18 -19
- package/dist/esm/models/DockerHostedApiRepository.js +21 -19
- package/dist/esm/models/DockerHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/DockerHostedStorageAttributes.js +17 -15
- package/dist/esm/models/DockerProxyApiRepository.js +31 -33
- package/dist/esm/models/DockerProxyAttributes.js +17 -12
- package/dist/esm/models/DockerProxyRepositoryApiRequest.js +31 -34
- package/dist/esm/models/FileBlobStoreApiCreateRequest.js +15 -10
- package/dist/esm/models/FileBlobStoreApiModel.js +13 -8
- package/dist/esm/models/FileBlobStoreApiUpdateRequest.js +13 -8
- package/dist/esm/models/GenericBlobStoreApiResponse.js +23 -18
- package/dist/esm/models/GitLfsHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/GolangGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/GolangProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/GroupAttributes.js +11 -6
- package/dist/esm/models/GroupBlobStoreApiCreateRequest.js +17 -12
- package/dist/esm/models/GroupBlobStoreApiModel.js +15 -10
- package/dist/esm/models/GroupBlobStoreApiResponse.js +17 -12
- package/dist/esm/models/GroupBlobStoreApiUpdateRequest.js +15 -10
- package/dist/esm/models/GroupDeployAttributes.js +13 -8
- package/dist/esm/models/HelmHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/HelmProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/HostedStorageAttributes.js +14 -13
- package/dist/esm/models/HttpClientAttributes.js +17 -14
- package/dist/esm/models/HttpClientAttributesWithPreemptiveAuth.js +17 -14
- package/dist/esm/models/HttpClientConnectionAttributes.js +21 -16
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributes.js +21 -16
- package/dist/esm/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +21 -16
- package/dist/esm/models/IqConnectionVerificationXo.js +13 -8
- package/dist/esm/models/IqConnectionXo.js +29 -25
- package/dist/esm/models/MavenAttributes.js +15 -10
- package/dist/esm/models/MavenGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/MavenHostedApiRepository.js +27 -25
- package/dist/esm/models/MavenHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/MavenProxyApiRepository.js +35 -36
- package/dist/esm/models/MavenProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/NegativeCacheAttributes.js +12 -10
- package/dist/esm/models/NpmAttributes.js +10 -7
- package/dist/esm/models/NpmGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/NpmHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/NpmProxyApiRepository.js +29 -29
- package/dist/esm/models/NpmProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/NugetAttributes.js +13 -8
- package/dist/esm/models/NugetGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/NugetHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/NugetProxyApiRepository.js +29 -30
- package/dist/esm/models/NugetProxyRepositoryApiRequest.js +29 -31
- package/dist/esm/models/P2ProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/Page.js +13 -8
- package/dist/esm/models/PageAssetXO.js +13 -8
- package/dist/esm/models/PageComponentXO.js +13 -8
- package/dist/esm/models/PageTagXO.js +13 -8
- package/dist/esm/models/PageTaskXO.js +13 -8
- package/dist/esm/models/ProxyAttributes.js +15 -12
- package/dist/esm/models/PyPiProxyAttributes.js +10 -7
- package/dist/esm/models/PypiGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/PypiHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/PypiProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/RGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/RHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/RProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/RawAttributes.js +11 -6
- package/dist/esm/models/RawGroupRepositoryApiRequest.js +19 -18
- package/dist/esm/models/RawHostedRepositoryApiRequest.js +21 -19
- package/dist/esm/models/RawProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/ReadLdapServerXo.js +71 -76
- package/dist/esm/models/ReadOnlyState.js +15 -10
- package/dist/esm/models/RealmApiXO.js +13 -8
- package/dist/esm/models/ReplicationAttributes.js +13 -9
- package/dist/esm/models/RepositoryXO.js +19 -14
- package/dist/esm/models/Result.js +23 -18
- package/dist/esm/models/RoleXORequest.js +19 -14
- package/dist/esm/models/RoleXOResponse.js +23 -18
- package/dist/esm/models/RoutingRuleXO.js +17 -12
- package/dist/esm/models/RubyGemsGroupRepositoryApiRequest.js +16 -16
- package/dist/esm/models/RubyGemsHostedRepositoryApiRequest.js +19 -17
- package/dist/esm/models/RubyGemsProxyRepositoryApiRequest.js +27 -28
- package/dist/esm/models/S3BlobStoreApiAdvancedBucketConnection.js +17 -12
- package/dist/esm/models/S3BlobStoreApiBucket.js +17 -15
- package/dist/esm/models/S3BlobStoreApiBucketConfiguration.js +17 -13
- package/dist/esm/models/S3BlobStoreApiBucketSecurity.js +17 -12
- package/dist/esm/models/S3BlobStoreApiEncryption.js +13 -8
- package/dist/esm/models/S3BlobStoreApiModel.js +16 -13
- package/dist/esm/models/SamlConfigurationXO.js +27 -24
- package/dist/esm/models/ScriptResultXO.js +13 -8
- package/dist/esm/models/ScriptXO.js +15 -10
- package/dist/esm/models/SimpleApiGroupDeployRepository.js +15 -13
- package/dist/esm/models/SimpleApiGroupRepository.js +23 -21
- package/dist/esm/models/SimpleApiHostedRepository.js +19 -16
- package/dist/esm/models/SimpleApiProxyRepository.js +27 -27
- package/dist/esm/models/StackTraceElement.js +19 -14
- package/dist/esm/models/StorageAttributes.js +15 -12
- package/dist/esm/models/SupportZipGeneratorRequest.js +35 -30
- package/dist/esm/models/SupportZipXO.js +17 -12
- package/dist/esm/models/TagXO.js +17 -13
- package/dist/esm/models/TaskXO.js +25 -20
- package/dist/esm/models/Throwable.js +19 -14
- package/dist/esm/models/UpdateLdapServerXo.js +71 -77
- package/dist/esm/models/UploadComponentRequest.js +97 -92
- package/dist/esm/models/UploadDefinitionXO.js +17 -12
- package/dist/esm/models/UploadFieldDefinitionXO.js +19 -14
- package/dist/esm/models/UserTokensApiModel.js +13 -8
- package/dist/esm/models/YumAttributes.js +13 -9
- package/dist/esm/models/YumGroupRepositoryApiRequest.js +19 -18
- package/dist/esm/models/YumHostedApiRepository.js +21 -19
- package/dist/esm/models/YumHostedRepositoryApiRequest.js +21 -20
- package/dist/esm/models/YumProxyRepositoryApiRequest.js +29 -30
- package/dist/esm/models/YumSigningRepositoriesAttributes.js +13 -8
- package/dist/esm/runtime.d.ts +1 -0
- package/dist/esm/runtime.js +4 -0
- package/dist/models/AbstractApiRepository.js +19 -15
- package/dist/models/AnonymousAccessSettingsXO.js +15 -10
- package/dist/models/ApiCertificate.js +33 -28
- package/dist/models/ApiCreateUser.js +23 -19
- package/dist/models/ApiEmailConfiguration.js +33 -29
- package/dist/models/ApiEmailValidation.js +13 -8
- package/dist/models/ApiLicenseDetailsXO.js +27 -22
- package/dist/models/ApiPrivilege.js +17 -12
- package/dist/models/ApiPrivilegeApplicationRequest.js +17 -12
- package/dist/models/ApiPrivilegeRepositoryAdminRequest.js +19 -14
- package/dist/models/ApiPrivilegeRepositoryContentSelectorRequest.js +21 -16
- package/dist/models/ApiPrivilegeRepositoryViewRequest.js +19 -14
- package/dist/models/ApiPrivilegeScriptRequest.js +17 -12
- package/dist/models/ApiPrivilegeWildcardRequest.js +15 -10
- package/dist/models/ApiUser.js +27 -23
- package/dist/models/ApiUserSource.js +13 -8
- package/dist/models/AptHostedApiRepository.js +23 -22
- package/dist/models/AptHostedRepositoriesAttributes.js +11 -6
- package/dist/models/AptHostedRepositoryApiRequest.js +23 -23
- package/dist/models/AptProxyApiRepository.js +29 -30
- package/dist/models/AptProxyRepositoriesAttributes.js +13 -9
- package/dist/models/AptProxyRepositoryApiRequest.js +29 -31
- package/dist/models/AptSigningRepositoriesAttributes.js +13 -8
- package/dist/models/AssetXO.js +35 -30
- package/dist/models/AzureBlobStoreApiAuthentication.js +13 -9
- package/dist/models/AzureBlobStoreApiBucketConfiguration.js +14 -13
- package/dist/models/AzureBlobStoreApiModel.js +15 -12
- package/dist/models/AzureConnectionXO.js +17 -12
- package/dist/models/BaseTagXO.js +11 -6
- package/dist/models/BlobStoreApiSoftQuota.js +13 -8
- package/dist/models/BlobStoreQuotaResultXO.js +15 -10
- package/dist/models/BowerAttributes.js +10 -7
- package/dist/models/BowerGroupRepositoryApiRequest.js +16 -16
- package/dist/models/BowerHostedRepositoryApiRequest.js +19 -17
- package/dist/models/BowerProxyApiRepository.js +29 -29
- package/dist/models/BowerProxyRepositoryApiRequest.js +29 -30
- package/dist/models/CleanupPolicyAttributes.js +11 -6
- package/dist/models/CocoapodsProxyRepositoryApiRequest.js +27 -28
- package/dist/models/ComponentAttributes.js +11 -6
- package/dist/models/ComponentXO.js +23 -18
- package/dist/models/ConanProxyRepositoryApiRequest.js +27 -28
- package/dist/models/CondaProxyRepositoryApiRequest.js +27 -28
- package/dist/models/ContentSelectorApiCreateRequest.js +15 -10
- package/dist/models/ContentSelectorApiResponse.js +17 -12
- package/dist/models/ContentSelectorApiUpdateRequest.js +13 -8
- package/dist/models/CreateLdapServerXo.js +69 -75
- package/dist/models/CrowdApiXO.js +23 -20
- package/dist/models/DockerAttributes.js +19 -16
- package/dist/models/DockerGroupApiRepository.js +19 -18
- package/dist/models/DockerGroupRepositoryApiRequest.js +18 -19
- package/dist/models/DockerHostedApiRepository.js +21 -19
- package/dist/models/DockerHostedRepositoryApiRequest.js +21 -20
- package/dist/models/DockerHostedStorageAttributes.js +17 -15
- package/dist/models/DockerProxyApiRepository.js +31 -33
- package/dist/models/DockerProxyAttributes.js +17 -12
- package/dist/models/DockerProxyRepositoryApiRequest.js +31 -34
- package/dist/models/FileBlobStoreApiCreateRequest.js +15 -10
- package/dist/models/FileBlobStoreApiModel.js +13 -8
- package/dist/models/FileBlobStoreApiUpdateRequest.js +13 -8
- package/dist/models/GenericBlobStoreApiResponse.js +23 -18
- package/dist/models/GitLfsHostedRepositoryApiRequest.js +19 -17
- package/dist/models/GolangGroupRepositoryApiRequest.js +16 -16
- package/dist/models/GolangProxyRepositoryApiRequest.js +27 -28
- package/dist/models/GroupAttributes.js +11 -6
- package/dist/models/GroupBlobStoreApiCreateRequest.js +17 -12
- package/dist/models/GroupBlobStoreApiModel.js +15 -10
- package/dist/models/GroupBlobStoreApiResponse.js +17 -12
- package/dist/models/GroupBlobStoreApiUpdateRequest.js +15 -10
- package/dist/models/GroupDeployAttributes.js +13 -8
- package/dist/models/HelmHostedRepositoryApiRequest.js +19 -17
- package/dist/models/HelmProxyRepositoryApiRequest.js +27 -28
- package/dist/models/HostedStorageAttributes.js +14 -13
- package/dist/models/HttpClientAttributes.js +17 -14
- package/dist/models/HttpClientAttributesWithPreemptiveAuth.js +17 -14
- package/dist/models/HttpClientConnectionAttributes.js +21 -16
- package/dist/models/HttpClientConnectionAuthenticationAttributes.js +21 -16
- package/dist/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.js +21 -16
- package/dist/models/IqConnectionVerificationXo.js +13 -8
- package/dist/models/IqConnectionXo.js +29 -25
- package/dist/models/MavenAttributes.js +15 -10
- package/dist/models/MavenGroupRepositoryApiRequest.js +16 -16
- package/dist/models/MavenHostedApiRepository.js +27 -25
- package/dist/models/MavenHostedRepositoryApiRequest.js +21 -20
- package/dist/models/MavenProxyApiRepository.js +35 -36
- package/dist/models/MavenProxyRepositoryApiRequest.js +29 -31
- package/dist/models/NegativeCacheAttributes.js +12 -10
- package/dist/models/NpmAttributes.js +10 -7
- package/dist/models/NpmGroupRepositoryApiRequest.js +16 -16
- package/dist/models/NpmHostedRepositoryApiRequest.js +19 -17
- package/dist/models/NpmProxyApiRepository.js +29 -29
- package/dist/models/NpmProxyRepositoryApiRequest.js +29 -30
- package/dist/models/NugetAttributes.js +13 -8
- package/dist/models/NugetGroupRepositoryApiRequest.js +16 -16
- package/dist/models/NugetHostedRepositoryApiRequest.js +19 -17
- package/dist/models/NugetProxyApiRepository.js +29 -30
- package/dist/models/NugetProxyRepositoryApiRequest.js +29 -31
- package/dist/models/P2ProxyRepositoryApiRequest.js +27 -28
- package/dist/models/Page.js +13 -8
- package/dist/models/PageAssetXO.js +13 -8
- package/dist/models/PageComponentXO.js +13 -8
- package/dist/models/PageTagXO.js +13 -8
- package/dist/models/PageTaskXO.js +13 -8
- package/dist/models/ProxyAttributes.js +15 -12
- package/dist/models/PyPiProxyAttributes.js +10 -7
- package/dist/models/PypiGroupRepositoryApiRequest.js +16 -16
- package/dist/models/PypiHostedRepositoryApiRequest.js +19 -17
- package/dist/models/PypiProxyRepositoryApiRequest.js +29 -30
- package/dist/models/RGroupRepositoryApiRequest.js +16 -16
- package/dist/models/RHostedRepositoryApiRequest.js +19 -17
- package/dist/models/RProxyRepositoryApiRequest.js +27 -28
- package/dist/models/RawAttributes.js +11 -6
- package/dist/models/RawGroupRepositoryApiRequest.js +19 -18
- package/dist/models/RawHostedRepositoryApiRequest.js +21 -19
- package/dist/models/RawProxyRepositoryApiRequest.js +29 -30
- package/dist/models/ReadLdapServerXo.js +71 -76
- package/dist/models/ReadOnlyState.js +15 -10
- package/dist/models/RealmApiXO.js +13 -8
- package/dist/models/ReplicationAttributes.js +13 -9
- package/dist/models/RepositoryXO.js +19 -14
- package/dist/models/Result.js +23 -18
- package/dist/models/RoleXORequest.js +19 -14
- package/dist/models/RoleXOResponse.js +23 -18
- package/dist/models/RoutingRuleXO.js +17 -12
- package/dist/models/RubyGemsGroupRepositoryApiRequest.js +16 -16
- package/dist/models/RubyGemsHostedRepositoryApiRequest.js +19 -17
- package/dist/models/RubyGemsProxyRepositoryApiRequest.js +27 -28
- package/dist/models/S3BlobStoreApiAdvancedBucketConnection.js +17 -12
- package/dist/models/S3BlobStoreApiBucket.js +17 -15
- package/dist/models/S3BlobStoreApiBucketConfiguration.js +17 -13
- package/dist/models/S3BlobStoreApiBucketSecurity.js +17 -12
- package/dist/models/S3BlobStoreApiEncryption.js +13 -8
- package/dist/models/S3BlobStoreApiModel.js +16 -13
- package/dist/models/SamlConfigurationXO.js +27 -24
- package/dist/models/ScriptResultXO.js +13 -8
- package/dist/models/ScriptXO.js +15 -10
- package/dist/models/SimpleApiGroupDeployRepository.js +15 -13
- package/dist/models/SimpleApiGroupRepository.js +23 -21
- package/dist/models/SimpleApiHostedRepository.js +19 -16
- package/dist/models/SimpleApiProxyRepository.js +27 -27
- package/dist/models/StackTraceElement.js +19 -14
- package/dist/models/StorageAttributes.js +15 -12
- package/dist/models/SupportZipGeneratorRequest.js +35 -30
- package/dist/models/SupportZipXO.js +17 -12
- package/dist/models/TagXO.js +17 -13
- package/dist/models/TaskXO.js +25 -20
- package/dist/models/Throwable.js +19 -14
- package/dist/models/UpdateLdapServerXo.js +71 -77
- package/dist/models/UploadComponentRequest.js +97 -92
- package/dist/models/UploadDefinitionXO.js +17 -12
- package/dist/models/UploadFieldDefinitionXO.js +19 -14
- package/dist/models/UserTokensApiModel.js +13 -8
- package/dist/models/YumAttributes.js +13 -9
- package/dist/models/YumGroupRepositoryApiRequest.js +19 -18
- package/dist/models/YumHostedApiRepository.js +21 -19
- package/dist/models/YumHostedRepositoryApiRequest.js +21 -20
- package/dist/models/YumProxyRepositoryApiRequest.js +29 -30
- package/dist/models/YumSigningRepositoriesAttributes.js +13 -8
- package/dist/runtime.d.ts +1 -0
- package/dist/runtime.js +6 -1
- package/package.json +1 -1
- package/src/apis/AssetsApi.ts +12 -21
- package/src/apis/AzureBlobStoreApi.ts +1 -1
- package/src/apis/BlobStoreApi.ts +43 -79
- package/src/apis/ComponentsApi.ts +104 -116
- package/src/apis/ContentSelectorsApi.ts +11 -20
- package/src/apis/EmailApi.ts +6 -12
- package/src/apis/FormatsApi.ts +3 -6
- package/src/apis/LifecycleApi.ts +2 -2
- package/src/apis/ManageSonatypeRepositoryFirewallConfigurationApi.ts +1 -1
- package/src/apis/ProductLicensingApi.ts +1 -1
- package/src/apis/RepositoryManagementApi.ts +346 -610
- package/src/apis/RoutingRulesApi.ts +15 -30
- package/src/apis/ScriptApi.ts +15 -27
- package/src/apis/SearchApi.ts +322 -322
- package/src/apis/SecurityAtlassianCrowdApi.ts +2 -2
- package/src/apis/SecurityCertificatesApi.ts +12 -18
- package/src/apis/SecurityManagementAnonymousAccessApi.ts +1 -1
- package/src/apis/SecurityManagementLDAPApi.ts +12 -21
- package/src/apis/SecurityManagementPrivilegesApi.ts +36 -60
- package/src/apis/SecurityManagementRealmsApi.ts +1 -1
- package/src/apis/SecurityManagementRolesApi.ts +19 -34
- package/src/apis/SecurityManagementSAMLApi.ts +1 -1
- package/src/apis/SecurityManagementUserTokensApi.ts +1 -1
- package/src/apis/SecurityManagementUsersApi.ts +21 -36
- package/src/apis/StagingApi.ts +203 -206
- package/src/apis/SupportApi.ts +2 -2
- package/src/apis/TagsApi.ts +221 -236
- package/src/apis/TasksApi.ts +11 -20
- package/src/models/AbstractApiRepository.ts +20 -15
- package/src/models/AnonymousAccessSettingsXO.ts +16 -11
- package/src/models/ApiCertificate.ts +34 -29
- package/src/models/ApiCreateUser.ts +24 -19
- package/src/models/ApiEmailConfiguration.ts +34 -29
- package/src/models/ApiEmailValidation.ts +14 -9
- package/src/models/ApiLicenseDetailsXO.ts +28 -23
- package/src/models/ApiPrivilege.ts +18 -13
- package/src/models/ApiPrivilegeApplicationRequest.ts +18 -13
- package/src/models/ApiPrivilegeRepositoryAdminRequest.ts +20 -15
- package/src/models/ApiPrivilegeRepositoryContentSelectorRequest.ts +22 -17
- package/src/models/ApiPrivilegeRepositoryViewRequest.ts +20 -15
- package/src/models/ApiPrivilegeScriptRequest.ts +18 -13
- package/src/models/ApiPrivilegeWildcardRequest.ts +16 -11
- package/src/models/ApiUser.ts +28 -23
- package/src/models/ApiUserSource.ts +14 -9
- package/src/models/AptHostedApiRepository.ts +24 -19
- package/src/models/AptHostedRepositoriesAttributes.ts +12 -7
- package/src/models/AptHostedRepositoryApiRequest.ts +24 -19
- package/src/models/AptProxyApiRepository.ts +30 -25
- package/src/models/AptProxyRepositoriesAttributes.ts +14 -9
- package/src/models/AptProxyRepositoryApiRequest.ts +30 -25
- package/src/models/AptSigningRepositoriesAttributes.ts +14 -9
- package/src/models/AssetXO.ts +36 -31
- package/src/models/AzureBlobStoreApiAuthentication.ts +14 -9
- package/src/models/AzureBlobStoreApiBucketConfiguration.ts +16 -11
- package/src/models/AzureBlobStoreApiModel.ts +16 -11
- package/src/models/AzureConnectionXO.ts +18 -13
- package/src/models/BaseTagXO.ts +12 -7
- package/src/models/BlobStoreApiSoftQuota.ts +14 -9
- package/src/models/BlobStoreQuotaResultXO.ts +16 -11
- package/src/models/BowerAttributes.ts +12 -7
- package/src/models/BowerGroupRepositoryApiRequest.ts +18 -13
- package/src/models/BowerHostedRepositoryApiRequest.ts +20 -15
- package/src/models/BowerProxyApiRepository.ts +30 -25
- package/src/models/BowerProxyRepositoryApiRequest.ts +30 -25
- package/src/models/CleanupPolicyAttributes.ts +12 -7
- package/src/models/CocoapodsProxyRepositoryApiRequest.ts +28 -23
- package/src/models/ComponentAttributes.ts +12 -7
- package/src/models/ComponentXO.ts +24 -19
- package/src/models/ConanProxyRepositoryApiRequest.ts +28 -23
- package/src/models/CondaProxyRepositoryApiRequest.ts +28 -23
- package/src/models/ContentSelectorApiCreateRequest.ts +16 -11
- package/src/models/ContentSelectorApiResponse.ts +18 -13
- package/src/models/ContentSelectorApiUpdateRequest.ts +14 -9
- package/src/models/CreateLdapServerXo.ts +70 -65
- package/src/models/CrowdApiXO.ts +24 -19
- package/src/models/DockerAttributes.ts +20 -15
- package/src/models/DockerGroupApiRepository.ts +20 -15
- package/src/models/DockerGroupRepositoryApiRequest.ts +20 -15
- package/src/models/DockerHostedApiRepository.ts +22 -17
- package/src/models/DockerHostedRepositoryApiRequest.ts +22 -17
- package/src/models/DockerHostedStorageAttributes.ts +18 -13
- package/src/models/DockerProxyApiRepository.ts +32 -27
- package/src/models/DockerProxyAttributes.ts +18 -13
- package/src/models/DockerProxyRepositoryApiRequest.ts +32 -27
- package/src/models/FileBlobStoreApiCreateRequest.ts +16 -11
- package/src/models/FileBlobStoreApiModel.ts +14 -9
- package/src/models/FileBlobStoreApiUpdateRequest.ts +14 -9
- package/src/models/GenericBlobStoreApiResponse.ts +24 -19
- package/src/models/GitLfsHostedRepositoryApiRequest.ts +20 -15
- package/src/models/GolangGroupRepositoryApiRequest.ts +18 -13
- package/src/models/GolangProxyRepositoryApiRequest.ts +28 -23
- package/src/models/GroupAttributes.ts +12 -7
- package/src/models/GroupBlobStoreApiCreateRequest.ts +18 -13
- package/src/models/GroupBlobStoreApiModel.ts +16 -11
- package/src/models/GroupBlobStoreApiResponse.ts +18 -13
- package/src/models/GroupBlobStoreApiUpdateRequest.ts +16 -11
- package/src/models/GroupDeployAttributes.ts +14 -9
- package/src/models/HelmHostedRepositoryApiRequest.ts +20 -15
- package/src/models/HelmProxyRepositoryApiRequest.ts +28 -23
- package/src/models/HostedStorageAttributes.ts +16 -11
- package/src/models/HttpClientAttributes.ts +18 -13
- package/src/models/HttpClientAttributesWithPreemptiveAuth.ts +18 -13
- package/src/models/HttpClientConnectionAttributes.ts +22 -17
- package/src/models/HttpClientConnectionAuthenticationAttributes.ts +22 -17
- package/src/models/HttpClientConnectionAuthenticationAttributesWithPreemptive.ts +22 -17
- package/src/models/IqConnectionVerificationXo.ts +14 -9
- package/src/models/IqConnectionXo.ts +30 -25
- package/src/models/MavenAttributes.ts +16 -11
- package/src/models/MavenGroupRepositoryApiRequest.ts +18 -13
- package/src/models/MavenHostedApiRepository.ts +28 -23
- package/src/models/MavenHostedRepositoryApiRequest.ts +22 -17
- package/src/models/MavenProxyApiRepository.ts +36 -31
- package/src/models/MavenProxyRepositoryApiRequest.ts +30 -25
- package/src/models/NegativeCacheAttributes.ts +14 -9
- package/src/models/NpmAttributes.ts +12 -7
- package/src/models/NpmGroupRepositoryApiRequest.ts +18 -13
- package/src/models/NpmHostedRepositoryApiRequest.ts +20 -15
- package/src/models/NpmProxyApiRepository.ts +30 -25
- package/src/models/NpmProxyRepositoryApiRequest.ts +30 -25
- package/src/models/NugetAttributes.ts +14 -9
- package/src/models/NugetGroupRepositoryApiRequest.ts +18 -13
- package/src/models/NugetHostedRepositoryApiRequest.ts +20 -15
- package/src/models/NugetProxyApiRepository.ts +30 -25
- package/src/models/NugetProxyRepositoryApiRequest.ts +30 -25
- package/src/models/P2ProxyRepositoryApiRequest.ts +28 -23
- package/src/models/Page.ts +14 -9
- package/src/models/PageAssetXO.ts +14 -9
- package/src/models/PageComponentXO.ts +14 -9
- package/src/models/PageTagXO.ts +14 -9
- package/src/models/PageTaskXO.ts +14 -9
- package/src/models/ProxyAttributes.ts +16 -11
- package/src/models/PyPiProxyAttributes.ts +12 -7
- package/src/models/PypiGroupRepositoryApiRequest.ts +18 -13
- package/src/models/PypiHostedRepositoryApiRequest.ts +20 -15
- package/src/models/PypiProxyRepositoryApiRequest.ts +30 -25
- package/src/models/RGroupRepositoryApiRequest.ts +18 -13
- package/src/models/RHostedRepositoryApiRequest.ts +20 -15
- package/src/models/RProxyRepositoryApiRequest.ts +28 -23
- package/src/models/RawAttributes.ts +12 -7
- package/src/models/RawGroupRepositoryApiRequest.ts +20 -15
- package/src/models/RawHostedRepositoryApiRequest.ts +22 -17
- package/src/models/RawProxyRepositoryApiRequest.ts +30 -25
- package/src/models/ReadLdapServerXo.ts +72 -67
- package/src/models/ReadOnlyState.ts +16 -11
- package/src/models/RealmApiXO.ts +14 -9
- package/src/models/ReplicationAttributes.ts +14 -9
- package/src/models/RepositoryXO.ts +20 -15
- package/src/models/Result.ts +24 -19
- package/src/models/RoleXORequest.ts +20 -15
- package/src/models/RoleXOResponse.ts +24 -19
- package/src/models/RoutingRuleXO.ts +18 -13
- package/src/models/RubyGemsGroupRepositoryApiRequest.ts +18 -13
- package/src/models/RubyGemsHostedRepositoryApiRequest.ts +20 -15
- package/src/models/RubyGemsProxyRepositoryApiRequest.ts +28 -23
- package/src/models/S3BlobStoreApiAdvancedBucketConnection.ts +18 -13
- package/src/models/S3BlobStoreApiBucket.ts +18 -13
- package/src/models/S3BlobStoreApiBucketConfiguration.ts +18 -13
- package/src/models/S3BlobStoreApiBucketSecurity.ts +18 -13
- package/src/models/S3BlobStoreApiEncryption.ts +14 -9
- package/src/models/S3BlobStoreApiModel.ts +17 -12
- package/src/models/SamlConfigurationXO.ts +28 -23
- package/src/models/ScriptResultXO.ts +14 -9
- package/src/models/ScriptXO.ts +16 -11
- package/src/models/SimpleApiGroupDeployRepository.ts +16 -11
- package/src/models/SimpleApiGroupRepository.ts +24 -19
- package/src/models/SimpleApiHostedRepository.ts +20 -15
- package/src/models/SimpleApiProxyRepository.ts +28 -23
- package/src/models/StackTraceElement.ts +20 -15
- package/src/models/StorageAttributes.ts +16 -11
- package/src/models/SupportZipGeneratorRequest.ts +36 -31
- package/src/models/SupportZipXO.ts +18 -13
- package/src/models/TagXO.ts +18 -13
- package/src/models/TaskXO.ts +26 -21
- package/src/models/Throwable.ts +20 -15
- package/src/models/UpdateLdapServerXo.ts +72 -67
- package/src/models/UploadComponentRequest.ts +98 -93
- package/src/models/UploadDefinitionXO.ts +18 -13
- package/src/models/UploadFieldDefinitionXO.ts +20 -15
- package/src/models/UserTokensApiModel.ts +14 -9
- package/src/models/YumAttributes.ts +14 -9
- package/src/models/YumGroupRepositoryApiRequest.ts +20 -15
- package/src/models/YumHostedApiRepository.ts +22 -17
- package/src/models/YumHostedRepositoryApiRequest.ts +22 -17
- package/src/models/YumProxyRepositoryApiRequest.ts +30 -25
- package/src/models/YumSigningRepositoriesAttributes.ts +14 -9
- package/src/runtime.ts +5 -0
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
17
17
|
import {
|
|
18
18
|
CleanupPolicyAttributesFromJSON,
|
|
@@ -86,10 +86,12 @@ export interface DockerHostedApiRepository {
|
|
|
86
86
|
* Check if a given object implements the DockerHostedApiRepository interface.
|
|
87
87
|
*/
|
|
88
88
|
export function instanceOfDockerHostedApiRepository(value: object): boolean {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
let isInstance = true;
|
|
90
|
+
isInstance = isInstance && "docker" in value;
|
|
91
|
+
isInstance = isInstance && "online" in value;
|
|
92
|
+
isInstance = isInstance && "storage" in value;
|
|
93
|
+
|
|
94
|
+
return isInstance;
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
export function DockerHostedApiRepositoryFromJSON(json: any): DockerHostedApiRepository {
|
|
@@ -97,32 +99,35 @@ export function DockerHostedApiRepositoryFromJSON(json: any): DockerHostedApiRep
|
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
export function DockerHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DockerHostedApiRepository {
|
|
100
|
-
if (json
|
|
102
|
+
if ((json === undefined) || (json === null)) {
|
|
101
103
|
return json;
|
|
102
104
|
}
|
|
103
105
|
return {
|
|
104
106
|
|
|
105
|
-
'cleanup': json
|
|
106
|
-
'component': json
|
|
107
|
+
'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
108
|
+
'component': !exists(json, 'component') ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
107
109
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
108
|
-
'name': json
|
|
110
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
109
111
|
'online': json['online'],
|
|
110
112
|
'storage': HostedStorageAttributesFromJSON(json['storage']),
|
|
111
113
|
};
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
export function DockerHostedApiRepositoryToJSON(value?: DockerHostedApiRepository | null): any {
|
|
115
|
-
if (value
|
|
116
|
-
return
|
|
117
|
+
if (value === undefined) {
|
|
118
|
+
return undefined;
|
|
119
|
+
}
|
|
120
|
+
if (value === null) {
|
|
121
|
+
return null;
|
|
117
122
|
}
|
|
118
123
|
return {
|
|
119
124
|
|
|
120
|
-
'cleanup': CleanupPolicyAttributesToJSON(value
|
|
121
|
-
'component': ComponentAttributesToJSON(value
|
|
122
|
-
'docker': DockerAttributesToJSON(value
|
|
123
|
-
'name': value
|
|
124
|
-
'online': value
|
|
125
|
-
'storage': HostedStorageAttributesToJSON(value
|
|
125
|
+
'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
|
|
126
|
+
'component': ComponentAttributesToJSON(value.component),
|
|
127
|
+
'docker': DockerAttributesToJSON(value.docker),
|
|
128
|
+
'name': value.name,
|
|
129
|
+
'online': value.online,
|
|
130
|
+
'storage': HostedStorageAttributesToJSON(value.storage),
|
|
126
131
|
};
|
|
127
132
|
}
|
|
128
133
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
17
17
|
import {
|
|
18
18
|
CleanupPolicyAttributesFromJSON,
|
|
@@ -86,11 +86,13 @@ export interface DockerHostedRepositoryApiRequest {
|
|
|
86
86
|
* Check if a given object implements the DockerHostedRepositoryApiRequest interface.
|
|
87
87
|
*/
|
|
88
88
|
export function instanceOfDockerHostedRepositoryApiRequest(value: object): boolean {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
let isInstance = true;
|
|
90
|
+
isInstance = isInstance && "docker" in value;
|
|
91
|
+
isInstance = isInstance && "name" in value;
|
|
92
|
+
isInstance = isInstance && "online" in value;
|
|
93
|
+
isInstance = isInstance && "storage" in value;
|
|
94
|
+
|
|
95
|
+
return isInstance;
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
export function DockerHostedRepositoryApiRequestFromJSON(json: any): DockerHostedRepositoryApiRequest {
|
|
@@ -98,13 +100,13 @@ export function DockerHostedRepositoryApiRequestFromJSON(json: any): DockerHoste
|
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
export function DockerHostedRepositoryApiRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DockerHostedRepositoryApiRequest {
|
|
101
|
-
if (json
|
|
103
|
+
if ((json === undefined) || (json === null)) {
|
|
102
104
|
return json;
|
|
103
105
|
}
|
|
104
106
|
return {
|
|
105
107
|
|
|
106
|
-
'cleanup': json
|
|
107
|
-
'component': json
|
|
108
|
+
'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
109
|
+
'component': !exists(json, 'component') ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
108
110
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
109
111
|
'name': json['name'],
|
|
110
112
|
'online': json['online'],
|
|
@@ -113,17 +115,20 @@ export function DockerHostedRepositoryApiRequestFromJSONTyped(json: any, ignoreD
|
|
|
113
115
|
}
|
|
114
116
|
|
|
115
117
|
export function DockerHostedRepositoryApiRequestToJSON(value?: DockerHostedRepositoryApiRequest | null): any {
|
|
116
|
-
if (value
|
|
117
|
-
return
|
|
118
|
+
if (value === undefined) {
|
|
119
|
+
return undefined;
|
|
120
|
+
}
|
|
121
|
+
if (value === null) {
|
|
122
|
+
return null;
|
|
118
123
|
}
|
|
119
124
|
return {
|
|
120
125
|
|
|
121
|
-
'cleanup': CleanupPolicyAttributesToJSON(value
|
|
122
|
-
'component': ComponentAttributesToJSON(value
|
|
123
|
-
'docker': DockerAttributesToJSON(value
|
|
124
|
-
'name': value
|
|
125
|
-
'online': value
|
|
126
|
-
'storage': DockerHostedStorageAttributesToJSON(value
|
|
126
|
+
'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
|
|
127
|
+
'component': ComponentAttributesToJSON(value.component),
|
|
128
|
+
'docker': DockerAttributesToJSON(value.docker),
|
|
129
|
+
'name': value.name,
|
|
130
|
+
'online': value.online,
|
|
131
|
+
'storage': DockerHostedStorageAttributesToJSON(value.storage),
|
|
127
132
|
};
|
|
128
133
|
}
|
|
129
134
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -61,10 +61,12 @@ export type DockerHostedStorageAttributesWritePolicyEnum = typeof DockerHostedSt
|
|
|
61
61
|
* Check if a given object implements the DockerHostedStorageAttributes interface.
|
|
62
62
|
*/
|
|
63
63
|
export function instanceOfDockerHostedStorageAttributes(value: object): boolean {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
let isInstance = true;
|
|
65
|
+
isInstance = isInstance && "blobStoreName" in value;
|
|
66
|
+
isInstance = isInstance && "strictContentTypeValidation" in value;
|
|
67
|
+
isInstance = isInstance && "writePolicy" in value;
|
|
68
|
+
|
|
69
|
+
return isInstance;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
export function DockerHostedStorageAttributesFromJSON(json: any): DockerHostedStorageAttributes {
|
|
@@ -72,28 +74,31 @@ export function DockerHostedStorageAttributesFromJSON(json: any): DockerHostedSt
|
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
export function DockerHostedStorageAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): DockerHostedStorageAttributes {
|
|
75
|
-
if (json
|
|
77
|
+
if ((json === undefined) || (json === null)) {
|
|
76
78
|
return json;
|
|
77
79
|
}
|
|
78
80
|
return {
|
|
79
81
|
|
|
80
82
|
'blobStoreName': json['blobStoreName'],
|
|
81
|
-
'latestPolicy': json
|
|
83
|
+
'latestPolicy': !exists(json, 'latestPolicy') ? undefined : json['latestPolicy'],
|
|
82
84
|
'strictContentTypeValidation': json['strictContentTypeValidation'],
|
|
83
85
|
'writePolicy': json['writePolicy'],
|
|
84
86
|
};
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
export function DockerHostedStorageAttributesToJSON(value?: DockerHostedStorageAttributes | null): any {
|
|
88
|
-
if (value
|
|
89
|
-
return
|
|
90
|
+
if (value === undefined) {
|
|
91
|
+
return undefined;
|
|
92
|
+
}
|
|
93
|
+
if (value === null) {
|
|
94
|
+
return null;
|
|
90
95
|
}
|
|
91
96
|
return {
|
|
92
97
|
|
|
93
|
-
'blobStoreName': value
|
|
94
|
-
'latestPolicy': value
|
|
95
|
-
'strictContentTypeValidation': value
|
|
96
|
-
'writePolicy': value
|
|
98
|
+
'blobStoreName': value.blobStoreName,
|
|
99
|
+
'latestPolicy': value.latestPolicy,
|
|
100
|
+
'strictContentTypeValidation': value.strictContentTypeValidation,
|
|
101
|
+
'writePolicy': value.writePolicy,
|
|
97
102
|
};
|
|
98
103
|
}
|
|
99
104
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
17
17
|
import {
|
|
18
18
|
CleanupPolicyAttributesFromJSON,
|
|
@@ -140,14 +140,16 @@ export interface DockerProxyApiRepository {
|
|
|
140
140
|
* Check if a given object implements the DockerProxyApiRepository interface.
|
|
141
141
|
*/
|
|
142
142
|
export function instanceOfDockerProxyApiRepository(value: object): boolean {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
143
|
+
let isInstance = true;
|
|
144
|
+
isInstance = isInstance && "docker" in value;
|
|
145
|
+
isInstance = isInstance && "dockerProxy" in value;
|
|
146
|
+
isInstance = isInstance && "httpClient" in value;
|
|
147
|
+
isInstance = isInstance && "negativeCache" in value;
|
|
148
|
+
isInstance = isInstance && "online" in value;
|
|
149
|
+
isInstance = isInstance && "proxy" in value;
|
|
150
|
+
isInstance = isInstance && "storage" in value;
|
|
151
|
+
|
|
152
|
+
return isInstance;
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
export function DockerProxyApiRepositoryFromJSON(json: any): DockerProxyApiRepository {
|
|
@@ -155,42 +157,45 @@ export function DockerProxyApiRepositoryFromJSON(json: any): DockerProxyApiRepos
|
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
export function DockerProxyApiRepositoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DockerProxyApiRepository {
|
|
158
|
-
if (json
|
|
160
|
+
if ((json === undefined) || (json === null)) {
|
|
159
161
|
return json;
|
|
160
162
|
}
|
|
161
163
|
return {
|
|
162
164
|
|
|
163
|
-
'cleanup': json
|
|
165
|
+
'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
164
166
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
165
167
|
'dockerProxy': DockerProxyAttributesFromJSON(json['dockerProxy']),
|
|
166
168
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
167
|
-
'name': json
|
|
169
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
168
170
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
169
171
|
'online': json['online'],
|
|
170
172
|
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
171
|
-
'replication': json
|
|
172
|
-
'routingRuleName': json
|
|
173
|
+
'replication': !exists(json, 'replication') ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
174
|
+
'routingRuleName': !exists(json, 'routingRuleName') ? undefined : json['routingRuleName'],
|
|
173
175
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
174
176
|
};
|
|
175
177
|
}
|
|
176
178
|
|
|
177
179
|
export function DockerProxyApiRepositoryToJSON(value?: DockerProxyApiRepository | null): any {
|
|
178
|
-
if (value
|
|
179
|
-
return
|
|
180
|
+
if (value === undefined) {
|
|
181
|
+
return undefined;
|
|
182
|
+
}
|
|
183
|
+
if (value === null) {
|
|
184
|
+
return null;
|
|
180
185
|
}
|
|
181
186
|
return {
|
|
182
187
|
|
|
183
|
-
'cleanup': CleanupPolicyAttributesToJSON(value
|
|
184
|
-
'docker': DockerAttributesToJSON(value
|
|
185
|
-
'dockerProxy': DockerProxyAttributesToJSON(value
|
|
186
|
-
'httpClient': HttpClientAttributesToJSON(value
|
|
187
|
-
'name': value
|
|
188
|
-
'negativeCache': NegativeCacheAttributesToJSON(value
|
|
189
|
-
'online': value
|
|
190
|
-
'proxy': ProxyAttributesToJSON(value
|
|
191
|
-
'replication': ReplicationAttributesToJSON(value
|
|
192
|
-
'routingRuleName': value
|
|
193
|
-
'storage': StorageAttributesToJSON(value
|
|
188
|
+
'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
|
|
189
|
+
'docker': DockerAttributesToJSON(value.docker),
|
|
190
|
+
'dockerProxy': DockerProxyAttributesToJSON(value.dockerProxy),
|
|
191
|
+
'httpClient': HttpClientAttributesToJSON(value.httpClient),
|
|
192
|
+
'name': value.name,
|
|
193
|
+
'negativeCache': NegativeCacheAttributesToJSON(value.negativeCache),
|
|
194
|
+
'online': value.online,
|
|
195
|
+
'proxy': ProxyAttributesToJSON(value.proxy),
|
|
196
|
+
'replication': ReplicationAttributesToJSON(value.replication),
|
|
197
|
+
'routingRuleName': value.routingRuleName,
|
|
198
|
+
'storage': StorageAttributesToJSON(value.storage),
|
|
194
199
|
};
|
|
195
200
|
}
|
|
196
201
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -61,7 +61,9 @@ export type DockerProxyAttributesIndexTypeEnum = typeof DockerProxyAttributesInd
|
|
|
61
61
|
* Check if a given object implements the DockerProxyAttributes interface.
|
|
62
62
|
*/
|
|
63
63
|
export function instanceOfDockerProxyAttributes(value: object): boolean {
|
|
64
|
-
|
|
64
|
+
let isInstance = true;
|
|
65
|
+
|
|
66
|
+
return isInstance;
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
export function DockerProxyAttributesFromJSON(json: any): DockerProxyAttributes {
|
|
@@ -69,28 +71,31 @@ export function DockerProxyAttributesFromJSON(json: any): DockerProxyAttributes
|
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
export function DockerProxyAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): DockerProxyAttributes {
|
|
72
|
-
if (json
|
|
74
|
+
if ((json === undefined) || (json === null)) {
|
|
73
75
|
return json;
|
|
74
76
|
}
|
|
75
77
|
return {
|
|
76
78
|
|
|
77
|
-
'cacheForeignLayers': json
|
|
78
|
-
'foreignLayerUrlWhitelist': json
|
|
79
|
-
'indexType': json
|
|
80
|
-
'indexUrl': json
|
|
79
|
+
'cacheForeignLayers': !exists(json, 'cacheForeignLayers') ? undefined : json['cacheForeignLayers'],
|
|
80
|
+
'foreignLayerUrlWhitelist': !exists(json, 'foreignLayerUrlWhitelist') ? undefined : json['foreignLayerUrlWhitelist'],
|
|
81
|
+
'indexType': !exists(json, 'indexType') ? undefined : json['indexType'],
|
|
82
|
+
'indexUrl': !exists(json, 'indexUrl') ? undefined : json['indexUrl'],
|
|
81
83
|
};
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
export function DockerProxyAttributesToJSON(value?: DockerProxyAttributes | null): any {
|
|
85
|
-
if (value
|
|
86
|
-
return
|
|
87
|
+
if (value === undefined) {
|
|
88
|
+
return undefined;
|
|
89
|
+
}
|
|
90
|
+
if (value === null) {
|
|
91
|
+
return null;
|
|
87
92
|
}
|
|
88
93
|
return {
|
|
89
94
|
|
|
90
|
-
'cacheForeignLayers': value
|
|
91
|
-
'foreignLayerUrlWhitelist': value
|
|
92
|
-
'indexType': value
|
|
93
|
-
'indexUrl': value
|
|
95
|
+
'cacheForeignLayers': value.cacheForeignLayers,
|
|
96
|
+
'foreignLayerUrlWhitelist': value.foreignLayerUrlWhitelist,
|
|
97
|
+
'indexType': value.indexType,
|
|
98
|
+
'indexUrl': value.indexUrl,
|
|
94
99
|
};
|
|
95
100
|
}
|
|
96
101
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import type { CleanupPolicyAttributes } from './CleanupPolicyAttributes';
|
|
17
17
|
import {
|
|
18
18
|
CleanupPolicyAttributesFromJSON,
|
|
@@ -140,15 +140,17 @@ export interface DockerProxyRepositoryApiRequest {
|
|
|
140
140
|
* Check if a given object implements the DockerProxyRepositoryApiRequest interface.
|
|
141
141
|
*/
|
|
142
142
|
export function instanceOfDockerProxyRepositoryApiRequest(value: object): boolean {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
143
|
+
let isInstance = true;
|
|
144
|
+
isInstance = isInstance && "docker" in value;
|
|
145
|
+
isInstance = isInstance && "dockerProxy" in value;
|
|
146
|
+
isInstance = isInstance && "httpClient" in value;
|
|
147
|
+
isInstance = isInstance && "name" in value;
|
|
148
|
+
isInstance = isInstance && "negativeCache" in value;
|
|
149
|
+
isInstance = isInstance && "online" in value;
|
|
150
|
+
isInstance = isInstance && "proxy" in value;
|
|
151
|
+
isInstance = isInstance && "storage" in value;
|
|
152
|
+
|
|
153
|
+
return isInstance;
|
|
152
154
|
}
|
|
153
155
|
|
|
154
156
|
export function DockerProxyRepositoryApiRequestFromJSON(json: any): DockerProxyRepositoryApiRequest {
|
|
@@ -156,12 +158,12 @@ export function DockerProxyRepositoryApiRequestFromJSON(json: any): DockerProxyR
|
|
|
156
158
|
}
|
|
157
159
|
|
|
158
160
|
export function DockerProxyRepositoryApiRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DockerProxyRepositoryApiRequest {
|
|
159
|
-
if (json
|
|
161
|
+
if ((json === undefined) || (json === null)) {
|
|
160
162
|
return json;
|
|
161
163
|
}
|
|
162
164
|
return {
|
|
163
165
|
|
|
164
|
-
'cleanup': json
|
|
166
|
+
'cleanup': !exists(json, 'cleanup') ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
165
167
|
'docker': DockerAttributesFromJSON(json['docker']),
|
|
166
168
|
'dockerProxy': DockerProxyAttributesFromJSON(json['dockerProxy']),
|
|
167
169
|
'httpClient': HttpClientAttributesFromJSON(json['httpClient']),
|
|
@@ -169,29 +171,32 @@ export function DockerProxyRepositoryApiRequestFromJSONTyped(json: any, ignoreDi
|
|
|
169
171
|
'negativeCache': NegativeCacheAttributesFromJSON(json['negativeCache']),
|
|
170
172
|
'online': json['online'],
|
|
171
173
|
'proxy': ProxyAttributesFromJSON(json['proxy']),
|
|
172
|
-
'replication': json
|
|
173
|
-
'routingRule': json
|
|
174
|
+
'replication': !exists(json, 'replication') ? undefined : ReplicationAttributesFromJSON(json['replication']),
|
|
175
|
+
'routingRule': !exists(json, 'routingRule') ? undefined : json['routingRule'],
|
|
174
176
|
'storage': StorageAttributesFromJSON(json['storage']),
|
|
175
177
|
};
|
|
176
178
|
}
|
|
177
179
|
|
|
178
180
|
export function DockerProxyRepositoryApiRequestToJSON(value?: DockerProxyRepositoryApiRequest | null): any {
|
|
179
|
-
if (value
|
|
180
|
-
return
|
|
181
|
+
if (value === undefined) {
|
|
182
|
+
return undefined;
|
|
183
|
+
}
|
|
184
|
+
if (value === null) {
|
|
185
|
+
return null;
|
|
181
186
|
}
|
|
182
187
|
return {
|
|
183
188
|
|
|
184
|
-
'cleanup': CleanupPolicyAttributesToJSON(value
|
|
185
|
-
'docker': DockerAttributesToJSON(value
|
|
186
|
-
'dockerProxy': DockerProxyAttributesToJSON(value
|
|
187
|
-
'httpClient': HttpClientAttributesToJSON(value
|
|
188
|
-
'name': value
|
|
189
|
-
'negativeCache': NegativeCacheAttributesToJSON(value
|
|
190
|
-
'online': value
|
|
191
|
-
'proxy': ProxyAttributesToJSON(value
|
|
192
|
-
'replication': ReplicationAttributesToJSON(value
|
|
193
|
-
'routingRule': value
|
|
194
|
-
'storage': StorageAttributesToJSON(value
|
|
189
|
+
'cleanup': CleanupPolicyAttributesToJSON(value.cleanup),
|
|
190
|
+
'docker': DockerAttributesToJSON(value.docker),
|
|
191
|
+
'dockerProxy': DockerProxyAttributesToJSON(value.dockerProxy),
|
|
192
|
+
'httpClient': HttpClientAttributesToJSON(value.httpClient),
|
|
193
|
+
'name': value.name,
|
|
194
|
+
'negativeCache': NegativeCacheAttributesToJSON(value.negativeCache),
|
|
195
|
+
'online': value.online,
|
|
196
|
+
'proxy': ProxyAttributesToJSON(value.proxy),
|
|
197
|
+
'replication': ReplicationAttributesToJSON(value.replication),
|
|
198
|
+
'routingRule': value.routingRule,
|
|
199
|
+
'storage': StorageAttributesToJSON(value.storage),
|
|
195
200
|
};
|
|
196
201
|
}
|
|
197
202
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import type { BlobStoreApiSoftQuota } from './BlobStoreApiSoftQuota';
|
|
17
17
|
import {
|
|
18
18
|
BlobStoreApiSoftQuotaFromJSON,
|
|
@@ -50,7 +50,9 @@ export interface FileBlobStoreApiCreateRequest {
|
|
|
50
50
|
* Check if a given object implements the FileBlobStoreApiCreateRequest interface.
|
|
51
51
|
*/
|
|
52
52
|
export function instanceOfFileBlobStoreApiCreateRequest(value: object): boolean {
|
|
53
|
-
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
|
|
55
|
+
return isInstance;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
export function FileBlobStoreApiCreateRequestFromJSON(json: any): FileBlobStoreApiCreateRequest {
|
|
@@ -58,26 +60,29 @@ export function FileBlobStoreApiCreateRequestFromJSON(json: any): FileBlobStoreA
|
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
export function FileBlobStoreApiCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileBlobStoreApiCreateRequest {
|
|
61
|
-
if (json
|
|
63
|
+
if ((json === undefined) || (json === null)) {
|
|
62
64
|
return json;
|
|
63
65
|
}
|
|
64
66
|
return {
|
|
65
67
|
|
|
66
|
-
'name': json
|
|
67
|
-
'path': json
|
|
68
|
-
'softQuota': json
|
|
68
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
69
|
+
'path': !exists(json, 'path') ? undefined : json['path'],
|
|
70
|
+
'softQuota': !exists(json, 'softQuota') ? undefined : BlobStoreApiSoftQuotaFromJSON(json['softQuota']),
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
export function FileBlobStoreApiCreateRequestToJSON(value?: FileBlobStoreApiCreateRequest | null): any {
|
|
73
|
-
if (value
|
|
74
|
-
return
|
|
75
|
+
if (value === undefined) {
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
if (value === null) {
|
|
79
|
+
return null;
|
|
75
80
|
}
|
|
76
81
|
return {
|
|
77
82
|
|
|
78
|
-
'name': value
|
|
79
|
-
'path': value
|
|
80
|
-
'softQuota': BlobStoreApiSoftQuotaToJSON(value
|
|
83
|
+
'name': value.name,
|
|
84
|
+
'path': value.path,
|
|
85
|
+
'softQuota': BlobStoreApiSoftQuotaToJSON(value.softQuota),
|
|
81
86
|
};
|
|
82
87
|
}
|
|
83
88
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import type { BlobStoreApiSoftQuota } from './BlobStoreApiSoftQuota';
|
|
17
17
|
import {
|
|
18
18
|
BlobStoreApiSoftQuotaFromJSON,
|
|
@@ -44,7 +44,9 @@ export interface FileBlobStoreApiModel {
|
|
|
44
44
|
* Check if a given object implements the FileBlobStoreApiModel interface.
|
|
45
45
|
*/
|
|
46
46
|
export function instanceOfFileBlobStoreApiModel(value: object): boolean {
|
|
47
|
-
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
|
|
49
|
+
return isInstance;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
export function FileBlobStoreApiModelFromJSON(json: any): FileBlobStoreApiModel {
|
|
@@ -52,24 +54,27 @@ export function FileBlobStoreApiModelFromJSON(json: any): FileBlobStoreApiModel
|
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
export function FileBlobStoreApiModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileBlobStoreApiModel {
|
|
55
|
-
if (json
|
|
57
|
+
if ((json === undefined) || (json === null)) {
|
|
56
58
|
return json;
|
|
57
59
|
}
|
|
58
60
|
return {
|
|
59
61
|
|
|
60
|
-
'path': json
|
|
61
|
-
'softQuota': json
|
|
62
|
+
'path': !exists(json, 'path') ? undefined : json['path'],
|
|
63
|
+
'softQuota': !exists(json, 'softQuota') ? undefined : BlobStoreApiSoftQuotaFromJSON(json['softQuota']),
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
export function FileBlobStoreApiModelToJSON(value?: FileBlobStoreApiModel | null): any {
|
|
66
|
-
if (value
|
|
67
|
-
return
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
68
73
|
}
|
|
69
74
|
return {
|
|
70
75
|
|
|
71
|
-
'path': value
|
|
72
|
-
'softQuota': BlobStoreApiSoftQuotaToJSON(value
|
|
76
|
+
'path': value.path,
|
|
77
|
+
'softQuota': BlobStoreApiSoftQuotaToJSON(value.softQuota),
|
|
73
78
|
};
|
|
74
79
|
}
|
|
75
80
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import type { BlobStoreApiSoftQuota } from './BlobStoreApiSoftQuota';
|
|
17
17
|
import {
|
|
18
18
|
BlobStoreApiSoftQuotaFromJSON,
|
|
@@ -44,7 +44,9 @@ export interface FileBlobStoreApiUpdateRequest {
|
|
|
44
44
|
* Check if a given object implements the FileBlobStoreApiUpdateRequest interface.
|
|
45
45
|
*/
|
|
46
46
|
export function instanceOfFileBlobStoreApiUpdateRequest(value: object): boolean {
|
|
47
|
-
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
|
|
49
|
+
return isInstance;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
export function FileBlobStoreApiUpdateRequestFromJSON(json: any): FileBlobStoreApiUpdateRequest {
|
|
@@ -52,24 +54,27 @@ export function FileBlobStoreApiUpdateRequestFromJSON(json: any): FileBlobStoreA
|
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
export function FileBlobStoreApiUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileBlobStoreApiUpdateRequest {
|
|
55
|
-
if (json
|
|
57
|
+
if ((json === undefined) || (json === null)) {
|
|
56
58
|
return json;
|
|
57
59
|
}
|
|
58
60
|
return {
|
|
59
61
|
|
|
60
|
-
'path': json
|
|
61
|
-
'softQuota': json
|
|
62
|
+
'path': !exists(json, 'path') ? undefined : json['path'],
|
|
63
|
+
'softQuota': !exists(json, 'softQuota') ? undefined : BlobStoreApiSoftQuotaFromJSON(json['softQuota']),
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
|
|
65
67
|
export function FileBlobStoreApiUpdateRequestToJSON(value?: FileBlobStoreApiUpdateRequest | null): any {
|
|
66
|
-
if (value
|
|
67
|
-
return
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
68
73
|
}
|
|
69
74
|
return {
|
|
70
75
|
|
|
71
|
-
'path': value
|
|
72
|
-
'softQuota': BlobStoreApiSoftQuotaToJSON(value
|
|
76
|
+
'path': value.path,
|
|
77
|
+
'softQuota': BlobStoreApiSoftQuotaToJSON(value.softQuota),
|
|
73
78
|
};
|
|
74
79
|
}
|
|
75
80
|
|