@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
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DockerHostedApiRepositoryToJSON = exports.DockerHostedApiRepositoryFromJSONTyped = exports.DockerHostedApiRepositoryFromJSON = exports.instanceOfDockerHostedApiRepository = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
18
19
|
const ComponentAttributes_1 = require("./ComponentAttributes");
|
|
19
20
|
const DockerAttributes_1 = require("./DockerAttributes");
|
|
@@ -22,13 +23,11 @@ const HostedStorageAttributes_1 = require("./HostedStorageAttributes");
|
|
|
22
23
|
* Check if a given object implements the DockerHostedApiRepository interface.
|
|
23
24
|
*/
|
|
24
25
|
function instanceOfDockerHostedApiRepository(value) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
26
|
+
let isInstance = true;
|
|
27
|
+
isInstance = isInstance && "docker" in value;
|
|
28
|
+
isInstance = isInstance && "online" in value;
|
|
29
|
+
isInstance = isInstance && "storage" in value;
|
|
30
|
+
return isInstance;
|
|
32
31
|
}
|
|
33
32
|
exports.instanceOfDockerHostedApiRepository = instanceOfDockerHostedApiRepository;
|
|
34
33
|
function DockerHostedApiRepositoryFromJSON(json) {
|
|
@@ -36,30 +35,33 @@ function DockerHostedApiRepositoryFromJSON(json) {
|
|
|
36
35
|
}
|
|
37
36
|
exports.DockerHostedApiRepositoryFromJSON = DockerHostedApiRepositoryFromJSON;
|
|
38
37
|
function DockerHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
40
39
|
return json;
|
|
41
40
|
}
|
|
42
41
|
return {
|
|
43
|
-
'cleanup': json
|
|
44
|
-
'component': json
|
|
42
|
+
'cleanup': !(0, runtime_1.exists)(json, 'cleanup') ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
43
|
+
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
45
44
|
'docker': (0, DockerAttributes_1.DockerAttributesFromJSON)(json['docker']),
|
|
46
|
-
'name': json
|
|
45
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
47
46
|
'online': json['online'],
|
|
48
47
|
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesFromJSON)(json['storage']),
|
|
49
48
|
};
|
|
50
49
|
}
|
|
51
50
|
exports.DockerHostedApiRepositoryFromJSONTyped = DockerHostedApiRepositoryFromJSONTyped;
|
|
52
51
|
function DockerHostedApiRepositoryToJSON(value) {
|
|
53
|
-
if (value
|
|
54
|
-
return
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
|
-
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value
|
|
58
|
-
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value
|
|
59
|
-
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value
|
|
60
|
-
'name': value
|
|
61
|
-
'online': value
|
|
62
|
-
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value
|
|
59
|
+
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value.cleanup),
|
|
60
|
+
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value.component),
|
|
61
|
+
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value.docker),
|
|
62
|
+
'name': value.name,
|
|
63
|
+
'online': value.online,
|
|
64
|
+
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value.storage),
|
|
63
65
|
};
|
|
64
66
|
}
|
|
65
67
|
exports.DockerHostedApiRepositoryToJSON = DockerHostedApiRepositoryToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DockerHostedRepositoryApiRequestToJSON = exports.DockerHostedRepositoryApiRequestFromJSONTyped = exports.DockerHostedRepositoryApiRequestFromJSON = exports.instanceOfDockerHostedRepositoryApiRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
18
19
|
const ComponentAttributes_1 = require("./ComponentAttributes");
|
|
19
20
|
const DockerAttributes_1 = require("./DockerAttributes");
|
|
@@ -22,15 +23,12 @@ const DockerHostedStorageAttributes_1 = require("./DockerHostedStorageAttributes
|
|
|
22
23
|
* Check if a given object implements the DockerHostedRepositoryApiRequest interface.
|
|
23
24
|
*/
|
|
24
25
|
function instanceOfDockerHostedRepositoryApiRequest(value) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (!('storage' in value))
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
26
|
+
let isInstance = true;
|
|
27
|
+
isInstance = isInstance && "docker" in value;
|
|
28
|
+
isInstance = isInstance && "name" in value;
|
|
29
|
+
isInstance = isInstance && "online" in value;
|
|
30
|
+
isInstance = isInstance && "storage" in value;
|
|
31
|
+
return isInstance;
|
|
34
32
|
}
|
|
35
33
|
exports.instanceOfDockerHostedRepositoryApiRequest = instanceOfDockerHostedRepositoryApiRequest;
|
|
36
34
|
function DockerHostedRepositoryApiRequestFromJSON(json) {
|
|
@@ -38,12 +36,12 @@ function DockerHostedRepositoryApiRequestFromJSON(json) {
|
|
|
38
36
|
}
|
|
39
37
|
exports.DockerHostedRepositoryApiRequestFromJSON = DockerHostedRepositoryApiRequestFromJSON;
|
|
40
38
|
function DockerHostedRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
42
40
|
return json;
|
|
43
41
|
}
|
|
44
42
|
return {
|
|
45
|
-
'cleanup': json
|
|
46
|
-
'component': json
|
|
43
|
+
'cleanup': !(0, runtime_1.exists)(json, 'cleanup') ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
44
|
+
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
47
45
|
'docker': (0, DockerAttributes_1.DockerAttributesFromJSON)(json['docker']),
|
|
48
46
|
'name': json['name'],
|
|
49
47
|
'online': json['online'],
|
|
@@ -52,16 +50,19 @@ function DockerHostedRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
52
50
|
}
|
|
53
51
|
exports.DockerHostedRepositoryApiRequestFromJSONTyped = DockerHostedRepositoryApiRequestFromJSONTyped;
|
|
54
52
|
function DockerHostedRepositoryApiRequestToJSON(value) {
|
|
55
|
-
if (value
|
|
56
|
-
return
|
|
53
|
+
if (value === undefined) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
if (value === null) {
|
|
57
|
+
return null;
|
|
57
58
|
}
|
|
58
59
|
return {
|
|
59
|
-
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value
|
|
60
|
-
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value
|
|
61
|
-
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value
|
|
62
|
-
'name': value
|
|
63
|
-
'online': value
|
|
64
|
-
'storage': (0, DockerHostedStorageAttributes_1.DockerHostedStorageAttributesToJSON)(value
|
|
60
|
+
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value.cleanup),
|
|
61
|
+
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value.component),
|
|
62
|
+
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value.docker),
|
|
63
|
+
'name': value.name,
|
|
64
|
+
'online': value.online,
|
|
65
|
+
'storage': (0, DockerHostedStorageAttributes_1.DockerHostedStorageAttributesToJSON)(value.storage),
|
|
65
66
|
};
|
|
66
67
|
}
|
|
67
68
|
exports.DockerHostedRepositoryApiRequestToJSON = DockerHostedRepositoryApiRequestToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DockerHostedStorageAttributesToJSON = exports.DockerHostedStorageAttributesFromJSONTyped = exports.DockerHostedStorageAttributesFromJSON = exports.instanceOfDockerHostedStorageAttributes = exports.DockerHostedStorageAttributesWritePolicyEnum = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* @export
|
|
19
20
|
*/
|
|
@@ -26,13 +27,11 @@ exports.DockerHostedStorageAttributesWritePolicyEnum = {
|
|
|
26
27
|
* Check if a given object implements the DockerHostedStorageAttributes interface.
|
|
27
28
|
*/
|
|
28
29
|
function instanceOfDockerHostedStorageAttributes(value) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return false;
|
|
35
|
-
return true;
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
isInstance = isInstance && "blobStoreName" in value;
|
|
32
|
+
isInstance = isInstance && "strictContentTypeValidation" in value;
|
|
33
|
+
isInstance = isInstance && "writePolicy" in value;
|
|
34
|
+
return isInstance;
|
|
36
35
|
}
|
|
37
36
|
exports.instanceOfDockerHostedStorageAttributes = instanceOfDockerHostedStorageAttributes;
|
|
38
37
|
function DockerHostedStorageAttributesFromJSON(json) {
|
|
@@ -40,26 +39,29 @@ function DockerHostedStorageAttributesFromJSON(json) {
|
|
|
40
39
|
}
|
|
41
40
|
exports.DockerHostedStorageAttributesFromJSON = DockerHostedStorageAttributesFromJSON;
|
|
42
41
|
function DockerHostedStorageAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (json
|
|
42
|
+
if ((json === undefined) || (json === null)) {
|
|
44
43
|
return json;
|
|
45
44
|
}
|
|
46
45
|
return {
|
|
47
46
|
'blobStoreName': json['blobStoreName'],
|
|
48
|
-
'latestPolicy': json
|
|
47
|
+
'latestPolicy': !(0, runtime_1.exists)(json, 'latestPolicy') ? undefined : json['latestPolicy'],
|
|
49
48
|
'strictContentTypeValidation': json['strictContentTypeValidation'],
|
|
50
49
|
'writePolicy': json['writePolicy'],
|
|
51
50
|
};
|
|
52
51
|
}
|
|
53
52
|
exports.DockerHostedStorageAttributesFromJSONTyped = DockerHostedStorageAttributesFromJSONTyped;
|
|
54
53
|
function DockerHostedStorageAttributesToJSON(value) {
|
|
55
|
-
if (value
|
|
56
|
-
return
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
57
59
|
}
|
|
58
60
|
return {
|
|
59
|
-
'blobStoreName': value
|
|
60
|
-
'latestPolicy': value
|
|
61
|
-
'strictContentTypeValidation': value
|
|
62
|
-
'writePolicy': value
|
|
61
|
+
'blobStoreName': value.blobStoreName,
|
|
62
|
+
'latestPolicy': value.latestPolicy,
|
|
63
|
+
'strictContentTypeValidation': value.strictContentTypeValidation,
|
|
64
|
+
'writePolicy': value.writePolicy,
|
|
63
65
|
};
|
|
64
66
|
}
|
|
65
67
|
exports.DockerHostedStorageAttributesToJSON = DockerHostedStorageAttributesToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DockerProxyApiRepositoryToJSON = exports.DockerProxyApiRepositoryFromJSONTyped = exports.DockerProxyApiRepositoryFromJSON = exports.instanceOfDockerProxyApiRepository = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
18
19
|
const DockerAttributes_1 = require("./DockerAttributes");
|
|
19
20
|
const DockerProxyAttributes_1 = require("./DockerProxyAttributes");
|
|
@@ -26,21 +27,15 @@ const StorageAttributes_1 = require("./StorageAttributes");
|
|
|
26
27
|
* Check if a given object implements the DockerProxyApiRepository interface.
|
|
27
28
|
*/
|
|
28
29
|
function instanceOfDockerProxyApiRepository(value) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
return false;
|
|
39
|
-
if (!('proxy' in value))
|
|
40
|
-
return false;
|
|
41
|
-
if (!('storage' in value))
|
|
42
|
-
return false;
|
|
43
|
-
return true;
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
isInstance = isInstance && "docker" in value;
|
|
32
|
+
isInstance = isInstance && "dockerProxy" in value;
|
|
33
|
+
isInstance = isInstance && "httpClient" in value;
|
|
34
|
+
isInstance = isInstance && "negativeCache" in value;
|
|
35
|
+
isInstance = isInstance && "online" in value;
|
|
36
|
+
isInstance = isInstance && "proxy" in value;
|
|
37
|
+
isInstance = isInstance && "storage" in value;
|
|
38
|
+
return isInstance;
|
|
44
39
|
}
|
|
45
40
|
exports.instanceOfDockerProxyApiRepository = instanceOfDockerProxyApiRepository;
|
|
46
41
|
function DockerProxyApiRepositoryFromJSON(json) {
|
|
@@ -48,40 +43,43 @@ function DockerProxyApiRepositoryFromJSON(json) {
|
|
|
48
43
|
}
|
|
49
44
|
exports.DockerProxyApiRepositoryFromJSON = DockerProxyApiRepositoryFromJSON;
|
|
50
45
|
function DockerProxyApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
-
if (json
|
|
46
|
+
if ((json === undefined) || (json === null)) {
|
|
52
47
|
return json;
|
|
53
48
|
}
|
|
54
49
|
return {
|
|
55
|
-
'cleanup': json
|
|
50
|
+
'cleanup': !(0, runtime_1.exists)(json, 'cleanup') ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
56
51
|
'docker': (0, DockerAttributes_1.DockerAttributesFromJSON)(json['docker']),
|
|
57
52
|
'dockerProxy': (0, DockerProxyAttributes_1.DockerProxyAttributesFromJSON)(json['dockerProxy']),
|
|
58
53
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
59
|
-
'name': json
|
|
54
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
60
55
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
61
56
|
'online': json['online'],
|
|
62
57
|
'proxy': (0, ProxyAttributes_1.ProxyAttributesFromJSON)(json['proxy']),
|
|
63
|
-
'replication': json
|
|
64
|
-
'routingRuleName': json
|
|
58
|
+
'replication': !(0, runtime_1.exists)(json, 'replication') ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
59
|
+
'routingRuleName': !(0, runtime_1.exists)(json, 'routingRuleName') ? undefined : json['routingRuleName'],
|
|
65
60
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
66
61
|
};
|
|
67
62
|
}
|
|
68
63
|
exports.DockerProxyApiRepositoryFromJSONTyped = DockerProxyApiRepositoryFromJSONTyped;
|
|
69
64
|
function DockerProxyApiRepositoryToJSON(value) {
|
|
70
|
-
if (value
|
|
71
|
-
return
|
|
65
|
+
if (value === undefined) {
|
|
66
|
+
return undefined;
|
|
67
|
+
}
|
|
68
|
+
if (value === null) {
|
|
69
|
+
return null;
|
|
72
70
|
}
|
|
73
71
|
return {
|
|
74
|
-
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value
|
|
75
|
-
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value
|
|
76
|
-
'dockerProxy': (0, DockerProxyAttributes_1.DockerProxyAttributesToJSON)(value
|
|
77
|
-
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value
|
|
78
|
-
'name': value
|
|
79
|
-
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value
|
|
80
|
-
'online': value
|
|
81
|
-
'proxy': (0, ProxyAttributes_1.ProxyAttributesToJSON)(value
|
|
82
|
-
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value
|
|
83
|
-
'routingRuleName': value
|
|
84
|
-
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value
|
|
72
|
+
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value.cleanup),
|
|
73
|
+
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value.docker),
|
|
74
|
+
'dockerProxy': (0, DockerProxyAttributes_1.DockerProxyAttributesToJSON)(value.dockerProxy),
|
|
75
|
+
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value.httpClient),
|
|
76
|
+
'name': value.name,
|
|
77
|
+
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value.negativeCache),
|
|
78
|
+
'online': value.online,
|
|
79
|
+
'proxy': (0, ProxyAttributes_1.ProxyAttributesToJSON)(value.proxy),
|
|
80
|
+
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value.replication),
|
|
81
|
+
'routingRuleName': value.routingRuleName,
|
|
82
|
+
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value.storage),
|
|
85
83
|
};
|
|
86
84
|
}
|
|
87
85
|
exports.DockerProxyApiRepositoryToJSON = DockerProxyApiRepositoryToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DockerProxyAttributesToJSON = exports.DockerProxyAttributesFromJSONTyped = exports.DockerProxyAttributesFromJSON = exports.instanceOfDockerProxyAttributes = exports.DockerProxyAttributesIndexTypeEnum = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* @export
|
|
19
20
|
*/
|
|
@@ -26,7 +27,8 @@ exports.DockerProxyAttributesIndexTypeEnum = {
|
|
|
26
27
|
* Check if a given object implements the DockerProxyAttributes interface.
|
|
27
28
|
*/
|
|
28
29
|
function instanceOfDockerProxyAttributes(value) {
|
|
29
|
-
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
return isInstance;
|
|
30
32
|
}
|
|
31
33
|
exports.instanceOfDockerProxyAttributes = instanceOfDockerProxyAttributes;
|
|
32
34
|
function DockerProxyAttributesFromJSON(json) {
|
|
@@ -34,26 +36,29 @@ function DockerProxyAttributesFromJSON(json) {
|
|
|
34
36
|
}
|
|
35
37
|
exports.DockerProxyAttributesFromJSON = DockerProxyAttributesFromJSON;
|
|
36
38
|
function DockerProxyAttributesFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
38
40
|
return json;
|
|
39
41
|
}
|
|
40
42
|
return {
|
|
41
|
-
'cacheForeignLayers': json
|
|
42
|
-
'foreignLayerUrlWhitelist': json
|
|
43
|
-
'indexType': json
|
|
44
|
-
'indexUrl': json
|
|
43
|
+
'cacheForeignLayers': !(0, runtime_1.exists)(json, 'cacheForeignLayers') ? undefined : json['cacheForeignLayers'],
|
|
44
|
+
'foreignLayerUrlWhitelist': !(0, runtime_1.exists)(json, 'foreignLayerUrlWhitelist') ? undefined : json['foreignLayerUrlWhitelist'],
|
|
45
|
+
'indexType': !(0, runtime_1.exists)(json, 'indexType') ? undefined : json['indexType'],
|
|
46
|
+
'indexUrl': !(0, runtime_1.exists)(json, 'indexUrl') ? undefined : json['indexUrl'],
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
exports.DockerProxyAttributesFromJSONTyped = DockerProxyAttributesFromJSONTyped;
|
|
48
50
|
function DockerProxyAttributesToJSON(value) {
|
|
49
|
-
if (value
|
|
50
|
-
return
|
|
51
|
+
if (value === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (value === null) {
|
|
55
|
+
return null;
|
|
51
56
|
}
|
|
52
57
|
return {
|
|
53
|
-
'cacheForeignLayers': value
|
|
54
|
-
'foreignLayerUrlWhitelist': value
|
|
55
|
-
'indexType': value
|
|
56
|
-
'indexUrl': value
|
|
58
|
+
'cacheForeignLayers': value.cacheForeignLayers,
|
|
59
|
+
'foreignLayerUrlWhitelist': value.foreignLayerUrlWhitelist,
|
|
60
|
+
'indexType': value.indexType,
|
|
61
|
+
'indexUrl': value.indexUrl,
|
|
57
62
|
};
|
|
58
63
|
}
|
|
59
64
|
exports.DockerProxyAttributesToJSON = DockerProxyAttributesToJSON;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DockerProxyRepositoryApiRequestToJSON = exports.DockerProxyRepositoryApiRequestFromJSONTyped = exports.DockerProxyRepositoryApiRequestFromJSON = exports.instanceOfDockerProxyRepositoryApiRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const CleanupPolicyAttributes_1 = require("./CleanupPolicyAttributes");
|
|
18
19
|
const DockerAttributes_1 = require("./DockerAttributes");
|
|
19
20
|
const DockerProxyAttributes_1 = require("./DockerProxyAttributes");
|
|
@@ -26,23 +27,16 @@ const StorageAttributes_1 = require("./StorageAttributes");
|
|
|
26
27
|
* Check if a given object implements the DockerProxyRepositoryApiRequest interface.
|
|
27
28
|
*/
|
|
28
29
|
function instanceOfDockerProxyRepositoryApiRequest(value) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
if (!('online' in value))
|
|
40
|
-
return false;
|
|
41
|
-
if (!('proxy' in value))
|
|
42
|
-
return false;
|
|
43
|
-
if (!('storage' in value))
|
|
44
|
-
return false;
|
|
45
|
-
return true;
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
isInstance = isInstance && "docker" in value;
|
|
32
|
+
isInstance = isInstance && "dockerProxy" in value;
|
|
33
|
+
isInstance = isInstance && "httpClient" in value;
|
|
34
|
+
isInstance = isInstance && "name" in value;
|
|
35
|
+
isInstance = isInstance && "negativeCache" in value;
|
|
36
|
+
isInstance = isInstance && "online" in value;
|
|
37
|
+
isInstance = isInstance && "proxy" in value;
|
|
38
|
+
isInstance = isInstance && "storage" in value;
|
|
39
|
+
return isInstance;
|
|
46
40
|
}
|
|
47
41
|
exports.instanceOfDockerProxyRepositoryApiRequest = instanceOfDockerProxyRepositoryApiRequest;
|
|
48
42
|
function DockerProxyRepositoryApiRequestFromJSON(json) {
|
|
@@ -50,11 +44,11 @@ function DockerProxyRepositoryApiRequestFromJSON(json) {
|
|
|
50
44
|
}
|
|
51
45
|
exports.DockerProxyRepositoryApiRequestFromJSON = DockerProxyRepositoryApiRequestFromJSON;
|
|
52
46
|
function DockerProxyRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
-
if (json
|
|
47
|
+
if ((json === undefined) || (json === null)) {
|
|
54
48
|
return json;
|
|
55
49
|
}
|
|
56
50
|
return {
|
|
57
|
-
'cleanup': json
|
|
51
|
+
'cleanup': !(0, runtime_1.exists)(json, 'cleanup') ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
58
52
|
'docker': (0, DockerAttributes_1.DockerAttributesFromJSON)(json['docker']),
|
|
59
53
|
'dockerProxy': (0, DockerProxyAttributes_1.DockerProxyAttributesFromJSON)(json['dockerProxy']),
|
|
60
54
|
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesFromJSON)(json['httpClient']),
|
|
@@ -62,28 +56,31 @@ function DockerProxyRepositoryApiRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
62
56
|
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesFromJSON)(json['negativeCache']),
|
|
63
57
|
'online': json['online'],
|
|
64
58
|
'proxy': (0, ProxyAttributes_1.ProxyAttributesFromJSON)(json['proxy']),
|
|
65
|
-
'replication': json
|
|
66
|
-
'routingRule': json
|
|
59
|
+
'replication': !(0, runtime_1.exists)(json, 'replication') ? undefined : (0, ReplicationAttributes_1.ReplicationAttributesFromJSON)(json['replication']),
|
|
60
|
+
'routingRule': !(0, runtime_1.exists)(json, 'routingRule') ? undefined : json['routingRule'],
|
|
67
61
|
'storage': (0, StorageAttributes_1.StorageAttributesFromJSON)(json['storage']),
|
|
68
62
|
};
|
|
69
63
|
}
|
|
70
64
|
exports.DockerProxyRepositoryApiRequestFromJSONTyped = DockerProxyRepositoryApiRequestFromJSONTyped;
|
|
71
65
|
function DockerProxyRepositoryApiRequestToJSON(value) {
|
|
72
|
-
if (value
|
|
73
|
-
return
|
|
66
|
+
if (value === undefined) {
|
|
67
|
+
return undefined;
|
|
68
|
+
}
|
|
69
|
+
if (value === null) {
|
|
70
|
+
return null;
|
|
74
71
|
}
|
|
75
72
|
return {
|
|
76
|
-
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value
|
|
77
|
-
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value
|
|
78
|
-
'dockerProxy': (0, DockerProxyAttributes_1.DockerProxyAttributesToJSON)(value
|
|
79
|
-
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value
|
|
80
|
-
'name': value
|
|
81
|
-
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value
|
|
82
|
-
'online': value
|
|
83
|
-
'proxy': (0, ProxyAttributes_1.ProxyAttributesToJSON)(value
|
|
84
|
-
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value
|
|
85
|
-
'routingRule': value
|
|
86
|
-
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value
|
|
73
|
+
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value.cleanup),
|
|
74
|
+
'docker': (0, DockerAttributes_1.DockerAttributesToJSON)(value.docker),
|
|
75
|
+
'dockerProxy': (0, DockerProxyAttributes_1.DockerProxyAttributesToJSON)(value.dockerProxy),
|
|
76
|
+
'httpClient': (0, HttpClientAttributes_1.HttpClientAttributesToJSON)(value.httpClient),
|
|
77
|
+
'name': value.name,
|
|
78
|
+
'negativeCache': (0, NegativeCacheAttributes_1.NegativeCacheAttributesToJSON)(value.negativeCache),
|
|
79
|
+
'online': value.online,
|
|
80
|
+
'proxy': (0, ProxyAttributes_1.ProxyAttributesToJSON)(value.proxy),
|
|
81
|
+
'replication': (0, ReplicationAttributes_1.ReplicationAttributesToJSON)(value.replication),
|
|
82
|
+
'routingRule': value.routingRule,
|
|
83
|
+
'storage': (0, StorageAttributes_1.StorageAttributesToJSON)(value.storage),
|
|
87
84
|
};
|
|
88
85
|
}
|
|
89
86
|
exports.DockerProxyRepositoryApiRequestToJSON = DockerProxyRepositoryApiRequestToJSON;
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FileBlobStoreApiCreateRequestToJSON = exports.FileBlobStoreApiCreateRequestFromJSONTyped = exports.FileBlobStoreApiCreateRequestFromJSON = exports.instanceOfFileBlobStoreApiCreateRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const BlobStoreApiSoftQuota_1 = require("./BlobStoreApiSoftQuota");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the FileBlobStoreApiCreateRequest interface.
|
|
20
21
|
*/
|
|
21
22
|
function instanceOfFileBlobStoreApiCreateRequest(value) {
|
|
22
|
-
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
return isInstance;
|
|
23
25
|
}
|
|
24
26
|
exports.instanceOfFileBlobStoreApiCreateRequest = instanceOfFileBlobStoreApiCreateRequest;
|
|
25
27
|
function FileBlobStoreApiCreateRequestFromJSON(json) {
|
|
@@ -27,24 +29,27 @@ function FileBlobStoreApiCreateRequestFromJSON(json) {
|
|
|
27
29
|
}
|
|
28
30
|
exports.FileBlobStoreApiCreateRequestFromJSON = FileBlobStoreApiCreateRequestFromJSON;
|
|
29
31
|
function FileBlobStoreApiCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
31
33
|
return json;
|
|
32
34
|
}
|
|
33
35
|
return {
|
|
34
|
-
'name': json
|
|
35
|
-
'path': json
|
|
36
|
-
'softQuota': json
|
|
36
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
37
|
+
'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
|
|
38
|
+
'softQuota': !(0, runtime_1.exists)(json, 'softQuota') ? undefined : (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaFromJSON)(json['softQuota']),
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
exports.FileBlobStoreApiCreateRequestFromJSONTyped = FileBlobStoreApiCreateRequestFromJSONTyped;
|
|
40
42
|
function FileBlobStoreApiCreateRequestToJSON(value) {
|
|
41
|
-
if (value
|
|
42
|
-
return
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
43
48
|
}
|
|
44
49
|
return {
|
|
45
|
-
'name': value
|
|
46
|
-
'path': value
|
|
47
|
-
'softQuota': (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaToJSON)(value
|
|
50
|
+
'name': value.name,
|
|
51
|
+
'path': value.path,
|
|
52
|
+
'softQuota': (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaToJSON)(value.softQuota),
|
|
48
53
|
};
|
|
49
54
|
}
|
|
50
55
|
exports.FileBlobStoreApiCreateRequestToJSON = FileBlobStoreApiCreateRequestToJSON;
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FileBlobStoreApiModelToJSON = exports.FileBlobStoreApiModelFromJSONTyped = exports.FileBlobStoreApiModelFromJSON = exports.instanceOfFileBlobStoreApiModel = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const BlobStoreApiSoftQuota_1 = require("./BlobStoreApiSoftQuota");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the FileBlobStoreApiModel interface.
|
|
20
21
|
*/
|
|
21
22
|
function instanceOfFileBlobStoreApiModel(value) {
|
|
22
|
-
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
return isInstance;
|
|
23
25
|
}
|
|
24
26
|
exports.instanceOfFileBlobStoreApiModel = instanceOfFileBlobStoreApiModel;
|
|
25
27
|
function FileBlobStoreApiModelFromJSON(json) {
|
|
@@ -27,22 +29,25 @@ function FileBlobStoreApiModelFromJSON(json) {
|
|
|
27
29
|
}
|
|
28
30
|
exports.FileBlobStoreApiModelFromJSON = FileBlobStoreApiModelFromJSON;
|
|
29
31
|
function FileBlobStoreApiModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
31
33
|
return json;
|
|
32
34
|
}
|
|
33
35
|
return {
|
|
34
|
-
'path': json
|
|
35
|
-
'softQuota': json
|
|
36
|
+
'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
|
|
37
|
+
'softQuota': !(0, runtime_1.exists)(json, 'softQuota') ? undefined : (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaFromJSON)(json['softQuota']),
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
exports.FileBlobStoreApiModelFromJSONTyped = FileBlobStoreApiModelFromJSONTyped;
|
|
39
41
|
function FileBlobStoreApiModelToJSON(value) {
|
|
40
|
-
if (value
|
|
41
|
-
return
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
42
47
|
}
|
|
43
48
|
return {
|
|
44
|
-
'path': value
|
|
45
|
-
'softQuota': (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaToJSON)(value
|
|
49
|
+
'path': value.path,
|
|
50
|
+
'softQuota': (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaToJSON)(value.softQuota),
|
|
46
51
|
};
|
|
47
52
|
}
|
|
48
53
|
exports.FileBlobStoreApiModelToJSON = FileBlobStoreApiModelToJSON;
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FileBlobStoreApiUpdateRequestToJSON = exports.FileBlobStoreApiUpdateRequestFromJSONTyped = exports.FileBlobStoreApiUpdateRequestFromJSON = exports.instanceOfFileBlobStoreApiUpdateRequest = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
const BlobStoreApiSoftQuota_1 = require("./BlobStoreApiSoftQuota");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the FileBlobStoreApiUpdateRequest interface.
|
|
20
21
|
*/
|
|
21
22
|
function instanceOfFileBlobStoreApiUpdateRequest(value) {
|
|
22
|
-
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
return isInstance;
|
|
23
25
|
}
|
|
24
26
|
exports.instanceOfFileBlobStoreApiUpdateRequest = instanceOfFileBlobStoreApiUpdateRequest;
|
|
25
27
|
function FileBlobStoreApiUpdateRequestFromJSON(json) {
|
|
@@ -27,22 +29,25 @@ function FileBlobStoreApiUpdateRequestFromJSON(json) {
|
|
|
27
29
|
}
|
|
28
30
|
exports.FileBlobStoreApiUpdateRequestFromJSON = FileBlobStoreApiUpdateRequestFromJSON;
|
|
29
31
|
function FileBlobStoreApiUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
31
33
|
return json;
|
|
32
34
|
}
|
|
33
35
|
return {
|
|
34
|
-
'path': json
|
|
35
|
-
'softQuota': json
|
|
36
|
+
'path': !(0, runtime_1.exists)(json, 'path') ? undefined : json['path'],
|
|
37
|
+
'softQuota': !(0, runtime_1.exists)(json, 'softQuota') ? undefined : (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaFromJSON)(json['softQuota']),
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
exports.FileBlobStoreApiUpdateRequestFromJSONTyped = FileBlobStoreApiUpdateRequestFromJSONTyped;
|
|
39
41
|
function FileBlobStoreApiUpdateRequestToJSON(value) {
|
|
40
|
-
if (value
|
|
41
|
-
return
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
42
47
|
}
|
|
43
48
|
return {
|
|
44
|
-
'path': value
|
|
45
|
-
'softQuota': (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaToJSON)(value
|
|
49
|
+
'path': value.path,
|
|
50
|
+
'softQuota': (0, BlobStoreApiSoftQuota_1.BlobStoreApiSoftQuotaToJSON)(value.softQuota),
|
|
46
51
|
};
|
|
47
52
|
}
|
|
48
53
|
exports.FileBlobStoreApiUpdateRequestToJSON = FileBlobStoreApiUpdateRequestToJSON;
|