diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 00000000..3b939393
Binary files /dev/null and b/.DS_Store differ
diff --git a/bin/.DS_Store b/bin/.DS_Store
new file mode 100644
index 00000000..bcda1026
Binary files /dev/null and b/bin/.DS_Store differ
diff --git a/bindings/java/src/README.md b/bindings/java/src/README.md
index 09a65622..d0362c40 100644
--- a/bindings/java/src/README.md
+++ b/bindings/java/src/README.md
@@ -5,7 +5,7 @@ Cloudsmith API (v1)
The API to the Cloudsmith Service
- For more information, please visit [https://docs.cloudsmith.com/api](https://docs.cloudsmith.com/api)
+ For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
*Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)*
@@ -180,6 +180,8 @@ Class | Method | HTTP request | Description
*OrgsApi* | [**orgsMembersUpdateVisibility**](docs/OrgsApi.md#orgsMembersUpdateVisibility) | **PATCH** /orgs/{org}/members/{member}/update-visibility/ | Update a member's visibility in the organization.
*OrgsApi* | [**orgsOpenidConnectCreate**](docs/OrgsApi.md#orgsOpenidConnectCreate) | **POST** /orgs/{org}/openid-connect/ | Create the OpenID Connect provider settings for the org.
*OrgsApi* | [**orgsOpenidConnectDelete**](docs/OrgsApi.md#orgsOpenidConnectDelete) | **DELETE** /orgs/{org}/openid-connect/{slug_perm}/ | Delete a specific OpenID Connect provider setting for the org.
+*OrgsApi* | [**orgsOpenidConnectDynamicMappingsList**](docs/OrgsApi.md#orgsOpenidConnectDynamicMappingsList) | **GET** /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/ | Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+*OrgsApi* | [**orgsOpenidConnectDynamicMappingsRead**](docs/OrgsApi.md#orgsOpenidConnectDynamicMappingsRead) | **GET** /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/{claim_value}/ | Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
*OrgsApi* | [**orgsOpenidConnectList**](docs/OrgsApi.md#orgsOpenidConnectList) | **GET** /orgs/{org}/openid-connect/ | Retrieve the list of OpenID Connect provider settings for the org.
*OrgsApi* | [**orgsOpenidConnectPartialUpdate**](docs/OrgsApi.md#orgsOpenidConnectPartialUpdate) | **PATCH** /orgs/{org}/openid-connect/{slug_perm}/ | Update a specific OpenID Connect provider setting for the org.
*OrgsApi* | [**orgsOpenidConnectRead**](docs/OrgsApi.md#orgsOpenidConnectRead) | **GET** /orgs/{org}/openid-connect/{slug_perm}/ | Retrieve a specific OpenID Connect provider setting for the org.
@@ -242,6 +244,7 @@ Class | Method | HTTP request | Description
*PackagesApi* | [**packagesUploadGo**](docs/PackagesApi.md#packagesUploadGo) | **POST** /packages/{owner}/{repo}/upload/go/ | Create a new Go package
*PackagesApi* | [**packagesUploadHelm**](docs/PackagesApi.md#packagesUploadHelm) | **POST** /packages/{owner}/{repo}/upload/helm/ | Create a new Helm package
*PackagesApi* | [**packagesUploadHex**](docs/PackagesApi.md#packagesUploadHex) | **POST** /packages/{owner}/{repo}/upload/hex/ | Create a new Hex package
+*PackagesApi* | [**packagesUploadHuggingface**](docs/PackagesApi.md#packagesUploadHuggingface) | **POST** /packages/{owner}/{repo}/upload/huggingface/ | Create a new Hugging Face package
*PackagesApi* | [**packagesUploadLuarocks**](docs/PackagesApi.md#packagesUploadLuarocks) | **POST** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package
*PackagesApi* | [**packagesUploadMaven**](docs/PackagesApi.md#packagesUploadMaven) | **POST** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package
*PackagesApi* | [**packagesUploadNpm**](docs/PackagesApi.md#packagesUploadNpm) | **POST** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package
@@ -267,6 +270,7 @@ Class | Method | HTTP request | Description
*PackagesApi* | [**packagesValidateUploadGo**](docs/PackagesApi.md#packagesValidateUploadGo) | **POST** /packages/{owner}/{repo}/validate-upload/go/ | Validate parameters for create Go package
*PackagesApi* | [**packagesValidateUploadHelm**](docs/PackagesApi.md#packagesValidateUploadHelm) | **POST** /packages/{owner}/{repo}/validate-upload/helm/ | Validate parameters for create Helm package
*PackagesApi* | [**packagesValidateUploadHex**](docs/PackagesApi.md#packagesValidateUploadHex) | **POST** /packages/{owner}/{repo}/validate-upload/hex/ | Validate parameters for create Hex package
+*PackagesApi* | [**packagesValidateUploadHuggingface**](docs/PackagesApi.md#packagesValidateUploadHuggingface) | **POST** /packages/{owner}/{repo}/validate-upload/huggingface/ | Validate parameters for create Hugging Face package
*PackagesApi* | [**packagesValidateUploadLuarocks**](docs/PackagesApi.md#packagesValidateUploadLuarocks) | **POST** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package
*PackagesApi* | [**packagesValidateUploadMaven**](docs/PackagesApi.md#packagesValidateUploadMaven) | **POST** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package
*PackagesApi* | [**packagesValidateUploadNpm**](docs/PackagesApi.md#packagesValidateUploadNpm) | **POST** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package
@@ -323,6 +327,12 @@ Class | Method | HTTP request | Description
*ReposApi* | [**reposUpstreamComposerPartialUpdate**](docs/ReposApi.md#reposUpstreamComposerPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Partially update a Composer upstream config for this repository.
*ReposApi* | [**reposUpstreamComposerRead**](docs/ReposApi.md#reposUpstreamComposerRead) | **GET** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Retrieve a Composer upstream config for this repository.
*ReposApi* | [**reposUpstreamComposerUpdate**](docs/ReposApi.md#reposUpstreamComposerUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Update a Composer upstream config for this repository.
+*ReposApi* | [**reposUpstreamCondaCreate**](docs/ReposApi.md#reposUpstreamCondaCreate) | **POST** /repos/{owner}/{identifier}/upstream/conda/ | Create a Conda upstream config for this repository.
+*ReposApi* | [**reposUpstreamCondaDelete**](docs/ReposApi.md#reposUpstreamCondaDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Delete a Conda upstream config for this repository.
+*ReposApi* | [**reposUpstreamCondaList**](docs/ReposApi.md#reposUpstreamCondaList) | **GET** /repos/{owner}/{identifier}/upstream/conda/ | List Conda upstream configs for this repository.
+*ReposApi* | [**reposUpstreamCondaPartialUpdate**](docs/ReposApi.md#reposUpstreamCondaPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Partially update a Conda upstream config for this repository.
+*ReposApi* | [**reposUpstreamCondaRead**](docs/ReposApi.md#reposUpstreamCondaRead) | **GET** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Retrieve a Conda upstream config for this repository.
+*ReposApi* | [**reposUpstreamCondaUpdate**](docs/ReposApi.md#reposUpstreamCondaUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Update a Conda upstream config for this repository.
*ReposApi* | [**reposUpstreamCranCreate**](docs/ReposApi.md#reposUpstreamCranCreate) | **POST** /repos/{owner}/{identifier}/upstream/cran/ | Create a CRAN upstream config for this repository.
*ReposApi* | [**reposUpstreamCranDelete**](docs/ReposApi.md#reposUpstreamCranDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/cran/{slug_perm}/ | Delete a CRAN upstream config for this repository.
*ReposApi* | [**reposUpstreamCranList**](docs/ReposApi.md#reposUpstreamCranList) | **GET** /repos/{owner}/{identifier}/upstream/cran/ | List CRAN upstream configs for this repository.
@@ -365,6 +375,12 @@ Class | Method | HTTP request | Description
*ReposApi* | [**reposUpstreamHexPartialUpdate**](docs/ReposApi.md#reposUpstreamHexPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Partially update a Hex upstream config for this repository.
*ReposApi* | [**reposUpstreamHexRead**](docs/ReposApi.md#reposUpstreamHexRead) | **GET** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Retrieve a Hex upstream config for this repository.
*ReposApi* | [**reposUpstreamHexUpdate**](docs/ReposApi.md#reposUpstreamHexUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Update a Hex upstream config for this repository.
+*ReposApi* | [**reposUpstreamHuggingfaceCreate**](docs/ReposApi.md#reposUpstreamHuggingfaceCreate) | **POST** /repos/{owner}/{identifier}/upstream/huggingface/ | Create a Hugging Face upstream config for this repository.
+*ReposApi* | [**reposUpstreamHuggingfaceDelete**](docs/ReposApi.md#reposUpstreamHuggingfaceDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Delete a Hugging Face upstream config for this repository.
+*ReposApi* | [**reposUpstreamHuggingfaceList**](docs/ReposApi.md#reposUpstreamHuggingfaceList) | **GET** /repos/{owner}/{identifier}/upstream/huggingface/ | List Hugging Face upstream configs for this repository.
+*ReposApi* | [**reposUpstreamHuggingfacePartialUpdate**](docs/ReposApi.md#reposUpstreamHuggingfacePartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Partially update a Hugging Face upstream config for this repository.
+*ReposApi* | [**reposUpstreamHuggingfaceRead**](docs/ReposApi.md#reposUpstreamHuggingfaceRead) | **GET** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Retrieve a Hugging Face upstream config for this repository.
+*ReposApi* | [**reposUpstreamHuggingfaceUpdate**](docs/ReposApi.md#reposUpstreamHuggingfaceUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Update a Hugging Face upstream config for this repository.
*ReposApi* | [**reposUpstreamMavenCreate**](docs/ReposApi.md#reposUpstreamMavenCreate) | **POST** /repos/{owner}/{identifier}/upstream/maven/ | Create a Maven upstream config for this repository.
*ReposApi* | [**reposUpstreamMavenDelete**](docs/ReposApi.md#reposUpstreamMavenDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Delete a Maven upstream config for this repository.
*ReposApi* | [**reposUpstreamMavenList**](docs/ReposApi.md#reposUpstreamMavenList) | **GET** /repos/{owner}/{identifier}/upstream/maven/ | List Maven upstream configs for this repository.
@@ -458,6 +474,9 @@ Class | Method | HTTP request | Description
- [ConanPackageUploadRequest](docs/ConanPackageUploadRequest.md)
- [CondaPackageUpload](docs/CondaPackageUpload.md)
- [CondaPackageUploadRequest](docs/CondaPackageUploadRequest.md)
+ - [CondaUpstream](docs/CondaUpstream.md)
+ - [CondaUpstreamRequest](docs/CondaUpstreamRequest.md)
+ - [CondaUpstreamRequestPatch](docs/CondaUpstreamRequestPatch.md)
- [CranPackageUpload](docs/CranPackageUpload.md)
- [CranPackageUploadRequest](docs/CranPackageUploadRequest.md)
- [CranUpstream](docs/CranUpstream.md)
@@ -481,6 +500,7 @@ Class | Method | HTTP request | Description
- [DockerUpstream](docs/DockerUpstream.md)
- [DockerUpstreamRequest](docs/DockerUpstreamRequest.md)
- [DockerUpstreamRequestPatch](docs/DockerUpstreamRequestPatch.md)
+ - [DynamicMapping](docs/DynamicMapping.md)
- [EntitlementUsageMetrics](docs/EntitlementUsageMetrics.md)
- [ErrorDetail](docs/ErrorDetail.md)
- [Eula](docs/Eula.md)
@@ -506,6 +526,11 @@ Class | Method | HTTP request | Description
- [History](docs/History.md)
- [HistoryFieldset](docs/HistoryFieldset.md)
- [HistoryFieldsetRaw](docs/HistoryFieldsetRaw.md)
+ - [HuggingfacePackageUpload](docs/HuggingfacePackageUpload.md)
+ - [HuggingfacePackageUploadRequest](docs/HuggingfacePackageUploadRequest.md)
+ - [HuggingfaceUpstream](docs/HuggingfaceUpstream.md)
+ - [HuggingfaceUpstreamRequest](docs/HuggingfaceUpstreamRequest.md)
+ - [HuggingfaceUpstreamRequestPatch](docs/HuggingfaceUpstreamRequestPatch.md)
- [InlineResponse200](docs/InlineResponse200.md)
- [InlineResponse2001](docs/InlineResponse2001.md)
- [LuarocksPackageUpload](docs/LuarocksPackageUpload.md)
@@ -594,8 +619,9 @@ Class | Method | HTTP request | Description
- [PackageVulnerabilityPolicyViolationLog](docs/PackageVulnerabilityPolicyViolationLog.md)
- [PackageVulnerabilityPolicyViolationLogCursorPage](docs/PackageVulnerabilityPolicyViolationLogCursorPage.md)
- [ProviderSettings](docs/ProviderSettings.md)
- - [ProviderSettingsRequest](docs/ProviderSettingsRequest.md)
- - [ProviderSettingsRequestPatch](docs/ProviderSettingsRequestPatch.md)
+ - [ProviderSettingsWrite](docs/ProviderSettingsWrite.md)
+ - [ProviderSettingsWriteRequest](docs/ProviderSettingsWriteRequest.md)
+ - [ProviderSettingsWriteRequestPatch](docs/ProviderSettingsWriteRequestPatch.md)
- [PythonPackageUpload](docs/PythonPackageUpload.md)
- [PythonPackageUploadRequest](docs/PythonPackageUploadRequest.md)
- [PythonUpstream](docs/PythonUpstream.md)
diff --git a/bindings/java/src/docs/CondaUpstream.md b/bindings/java/src/docs/CondaUpstream.md
new file mode 100644
index 00000000..a743b233
--- /dev/null
+++ b/bindings/java/src/docs/CondaUpstream.md
@@ -0,0 +1,53 @@
+
+# CondaUpstream
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the upstream source was created. | [optional]
+**disableReason** | [**DisableReasonEnum**](#DisableReasonEnum) | | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
+**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**slugPerm** | **String** | | [optional]
+**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+USERNAME_AND_PASSWORD | "Username and Password"
+
+
+
+## Enum: DisableReasonEnum
+Name | Value
+---- | -----
+N_A | "N/A"
+UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | "Upstream points to its own repository"
+MISSING_UPSTREAM_SOURCE | "Missing upstream source"
+UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | "Upstream was disabled by request of user"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+CACHE_AND_PROXY | "Cache and Proxy"
+
+
+
diff --git a/bindings/java/src/docs/CondaUpstreamRequest.md b/bindings/java/src/docs/CondaUpstreamRequest.md
new file mode 100644
index 00000000..3183fa54
--- /dev/null
+++ b/bindings/java/src/docs/CondaUpstreamRequest.md
@@ -0,0 +1,38 @@
+
+# CondaUpstreamRequest
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+USERNAME_AND_PASSWORD | "Username and Password"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+CACHE_AND_PROXY | "Cache and Proxy"
+
+
+
diff --git a/bindings/java/src/docs/CondaUpstreamRequestPatch.md b/bindings/java/src/docs/CondaUpstreamRequestPatch.md
new file mode 100644
index 00000000..d6bd7d82
--- /dev/null
+++ b/bindings/java/src/docs/CondaUpstreamRequestPatch.md
@@ -0,0 +1,38 @@
+
+# CondaUpstreamRequestPatch
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+USERNAME_AND_PASSWORD | "Username and Password"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+CACHE_AND_PROXY | "Cache and Proxy"
+
+
+
diff --git a/bindings/java/src/docs/DynamicMapping.md b/bindings/java/src/docs/DynamicMapping.md
new file mode 100644
index 00000000..66fd1424
--- /dev/null
+++ b/bindings/java/src/docs/DynamicMapping.md
@@ -0,0 +1,11 @@
+
+# DynamicMapping
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**claimValue** | **String** | The OIDC token claim value that must be present in the token for it to successfully authenticate as the mapped `service_account`. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. |
+**serviceAccount** | **String** | The service account associated with the provider setting and `claim_value` Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. |
+
+
+
diff --git a/bindings/java/src/docs/HuggingfacePackageUpload.md b/bindings/java/src/docs/HuggingfacePackageUpload.md
new file mode 100644
index 00000000..3974cf68
--- /dev/null
+++ b/bindings/java/src/docs/HuggingfacePackageUpload.md
@@ -0,0 +1,103 @@
+
+# HuggingfacePackageUpload
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**architectures** | [**List<Architecture>**](Architecture.md) | | [optional]
+**cdnUrl** | **String** | | [optional]
+**checksumMd5** | **String** | | [optional]
+**checksumSha1** | **String** | | [optional]
+**checksumSha256** | **String** | | [optional]
+**checksumSha512** | **String** | | [optional]
+**dependenciesChecksumMd5** | **String** | A checksum of all of the package's dependencies. | [optional]
+**dependenciesUrl** | **String** | | [optional]
+**description** | **String** | A textual description of this package. | [optional]
+**displayName** | **String** | | [optional]
+**distro** | [**Distribution**](Distribution.md) | | [optional]
+**distroVersion** | [**DistributionVersion**](DistributionVersion.md) | | [optional]
+**downloads** | **java.math.BigInteger** | | [optional]
+**epoch** | **java.math.BigInteger** | The epoch of the package version (if any). | [optional]
+**extension** | **String** | | [optional]
+**filename** | **String** | | [optional]
+**files** | [**List<PackageFile>**](PackageFile.md) | | [optional]
+**format** | **String** | | [optional]
+**formatUrl** | **String** | | [optional]
+**freeableStorage** | **java.math.BigInteger** | Amount of storage that will be freed if this package is deleted | [optional]
+**fullyQualifiedName** | **String** | | [optional]
+**identifierPerm** | **String** | Unique and permanent identifier for the package. | [optional]
+**identifiers** | **Map<String, String>** | Return a map of identifier field names and their values. | [optional]
+**indexed** | **Boolean** | | [optional]
+**isCancellable** | **Boolean** | | [optional]
+**isCopyable** | **Boolean** | | [optional]
+**isDeleteable** | **Boolean** | | [optional]
+**isDownloadable** | **Boolean** | | [optional]
+**isMoveable** | **Boolean** | | [optional]
+**isQuarantinable** | **Boolean** | | [optional]
+**isQuarantined** | **Boolean** | | [optional]
+**isResyncable** | **Boolean** | | [optional]
+**isSecurityScannable** | **Boolean** | | [optional]
+**isSyncAwaiting** | **Boolean** | | [optional]
+**isSyncCompleted** | **Boolean** | | [optional]
+**isSyncFailed** | **Boolean** | | [optional]
+**isSyncInFlight** | **Boolean** | | [optional]
+**isSyncInProgress** | **Boolean** | | [optional]
+**license** | **String** | The license of this package. | [optional]
+**name** | **String** | The name of this package. | [optional]
+**namespace** | **String** | | [optional]
+**namespaceUrl** | **String** | | [optional]
+**numFiles** | **java.math.BigInteger** | | [optional]
+**originRepository** | **String** | | [optional]
+**originRepositoryUrl** | **String** | | [optional]
+**packageType** | **java.math.BigInteger** | The type of package contents. | [optional]
+**policyViolated** | **Boolean** | Whether or not the package has violated any policy. | [optional]
+**release** | **String** | The release of the package version (if any). | [optional]
+**repository** | **String** | | [optional]
+**repositoryUrl** | **String** | | [optional]
+**securityScanCompletedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was completed. | [optional]
+**securityScanStartedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning was started. | [optional]
+**securityScanStatus** | [**SecurityScanStatusEnum**](#SecurityScanStatusEnum) | | [optional]
+**securityScanStatusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the security scanning status was updated. | [optional]
+**selfHtmlUrl** | **String** | | [optional]
+**selfUrl** | **String** | | [optional]
+**signatureUrl** | **String** | | [optional]
+**size** | **java.math.BigInteger** | The calculated size of the package. | [optional]
+**slug** | **String** | The public unique identifier for the package. | [optional]
+**slugPerm** | **String** | | [optional]
+**stage** | **java.math.BigInteger** | The synchronisation (in progress) stage of the package. | [optional]
+**stageStr** | **String** | | [optional]
+**stageUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package stage was updated at. | [optional]
+**status** | **java.math.BigInteger** | The synchronisation status of the package. | [optional]
+**statusReason** | **String** | A textual description for the synchronous status reason (if any | [optional]
+**statusStr** | **String** | | [optional]
+**statusUpdatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package status was updated at. | [optional]
+**statusUrl** | **String** | | [optional]
+**subtype** | **String** | | [optional]
+**summary** | **String** | A one-liner synopsis of this package. | [optional]
+**syncFinishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the package sync was finished at. | [optional]
+**syncProgress** | **java.math.BigInteger** | Synchronisation progress (from 0-100) | [optional]
+**tagsImmutable** | [**Tags**](Tags.md) | | [optional]
+**typeDisplay** | **String** | | [optional]
+**uploadedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The date this package was uploaded. | [optional]
+**uploader** | **String** | | [optional]
+**uploaderUrl** | **String** | | [optional]
+**version** | **String** | The raw version for this package. | [optional]
+**versionOrig** | **String** | | [optional]
+**vulnerabilityScanResultsUrl** | **String** | | [optional]
+
+
+
+## Enum: SecurityScanStatusEnum
+Name | Value
+---- | -----
+AWAITING_SECURITY_SCAN | "Awaiting Security Scan"
+SECURITY_SCANNING_IN_PROGRESS | "Security Scanning in Progress"
+SCAN_DETECTED_VULNERABILITIES | "Scan Detected Vulnerabilities"
+SCAN_DETECTED_NO_VULNERABILITIES | "Scan Detected No Vulnerabilities"
+SECURITY_SCANNING_DISABLED | "Security Scanning Disabled"
+SECURITY_SCANNING_FAILED | "Security Scanning Failed"
+SECURITY_SCANNING_SKIPPED | "Security Scanning Skipped"
+SECURITY_SCANNING_NOT_SUPPORTED | "Security Scanning Not Supported"
+
+
+
diff --git a/bindings/java/src/docs/HuggingfacePackageUploadRequest.md b/bindings/java/src/docs/HuggingfacePackageUploadRequest.md
new file mode 100644
index 00000000..c3f612f2
--- /dev/null
+++ b/bindings/java/src/docs/HuggingfacePackageUploadRequest.md
@@ -0,0 +1,12 @@
+
+# HuggingfacePackageUploadRequest
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**packageFile** | **String** | The primary file for the package. |
+**republish** | **Boolean** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
+**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
+
+
+
diff --git a/bindings/java/src/docs/HuggingfaceUpstream.md b/bindings/java/src/docs/HuggingfaceUpstream.md
new file mode 100644
index 00000000..1e2c7c8d
--- /dev/null
+++ b/bindings/java/src/docs/HuggingfaceUpstream.md
@@ -0,0 +1,52 @@
+
+# HuggingfaceUpstream
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The datetime the upstream source was created. | [optional]
+**disableReason** | [**DisableReasonEnum**](#DisableReasonEnum) | | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
+**pendingValidation** | **Boolean** | When true, this upstream source is pending validation. | [optional]
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**slugPerm** | **String** | | [optional]
+**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+TOKEN | "Token"
+
+
+
+## Enum: DisableReasonEnum
+Name | Value
+---- | -----
+N_A | "N/A"
+UPSTREAM_POINTS_TO_ITS_OWN_REPOSITORY | "Upstream points to its own repository"
+MISSING_UPSTREAM_SOURCE | "Missing upstream source"
+UPSTREAM_WAS_DISABLED_BY_REQUEST_OF_USER | "Upstream was disabled by request of user"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+
+
+
diff --git a/bindings/java/src/docs/HuggingfaceUpstreamRequest.md b/bindings/java/src/docs/HuggingfaceUpstreamRequest.md
new file mode 100644
index 00000000..ebe72d35
--- /dev/null
+++ b/bindings/java/src/docs/HuggingfaceUpstreamRequest.md
@@ -0,0 +1,37 @@
+
+# HuggingfaceUpstreamRequest
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+TOKEN | "Token"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+
+
+
diff --git a/bindings/java/src/docs/HuggingfaceUpstreamRequestPatch.md b/bindings/java/src/docs/HuggingfaceUpstreamRequestPatch.md
new file mode 100644
index 00000000..e3dc6997
--- /dev/null
+++ b/bindings/java/src/docs/HuggingfaceUpstreamRequestPatch.md
@@ -0,0 +1,37 @@
+
+# HuggingfaceUpstreamRequestPatch
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**authMode** | [**AuthModeEnum**](#AuthModeEnum) | The authentication mode to use when accessing this upstream. | [optional]
+**authSecret** | **String** | Secret to provide with requests to upstream. | [optional]
+**authUsername** | **String** | Username to provide with requests to upstream. | [optional]
+**extraHeader1** | **String** | The key for extra header #1 to send to upstream. | [optional]
+**extraHeader2** | **String** | The key for extra header #2 to send to upstream. | [optional]
+**extraValue1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**extraValue2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
+**isActive** | **Boolean** | Whether or not this upstream is active and ready for requests. | [optional]
+**mode** | [**ModeEnum**](#ModeEnum) | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional]
+**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
+**priority** | **java.math.BigInteger** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
+**upstreamUrl** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
+**verifySsl** | **Boolean** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
+
+
+
+## Enum: AuthModeEnum
+Name | Value
+---- | -----
+NONE | "None"
+TOKEN | "Token"
+
+
+
+## Enum: ModeEnum
+Name | Value
+---- | -----
+PROXY_ONLY | "Proxy Only"
+
+
+
diff --git a/bindings/java/src/docs/OrgsApi.md b/bindings/java/src/docs/OrgsApi.md
index da8b2091..b3140882 100644
--- a/bindings/java/src/docs/OrgsApi.md
+++ b/bindings/java/src/docs/OrgsApi.md
@@ -38,6 +38,8 @@ Method | HTTP request | Description
[**orgsMembersUpdateVisibility**](OrgsApi.md#orgsMembersUpdateVisibility) | **PATCH** /orgs/{org}/members/{member}/update-visibility/ | Update a member's visibility in the organization.
[**orgsOpenidConnectCreate**](OrgsApi.md#orgsOpenidConnectCreate) | **POST** /orgs/{org}/openid-connect/ | Create the OpenID Connect provider settings for the org.
[**orgsOpenidConnectDelete**](OrgsApi.md#orgsOpenidConnectDelete) | **DELETE** /orgs/{org}/openid-connect/{slug_perm}/ | Delete a specific OpenID Connect provider setting for the org.
+[**orgsOpenidConnectDynamicMappingsList**](OrgsApi.md#orgsOpenidConnectDynamicMappingsList) | **GET** /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/ | Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+[**orgsOpenidConnectDynamicMappingsRead**](OrgsApi.md#orgsOpenidConnectDynamicMappingsRead) | **GET** /orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/{claim_value}/ | Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
[**orgsOpenidConnectList**](OrgsApi.md#orgsOpenidConnectList) | **GET** /orgs/{org}/openid-connect/ | Retrieve the list of OpenID Connect provider settings for the org.
[**orgsOpenidConnectPartialUpdate**](OrgsApi.md#orgsOpenidConnectPartialUpdate) | **PATCH** /orgs/{org}/openid-connect/{slug_perm}/ | Update a specific OpenID Connect provider setting for the org.
[**orgsOpenidConnectRead**](OrgsApi.md#orgsOpenidConnectRead) | **GET** /orgs/{org}/openid-connect/{slug_perm}/ | Retrieve a specific OpenID Connect provider setting for the org.
@@ -2094,7 +2096,7 @@ Name | Type | Description | Notes
# **orgsOpenidConnectCreate**
-> ProviderSettings orgsOpenidConnectCreate(org, data)
+> ProviderSettingsWrite orgsOpenidConnectCreate(org, data)
Create the OpenID Connect provider settings for the org.
@@ -2124,9 +2126,9 @@ basic.setPassword("YOUR PASSWORD");
OrgsApi apiInstance = new OrgsApi();
String org = "org_example"; // String |
-ProviderSettingsRequest data = new ProviderSettingsRequest(); // ProviderSettingsRequest |
+ProviderSettingsWriteRequest data = new ProviderSettingsWriteRequest(); // ProviderSettingsWriteRequest |
try {
- ProviderSettings result = apiInstance.orgsOpenidConnectCreate(org, data);
+ ProviderSettingsWrite result = apiInstance.orgsOpenidConnectCreate(org, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrgsApi#orgsOpenidConnectCreate");
@@ -2139,11 +2141,11 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
- **data** | [**ProviderSettingsRequest**](ProviderSettingsRequest.md)| | [optional]
+ **data** | [**ProviderSettingsWriteRequest**](ProviderSettingsWriteRequest.md)| | [optional]
### Return type
-[**ProviderSettings**](ProviderSettings.md)
+[**ProviderSettingsWrite**](ProviderSettingsWrite.md)
### Authorization
@@ -2210,6 +2212,136 @@ null (empty response body)
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **orgsOpenidConnectDynamicMappingsList**
+> List<DynamicMapping> orgsOpenidConnectDynamicMappingsList(org, providerSetting, page, pageSize)
+
+Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+
+Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.OrgsApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+OrgsApi apiInstance = new OrgsApi();
+String org = "org_example"; // String |
+String providerSetting = "providerSetting_example"; // String |
+java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
+java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
+try {
+ List result = apiInstance.orgsOpenidConnectDynamicMappingsList(org, providerSetting, page, pageSize);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling OrgsApi#orgsOpenidConnectDynamicMappingsList");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **providerSetting** | **String**| |
+ **page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
+ **pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
+
+### Return type
+
+[**List<DynamicMapping>**](DynamicMapping.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **orgsOpenidConnectDynamicMappingsRead**
+> DynamicMapping orgsOpenidConnectDynamicMappingsRead(org, providerSetting, claimValue)
+
+Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
+
+Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.OrgsApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+OrgsApi apiInstance = new OrgsApi();
+String org = "org_example"; // String |
+String providerSetting = "providerSetting_example"; // String |
+String claimValue = "claimValue_example"; // String |
+try {
+ DynamicMapping result = apiInstance.orgsOpenidConnectDynamicMappingsRead(org, providerSetting, claimValue);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling OrgsApi#orgsOpenidConnectDynamicMappingsRead");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **providerSetting** | **String**| |
+ **claimValue** | **String**| |
+
+### Return type
+
+[**DynamicMapping**](DynamicMapping.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -2285,7 +2417,7 @@ Name | Type | Description | Notes
# **orgsOpenidConnectPartialUpdate**
-> ProviderSettings orgsOpenidConnectPartialUpdate(org, slugPerm, data)
+> ProviderSettingsWrite orgsOpenidConnectPartialUpdate(org, slugPerm, data)
Update a specific OpenID Connect provider setting for the org.
@@ -2316,9 +2448,9 @@ basic.setPassword("YOUR PASSWORD");
OrgsApi apiInstance = new OrgsApi();
String org = "org_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-ProviderSettingsRequestPatch data = new ProviderSettingsRequestPatch(); // ProviderSettingsRequestPatch |
+ProviderSettingsWriteRequestPatch data = new ProviderSettingsWriteRequestPatch(); // ProviderSettingsWriteRequestPatch |
try {
- ProviderSettings result = apiInstance.orgsOpenidConnectPartialUpdate(org, slugPerm, data);
+ ProviderSettingsWrite result = apiInstance.orgsOpenidConnectPartialUpdate(org, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrgsApi#orgsOpenidConnectPartialUpdate");
@@ -2332,11 +2464,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
**slugPerm** | **String**| |
- **data** | [**ProviderSettingsRequestPatch**](ProviderSettingsRequestPatch.md)| | [optional]
+ **data** | [**ProviderSettingsWriteRequestPatch**](ProviderSettingsWriteRequestPatch.md)| | [optional]
### Return type
-[**ProviderSettings**](ProviderSettings.md)
+[**ProviderSettingsWrite**](ProviderSettingsWrite.md)
### Authorization
@@ -2411,7 +2543,7 @@ Name | Type | Description | Notes
# **orgsOpenidConnectUpdate**
-> ProviderSettings orgsOpenidConnectUpdate(org, slugPerm, data)
+> ProviderSettingsWrite orgsOpenidConnectUpdate(org, slugPerm, data)
Update a specific OpenID Connect provider setting for the org.
@@ -2442,9 +2574,9 @@ basic.setPassword("YOUR PASSWORD");
OrgsApi apiInstance = new OrgsApi();
String org = "org_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-ProviderSettingsRequest data = new ProviderSettingsRequest(); // ProviderSettingsRequest |
+ProviderSettingsWriteRequest data = new ProviderSettingsWriteRequest(); // ProviderSettingsWriteRequest |
try {
- ProviderSettings result = apiInstance.orgsOpenidConnectUpdate(org, slugPerm, data);
+ ProviderSettingsWrite result = apiInstance.orgsOpenidConnectUpdate(org, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrgsApi#orgsOpenidConnectUpdate");
@@ -2458,11 +2590,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
**slugPerm** | **String**| |
- **data** | [**ProviderSettingsRequest**](ProviderSettingsRequest.md)| | [optional]
+ **data** | [**ProviderSettingsWriteRequest**](ProviderSettingsWriteRequest.md)| | [optional]
### Return type
-[**ProviderSettings**](ProviderSettings.md)
+[**ProviderSettingsWrite**](ProviderSettingsWrite.md)
### Authorization
diff --git a/bindings/java/src/docs/PackagesApi.md b/bindings/java/src/docs/PackagesApi.md
index 9c236beb..205e0fcc 100644
--- a/bindings/java/src/docs/PackagesApi.md
+++ b/bindings/java/src/docs/PackagesApi.md
@@ -29,6 +29,7 @@ Method | HTTP request | Description
[**packagesUploadGo**](PackagesApi.md#packagesUploadGo) | **POST** /packages/{owner}/{repo}/upload/go/ | Create a new Go package
[**packagesUploadHelm**](PackagesApi.md#packagesUploadHelm) | **POST** /packages/{owner}/{repo}/upload/helm/ | Create a new Helm package
[**packagesUploadHex**](PackagesApi.md#packagesUploadHex) | **POST** /packages/{owner}/{repo}/upload/hex/ | Create a new Hex package
+[**packagesUploadHuggingface**](PackagesApi.md#packagesUploadHuggingface) | **POST** /packages/{owner}/{repo}/upload/huggingface/ | Create a new Hugging Face package
[**packagesUploadLuarocks**](PackagesApi.md#packagesUploadLuarocks) | **POST** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package
[**packagesUploadMaven**](PackagesApi.md#packagesUploadMaven) | **POST** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package
[**packagesUploadNpm**](PackagesApi.md#packagesUploadNpm) | **POST** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package
@@ -54,6 +55,7 @@ Method | HTTP request | Description
[**packagesValidateUploadGo**](PackagesApi.md#packagesValidateUploadGo) | **POST** /packages/{owner}/{repo}/validate-upload/go/ | Validate parameters for create Go package
[**packagesValidateUploadHelm**](PackagesApi.md#packagesValidateUploadHelm) | **POST** /packages/{owner}/{repo}/validate-upload/helm/ | Validate parameters for create Helm package
[**packagesValidateUploadHex**](PackagesApi.md#packagesValidateUploadHex) | **POST** /packages/{owner}/{repo}/validate-upload/hex/ | Validate parameters for create Hex package
+[**packagesValidateUploadHuggingface**](PackagesApi.md#packagesValidateUploadHuggingface) | **POST** /packages/{owner}/{repo}/validate-upload/huggingface/ | Validate parameters for create Hugging Face package
[**packagesValidateUploadLuarocks**](PackagesApi.md#packagesValidateUploadLuarocks) | **POST** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package
[**packagesValidateUploadMaven**](PackagesApi.md#packagesValidateUploadMaven) | **POST** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package
[**packagesValidateUploadNpm**](PackagesApi.md#packagesValidateUploadNpm) | **POST** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package
@@ -263,7 +265,7 @@ Name | Type | Description | Notes
# **packagesGroupsList**
-> InlineResponse200 packagesGroupsList(owner, repo, page, pageSize, groupBy, query, sort)
+> InlineResponse200 packagesGroupsList(owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort)
Return a list of Package Groups in a repository.
@@ -297,10 +299,11 @@ String repo = "repo_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
String groupBy = "name"; // String | A field to group packages by. Available options: name, backend_kind.
+Boolean hideSubcomponents = false; // Boolean | Whether to hide packages which are subcomponents of another package in the results
String query = ""; // String | A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages.
String sort = "name"; // String | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind.
try {
- InlineResponse200 result = apiInstance.packagesGroupsList(owner, repo, page, pageSize, groupBy, query, sort);
+ InlineResponse200 result = apiInstance.packagesGroupsList(owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PackagesApi#packagesGroupsList");
@@ -317,6 +320,7 @@ Name | Type | Description | Notes
**page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
**pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
**groupBy** | **String**| A field to group packages by. Available options: name, backend_kind. | [optional] [default to name]
+ **hideSubcomponents** | **Boolean**| Whether to hide packages which are subcomponents of another package in the results | [optional] [default to false]
**query** | **String**| A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. | [optional] [default to ]
**sort** | **String**| A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. | [optional] [default to name]
@@ -1684,6 +1688,70 @@ Name | Type | Description | Notes
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **packagesUploadHuggingface**
+> HuggingfacePackageUpload packagesUploadHuggingface(owner, repo, data)
+
+Create a new Hugging Face package
+
+Create a new Hugging Face package
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.PackagesApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+PackagesApi apiInstance = new PackagesApi();
+String owner = "owner_example"; // String |
+String repo = "repo_example"; // String |
+HuggingfacePackageUploadRequest data = new HuggingfacePackageUploadRequest(); // HuggingfacePackageUploadRequest |
+try {
+ HuggingfacePackageUpload result = apiInstance.packagesUploadHuggingface(owner, repo, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling PackagesApi#packagesUploadHuggingface");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **repo** | **String**| |
+ **data** | [**HuggingfacePackageUploadRequest**](HuggingfacePackageUploadRequest.md)| | [optional]
+
+### Return type
+
+[**HuggingfacePackageUpload**](HuggingfacePackageUpload.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
@@ -3271,6 +3339,69 @@ null (empty response body)
[apikey](../README.md#apikey), [basic](../README.md#basic)
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **packagesValidateUploadHuggingface**
+> packagesValidateUploadHuggingface(owner, repo, data)
+
+Validate parameters for create Hugging Face package
+
+Validate parameters for create Hugging Face package
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.PackagesApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+PackagesApi apiInstance = new PackagesApi();
+String owner = "owner_example"; // String |
+String repo = "repo_example"; // String |
+HuggingfacePackageUploadRequest data = new HuggingfacePackageUploadRequest(); // HuggingfacePackageUploadRequest |
+try {
+ apiInstance.packagesValidateUploadHuggingface(owner, repo, data);
+} catch (ApiException e) {
+ System.err.println("Exception when calling PackagesApi#packagesValidateUploadHuggingface");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **repo** | **String**| |
+ **data** | [**HuggingfacePackageUploadRequest**](HuggingfacePackageUploadRequest.md)| | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
### HTTP request headers
- **Content-Type**: application/json
diff --git a/bindings/java/src/docs/ProviderSettings.md b/bindings/java/src/docs/ProviderSettings.md
index 2f1dcfa5..a669c3d1 100644
--- a/bindings/java/src/docs/ProviderSettings.md
+++ b/bindings/java/src/docs/ProviderSettings.md
@@ -6,9 +6,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. |
**enabled** | **Boolean** | Whether the provider settings should be used for incoming OIDC requests. |
+**mappingClaim** | **String** | The OIDC claim to use for mapping to service accounts in dynamic_mappings. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional]
**name** | **String** | The name of the provider settings are being configured for |
**providerUrl** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ |
-**serviceAccounts** | **List<String>** | The service accounts associated with these provider settings |
+**serviceAccounts** | **List<String>** | The service accounts associated with these provider settings. | [optional]
**slug** | **String** | The slug of the provider settings | [optional]
**slugPerm** | **String** | The unique, immutable identifier of the provider settings. | [optional]
diff --git a/bindings/java/src/docs/ProviderSettingsRequest.md b/bindings/java/src/docs/ProviderSettingsRequest.md
deleted file mode 100644
index 3ed99b0f..00000000
--- a/bindings/java/src/docs/ProviderSettingsRequest.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-# ProviderSettingsRequest
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. |
-**enabled** | **Boolean** | Whether the provider settings should be used for incoming OIDC requests. |
-**name** | **String** | The name of the provider settings are being configured for |
-**providerUrl** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ |
-**serviceAccounts** | **List<String>** | The service accounts associated with these provider settings |
-
-
-
diff --git a/bindings/java/src/docs/ProviderSettingsRequestPatch.md b/bindings/java/src/docs/ProviderSettingsRequestPatch.md
deleted file mode 100644
index 062dd87e..00000000
--- a/bindings/java/src/docs/ProviderSettingsRequestPatch.md
+++ /dev/null
@@ -1,14 +0,0 @@
-
-# ProviderSettingsRequestPatch
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. | [optional]
-**enabled** | **Boolean** | Whether the provider settings should be used for incoming OIDC requests. | [optional]
-**name** | **String** | The name of the provider settings are being configured for | [optional]
-**providerUrl** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | [optional]
-**serviceAccounts** | **List<String>** | The service accounts associated with these provider settings | [optional]
-
-
-
diff --git a/bindings/java/src/docs/ProviderSettingsWrite.md b/bindings/java/src/docs/ProviderSettingsWrite.md
new file mode 100644
index 00000000..979bd61f
--- /dev/null
+++ b/bindings/java/src/docs/ProviderSettingsWrite.md
@@ -0,0 +1,18 @@
+
+# ProviderSettingsWrite
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. |
+**dynamicMappings** | [**List<DynamicMapping>**](DynamicMapping.md) | The dynamic mappings of `mapping_claim` values to service accounts. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional]
+**enabled** | **Boolean** | Whether the provider settings should be used for incoming OIDC requests. |
+**mappingClaim** | **String** | The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional]
+**name** | **String** | The name of the provider settings are being configured for |
+**providerUrl** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ |
+**serviceAccounts** | **List<String>** | The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. | [optional]
+**slug** | **String** | The slug of the provider settings | [optional]
+**slugPerm** | **String** | The unique, immutable identifier of the provider settings. | [optional]
+
+
+
diff --git a/bindings/java/src/docs/ProviderSettingsWriteRequest.md b/bindings/java/src/docs/ProviderSettingsWriteRequest.md
new file mode 100644
index 00000000..4c14b63d
--- /dev/null
+++ b/bindings/java/src/docs/ProviderSettingsWriteRequest.md
@@ -0,0 +1,16 @@
+
+# ProviderSettingsWriteRequest
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. |
+**dynamicMappings** | [**List<DynamicMapping>**](DynamicMapping.md) | The dynamic mappings of `mapping_claim` values to service accounts. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional]
+**enabled** | **Boolean** | Whether the provider settings should be used for incoming OIDC requests. |
+**mappingClaim** | **String** | The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional]
+**name** | **String** | The name of the provider settings are being configured for |
+**providerUrl** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ |
+**serviceAccounts** | **List<String>** | The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. | [optional]
+
+
+
diff --git a/bindings/java/src/docs/ProviderSettingsWriteRequestPatch.md b/bindings/java/src/docs/ProviderSettingsWriteRequestPatch.md
new file mode 100644
index 00000000..c3ba8294
--- /dev/null
+++ b/bindings/java/src/docs/ProviderSettingsWriteRequestPatch.md
@@ -0,0 +1,16 @@
+
+# ProviderSettingsWriteRequestPatch
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**claims** | **Object** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. | [optional]
+**dynamicMappings** | [**List<DynamicMapping>**](DynamicMapping.md) | The dynamic mappings of `mapping_claim` values to service accounts. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional]
+**enabled** | **Boolean** | Whether the provider settings should be used for incoming OIDC requests. | [optional]
+**mappingClaim** | **String** | The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional]
+**name** | **String** | The name of the provider settings are being configured for | [optional]
+**providerUrl** | **String** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | [optional]
+**serviceAccounts** | **List<String>** | The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. | [optional]
+
+
+
diff --git a/bindings/java/src/docs/ReposApi.md b/bindings/java/src/docs/ReposApi.md
index fbfbaa9b..80618f76 100644
--- a/bindings/java/src/docs/ReposApi.md
+++ b/bindings/java/src/docs/ReposApi.md
@@ -43,6 +43,12 @@ Method | HTTP request | Description
[**reposUpstreamComposerPartialUpdate**](ReposApi.md#reposUpstreamComposerPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Partially update a Composer upstream config for this repository.
[**reposUpstreamComposerRead**](ReposApi.md#reposUpstreamComposerRead) | **GET** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Retrieve a Composer upstream config for this repository.
[**reposUpstreamComposerUpdate**](ReposApi.md#reposUpstreamComposerUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/ | Update a Composer upstream config for this repository.
+[**reposUpstreamCondaCreate**](ReposApi.md#reposUpstreamCondaCreate) | **POST** /repos/{owner}/{identifier}/upstream/conda/ | Create a Conda upstream config for this repository.
+[**reposUpstreamCondaDelete**](ReposApi.md#reposUpstreamCondaDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Delete a Conda upstream config for this repository.
+[**reposUpstreamCondaList**](ReposApi.md#reposUpstreamCondaList) | **GET** /repos/{owner}/{identifier}/upstream/conda/ | List Conda upstream configs for this repository.
+[**reposUpstreamCondaPartialUpdate**](ReposApi.md#reposUpstreamCondaPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Partially update a Conda upstream config for this repository.
+[**reposUpstreamCondaRead**](ReposApi.md#reposUpstreamCondaRead) | **GET** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Retrieve a Conda upstream config for this repository.
+[**reposUpstreamCondaUpdate**](ReposApi.md#reposUpstreamCondaUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/ | Update a Conda upstream config for this repository.
[**reposUpstreamCranCreate**](ReposApi.md#reposUpstreamCranCreate) | **POST** /repos/{owner}/{identifier}/upstream/cran/ | Create a CRAN upstream config for this repository.
[**reposUpstreamCranDelete**](ReposApi.md#reposUpstreamCranDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/cran/{slug_perm}/ | Delete a CRAN upstream config for this repository.
[**reposUpstreamCranList**](ReposApi.md#reposUpstreamCranList) | **GET** /repos/{owner}/{identifier}/upstream/cran/ | List CRAN upstream configs for this repository.
@@ -85,6 +91,12 @@ Method | HTTP request | Description
[**reposUpstreamHexPartialUpdate**](ReposApi.md#reposUpstreamHexPartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Partially update a Hex upstream config for this repository.
[**reposUpstreamHexRead**](ReposApi.md#reposUpstreamHexRead) | **GET** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Retrieve a Hex upstream config for this repository.
[**reposUpstreamHexUpdate**](ReposApi.md#reposUpstreamHexUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/ | Update a Hex upstream config for this repository.
+[**reposUpstreamHuggingfaceCreate**](ReposApi.md#reposUpstreamHuggingfaceCreate) | **POST** /repos/{owner}/{identifier}/upstream/huggingface/ | Create a Hugging Face upstream config for this repository.
+[**reposUpstreamHuggingfaceDelete**](ReposApi.md#reposUpstreamHuggingfaceDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Delete a Hugging Face upstream config for this repository.
+[**reposUpstreamHuggingfaceList**](ReposApi.md#reposUpstreamHuggingfaceList) | **GET** /repos/{owner}/{identifier}/upstream/huggingface/ | List Hugging Face upstream configs for this repository.
+[**reposUpstreamHuggingfacePartialUpdate**](ReposApi.md#reposUpstreamHuggingfacePartialUpdate) | **PATCH** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Partially update a Hugging Face upstream config for this repository.
+[**reposUpstreamHuggingfaceRead**](ReposApi.md#reposUpstreamHuggingfaceRead) | **GET** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Retrieve a Hugging Face upstream config for this repository.
+[**reposUpstreamHuggingfaceUpdate**](ReposApi.md#reposUpstreamHuggingfaceUpdate) | **PUT** /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/ | Update a Hugging Face upstream config for this repository.
[**reposUpstreamMavenCreate**](ReposApi.md#reposUpstreamMavenCreate) | **POST** /repos/{owner}/{identifier}/upstream/maven/ | Create a Maven upstream config for this repository.
[**reposUpstreamMavenDelete**](ReposApi.md#reposUpstreamMavenDelete) | **DELETE** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Delete a Maven upstream config for this repository.
[**reposUpstreamMavenList**](ReposApi.md#reposUpstreamMavenList) | **GET** /repos/{owner}/{identifier}/upstream/maven/ | List Maven upstream configs for this repository.
@@ -2610,13 +2622,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamCranCreate**
-> CranUpstream reposUpstreamCranCreate(owner, identifier, data)
+
+# **reposUpstreamCondaCreate**
+> CondaUpstream reposUpstreamCondaCreate(owner, identifier, data)
-Create a CRAN upstream config for this repository.
+Create a Conda upstream config for this repository.
-Create a CRAN upstream config for this repository.
+Create a Conda upstream config for this repository.
### Example
```java
@@ -2643,12 +2655,12 @@ basic.setPassword("YOUR PASSWORD");
ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
-CranUpstreamRequest data = new CranUpstreamRequest(); // CranUpstreamRequest |
+CondaUpstreamRequest data = new CondaUpstreamRequest(); // CondaUpstreamRequest |
try {
- CranUpstream result = apiInstance.reposUpstreamCranCreate(owner, identifier, data);
+ CondaUpstream result = apiInstance.reposUpstreamCondaCreate(owner, identifier, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamCranCreate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCondaCreate");
e.printStackTrace();
}
```
@@ -2659,11 +2671,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
**identifier** | **String**| |
- **data** | [**CranUpstreamRequest**](CranUpstreamRequest.md)| | [optional]
+ **data** | [**CondaUpstreamRequest**](CondaUpstreamRequest.md)| | [optional]
### Return type
-[**CranUpstream**](CranUpstream.md)
+[**CondaUpstream**](CondaUpstream.md)
### Authorization
@@ -2674,13 +2686,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamCranDelete**
-> reposUpstreamCranDelete(owner, identifier, slugPerm)
+
+# **reposUpstreamCondaDelete**
+> reposUpstreamCondaDelete(owner, identifier, slugPerm)
-Delete a CRAN upstream config for this repository.
+Delete a Conda upstream config for this repository.
-Delete a CRAN upstream config for this repository.
+Delete a Conda upstream config for this repository.
### Example
```java
@@ -2709,9 +2721,9 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- apiInstance.reposUpstreamCranDelete(owner, identifier, slugPerm);
+ apiInstance.reposUpstreamCondaDelete(owner, identifier, slugPerm);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamCranDelete");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCondaDelete");
e.printStackTrace();
}
```
@@ -2737,13 +2749,13 @@ null (empty response body)
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamCranList**
-> List<CranUpstream> reposUpstreamCranList(owner, identifier, page, pageSize)
+
+# **reposUpstreamCondaList**
+> List<CondaUpstream> reposUpstreamCondaList(owner, identifier, page, pageSize)
-List CRAN upstream configs for this repository.
+List Conda upstream configs for this repository.
-List CRAN upstream configs for this repository.
+List Conda upstream configs for this repository.
### Example
```java
@@ -2773,10 +2785,10 @@ String identifier = "identifier_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- List result = apiInstance.reposUpstreamCranList(owner, identifier, page, pageSize);
+ List result = apiInstance.reposUpstreamCondaList(owner, identifier, page, pageSize);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamCranList");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCondaList");
e.printStackTrace();
}
```
@@ -2792,7 +2804,7 @@ Name | Type | Description | Notes
### Return type
-[**List<CranUpstream>**](CranUpstream.md)
+[**List<CondaUpstream>**](CondaUpstream.md)
### Authorization
@@ -2803,13 +2815,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamCranPartialUpdate**
-> CranUpstream reposUpstreamCranPartialUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamCondaPartialUpdate**
+> CondaUpstream reposUpstreamCondaPartialUpdate(owner, identifier, slugPerm, data)
-Partially update a CRAN upstream config for this repository.
+Partially update a Conda upstream config for this repository.
-Partially update a CRAN upstream config for this repository.
+Partially update a Conda upstream config for this repository.
### Example
```java
@@ -2837,12 +2849,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-CranUpstreamRequestPatch data = new CranUpstreamRequestPatch(); // CranUpstreamRequestPatch |
+CondaUpstreamRequestPatch data = new CondaUpstreamRequestPatch(); // CondaUpstreamRequestPatch |
try {
- CranUpstream result = apiInstance.reposUpstreamCranPartialUpdate(owner, identifier, slugPerm, data);
+ CondaUpstream result = apiInstance.reposUpstreamCondaPartialUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamCranPartialUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCondaPartialUpdate");
e.printStackTrace();
}
```
@@ -2854,11 +2866,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**CranUpstreamRequestPatch**](CranUpstreamRequestPatch.md)| | [optional]
+ **data** | [**CondaUpstreamRequestPatch**](CondaUpstreamRequestPatch.md)| | [optional]
### Return type
-[**CranUpstream**](CranUpstream.md)
+[**CondaUpstream**](CondaUpstream.md)
### Authorization
@@ -2869,13 +2881,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamCranRead**
-> CranUpstream reposUpstreamCranRead(owner, identifier, slugPerm)
+
+# **reposUpstreamCondaRead**
+> CondaUpstream reposUpstreamCondaRead(owner, identifier, slugPerm)
-Retrieve a CRAN upstream config for this repository.
+Retrieve a Conda upstream config for this repository.
-Retrieve a CRAN upstream config for this repository.
+Retrieve a Conda upstream config for this repository.
### Example
```java
@@ -2904,10 +2916,10 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- CranUpstream result = apiInstance.reposUpstreamCranRead(owner, identifier, slugPerm);
+ CondaUpstream result = apiInstance.reposUpstreamCondaRead(owner, identifier, slugPerm);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamCranRead");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCondaRead");
e.printStackTrace();
}
```
@@ -2922,7 +2934,7 @@ Name | Type | Description | Notes
### Return type
-[**CranUpstream**](CranUpstream.md)
+[**CondaUpstream**](CondaUpstream.md)
### Authorization
@@ -2933,13 +2945,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamCranUpdate**
-> CranUpstream reposUpstreamCranUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamCondaUpdate**
+> CondaUpstream reposUpstreamCondaUpdate(owner, identifier, slugPerm, data)
-Update a CRAN upstream config for this repository.
+Update a Conda upstream config for this repository.
-Update a CRAN upstream config for this repository.
+Update a Conda upstream config for this repository.
### Example
```java
@@ -2967,12 +2979,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-CranUpstreamRequest data = new CranUpstreamRequest(); // CranUpstreamRequest |
+CondaUpstreamRequest data = new CondaUpstreamRequest(); // CondaUpstreamRequest |
try {
- CranUpstream result = apiInstance.reposUpstreamCranUpdate(owner, identifier, slugPerm, data);
+ CondaUpstream result = apiInstance.reposUpstreamCondaUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamCranUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCondaUpdate");
e.printStackTrace();
}
```
@@ -2984,11 +2996,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**CranUpstreamRequest**](CranUpstreamRequest.md)| | [optional]
+ **data** | [**CondaUpstreamRequest**](CondaUpstreamRequest.md)| | [optional]
### Return type
-[**CranUpstream**](CranUpstream.md)
+[**CondaUpstream**](CondaUpstream.md)
### Authorization
@@ -2999,13 +3011,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDartCreate**
-> DartUpstream reposUpstreamDartCreate(owner, identifier, data)
+
+# **reposUpstreamCranCreate**
+> CranUpstream reposUpstreamCranCreate(owner, identifier, data)
-Create a Dart upstream config for this repository.
+Create a CRAN upstream config for this repository.
-Create a Dart upstream config for this repository.
+Create a CRAN upstream config for this repository.
### Example
```java
@@ -3032,12 +3044,12 @@ basic.setPassword("YOUR PASSWORD");
ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
-DartUpstreamRequest data = new DartUpstreamRequest(); // DartUpstreamRequest |
+CranUpstreamRequest data = new CranUpstreamRequest(); // CranUpstreamRequest |
try {
- DartUpstream result = apiInstance.reposUpstreamDartCreate(owner, identifier, data);
+ CranUpstream result = apiInstance.reposUpstreamCranCreate(owner, identifier, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDartCreate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCranCreate");
e.printStackTrace();
}
```
@@ -3048,11 +3060,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
**identifier** | **String**| |
- **data** | [**DartUpstreamRequest**](DartUpstreamRequest.md)| | [optional]
+ **data** | [**CranUpstreamRequest**](CranUpstreamRequest.md)| | [optional]
### Return type
-[**DartUpstream**](DartUpstream.md)
+[**CranUpstream**](CranUpstream.md)
### Authorization
@@ -3063,13 +3075,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDartDelete**
-> reposUpstreamDartDelete(owner, identifier, slugPerm)
+
+# **reposUpstreamCranDelete**
+> reposUpstreamCranDelete(owner, identifier, slugPerm)
-Delete a Dart upstream config for this repository.
+Delete a CRAN upstream config for this repository.
-Delete a Dart upstream config for this repository.
+Delete a CRAN upstream config for this repository.
### Example
```java
@@ -3098,9 +3110,9 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- apiInstance.reposUpstreamDartDelete(owner, identifier, slugPerm);
+ apiInstance.reposUpstreamCranDelete(owner, identifier, slugPerm);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDartDelete");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCranDelete");
e.printStackTrace();
}
```
@@ -3126,13 +3138,13 @@ null (empty response body)
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDartList**
-> List<DartUpstream> reposUpstreamDartList(owner, identifier, page, pageSize)
+
+# **reposUpstreamCranList**
+> List<CranUpstream> reposUpstreamCranList(owner, identifier, page, pageSize)
-List Dart upstream configs for this repository.
+List CRAN upstream configs for this repository.
-List Dart upstream configs for this repository.
+List CRAN upstream configs for this repository.
### Example
```java
@@ -3162,10 +3174,10 @@ String identifier = "identifier_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- List result = apiInstance.reposUpstreamDartList(owner, identifier, page, pageSize);
+ List result = apiInstance.reposUpstreamCranList(owner, identifier, page, pageSize);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDartList");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCranList");
e.printStackTrace();
}
```
@@ -3181,7 +3193,7 @@ Name | Type | Description | Notes
### Return type
-[**List<DartUpstream>**](DartUpstream.md)
+[**List<CranUpstream>**](CranUpstream.md)
### Authorization
@@ -3192,13 +3204,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDartPartialUpdate**
-> DartUpstream reposUpstreamDartPartialUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamCranPartialUpdate**
+> CranUpstream reposUpstreamCranPartialUpdate(owner, identifier, slugPerm, data)
-Partially update a Dart upstream config for this repository.
+Partially update a CRAN upstream config for this repository.
-Partially update a Dart upstream config for this repository.
+Partially update a CRAN upstream config for this repository.
### Example
```java
@@ -3226,12 +3238,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-DartUpstreamRequestPatch data = new DartUpstreamRequestPatch(); // DartUpstreamRequestPatch |
+CranUpstreamRequestPatch data = new CranUpstreamRequestPatch(); // CranUpstreamRequestPatch |
try {
- DartUpstream result = apiInstance.reposUpstreamDartPartialUpdate(owner, identifier, slugPerm, data);
+ CranUpstream result = apiInstance.reposUpstreamCranPartialUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDartPartialUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCranPartialUpdate");
e.printStackTrace();
}
```
@@ -3243,11 +3255,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**DartUpstreamRequestPatch**](DartUpstreamRequestPatch.md)| | [optional]
+ **data** | [**CranUpstreamRequestPatch**](CranUpstreamRequestPatch.md)| | [optional]
### Return type
-[**DartUpstream**](DartUpstream.md)
+[**CranUpstream**](CranUpstream.md)
### Authorization
@@ -3258,13 +3270,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDartRead**
-> DartUpstream reposUpstreamDartRead(owner, identifier, slugPerm)
+
+# **reposUpstreamCranRead**
+> CranUpstream reposUpstreamCranRead(owner, identifier, slugPerm)
-Retrieve a Dart upstream config for this repository.
+Retrieve a CRAN upstream config for this repository.
-Retrieve a Dart upstream config for this repository.
+Retrieve a CRAN upstream config for this repository.
### Example
```java
@@ -3293,10 +3305,10 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- DartUpstream result = apiInstance.reposUpstreamDartRead(owner, identifier, slugPerm);
+ CranUpstream result = apiInstance.reposUpstreamCranRead(owner, identifier, slugPerm);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDartRead");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCranRead");
e.printStackTrace();
}
```
@@ -3311,7 +3323,7 @@ Name | Type | Description | Notes
### Return type
-[**DartUpstream**](DartUpstream.md)
+[**CranUpstream**](CranUpstream.md)
### Authorization
@@ -3322,13 +3334,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDartUpdate**
-> DartUpstream reposUpstreamDartUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamCranUpdate**
+> CranUpstream reposUpstreamCranUpdate(owner, identifier, slugPerm, data)
-Update a Dart upstream config for this repository.
+Update a CRAN upstream config for this repository.
-Update a Dart upstream config for this repository.
+Update a CRAN upstream config for this repository.
### Example
```java
@@ -3356,12 +3368,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-DartUpstreamRequest data = new DartUpstreamRequest(); // DartUpstreamRequest |
+CranUpstreamRequest data = new CranUpstreamRequest(); // CranUpstreamRequest |
try {
- DartUpstream result = apiInstance.reposUpstreamDartUpdate(owner, identifier, slugPerm, data);
+ CranUpstream result = apiInstance.reposUpstreamCranUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDartUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamCranUpdate");
e.printStackTrace();
}
```
@@ -3373,11 +3385,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**DartUpstreamRequest**](DartUpstreamRequest.md)| | [optional]
+ **data** | [**CranUpstreamRequest**](CranUpstreamRequest.md)| | [optional]
### Return type
-[**DartUpstream**](DartUpstream.md)
+[**CranUpstream**](CranUpstream.md)
### Authorization
@@ -3388,13 +3400,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDebCreate**
-> DebUpstream reposUpstreamDebCreate(owner, identifier, data)
+
+# **reposUpstreamDartCreate**
+> DartUpstream reposUpstreamDartCreate(owner, identifier, data)
-Create a Debian upstream config for this repository.
+Create a Dart upstream config for this repository.
-Create a Debian upstream config for this repository.
+Create a Dart upstream config for this repository.
### Example
```java
@@ -3421,12 +3433,12 @@ basic.setPassword("YOUR PASSWORD");
ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
-DebUpstreamRequest data = new DebUpstreamRequest(); // DebUpstreamRequest |
+DartUpstreamRequest data = new DartUpstreamRequest(); // DartUpstreamRequest |
try {
- DebUpstream result = apiInstance.reposUpstreamDebCreate(owner, identifier, data);
+ DartUpstream result = apiInstance.reposUpstreamDartCreate(owner, identifier, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDebCreate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamDartCreate");
e.printStackTrace();
}
```
@@ -3437,11 +3449,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
**identifier** | **String**| |
- **data** | [**DebUpstreamRequest**](DebUpstreamRequest.md)| | [optional]
+ **data** | [**DartUpstreamRequest**](DartUpstreamRequest.md)| | [optional]
### Return type
-[**DebUpstream**](DebUpstream.md)
+[**DartUpstream**](DartUpstream.md)
### Authorization
@@ -3452,13 +3464,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDebDelete**
-> reposUpstreamDebDelete(owner, identifier, slugPerm)
+
+# **reposUpstreamDartDelete**
+> reposUpstreamDartDelete(owner, identifier, slugPerm)
-Delete a Debian upstream config for this repository.
+Delete a Dart upstream config for this repository.
-Delete a Debian upstream config for this repository.
+Delete a Dart upstream config for this repository.
### Example
```java
@@ -3487,9 +3499,9 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- apiInstance.reposUpstreamDebDelete(owner, identifier, slugPerm);
+ apiInstance.reposUpstreamDartDelete(owner, identifier, slugPerm);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDebDelete");
+ System.err.println("Exception when calling ReposApi#reposUpstreamDartDelete");
e.printStackTrace();
}
```
@@ -3515,13 +3527,13 @@ null (empty response body)
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDebList**
-> List<DebUpstream> reposUpstreamDebList(owner, identifier, page, pageSize)
+
+# **reposUpstreamDartList**
+> List<DartUpstream> reposUpstreamDartList(owner, identifier, page, pageSize)
-List Debian upstream configs for this repository.
+List Dart upstream configs for this repository.
-List Debian upstream configs for this repository.
+List Dart upstream configs for this repository.
### Example
```java
@@ -3551,10 +3563,10 @@ String identifier = "identifier_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- List result = apiInstance.reposUpstreamDebList(owner, identifier, page, pageSize);
+ List result = apiInstance.reposUpstreamDartList(owner, identifier, page, pageSize);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDebList");
+ System.err.println("Exception when calling ReposApi#reposUpstreamDartList");
e.printStackTrace();
}
```
@@ -3570,7 +3582,7 @@ Name | Type | Description | Notes
### Return type
-[**List<DebUpstream>**](DebUpstream.md)
+[**List<DartUpstream>**](DartUpstream.md)
### Authorization
@@ -3581,13 +3593,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDebPartialUpdate**
-> DebUpstream reposUpstreamDebPartialUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamDartPartialUpdate**
+> DartUpstream reposUpstreamDartPartialUpdate(owner, identifier, slugPerm, data)
-Partially update a Debian upstream config for this repository.
+Partially update a Dart upstream config for this repository.
-Partially update a Debian upstream config for this repository.
+Partially update a Dart upstream config for this repository.
### Example
```java
@@ -3615,12 +3627,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-DebUpstreamRequestPatch data = new DebUpstreamRequestPatch(); // DebUpstreamRequestPatch |
+DartUpstreamRequestPatch data = new DartUpstreamRequestPatch(); // DartUpstreamRequestPatch |
try {
- DebUpstream result = apiInstance.reposUpstreamDebPartialUpdate(owner, identifier, slugPerm, data);
+ DartUpstream result = apiInstance.reposUpstreamDartPartialUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDebPartialUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamDartPartialUpdate");
e.printStackTrace();
}
```
@@ -3632,11 +3644,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**DebUpstreamRequestPatch**](DebUpstreamRequestPatch.md)| | [optional]
+ **data** | [**DartUpstreamRequestPatch**](DartUpstreamRequestPatch.md)| | [optional]
### Return type
-[**DebUpstream**](DebUpstream.md)
+[**DartUpstream**](DartUpstream.md)
### Authorization
@@ -3647,13 +3659,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDebRead**
-> DebUpstream reposUpstreamDebRead(owner, identifier, slugPerm)
+
+# **reposUpstreamDartRead**
+> DartUpstream reposUpstreamDartRead(owner, identifier, slugPerm)
-Retrieve a Debian upstream config for this repository.
+Retrieve a Dart upstream config for this repository.
-Retrieve a Debian upstream config for this repository.
+Retrieve a Dart upstream config for this repository.
### Example
```java
@@ -3682,10 +3694,10 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- DebUpstream result = apiInstance.reposUpstreamDebRead(owner, identifier, slugPerm);
+ DartUpstream result = apiInstance.reposUpstreamDartRead(owner, identifier, slugPerm);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDebRead");
+ System.err.println("Exception when calling ReposApi#reposUpstreamDartRead");
e.printStackTrace();
}
```
@@ -3700,7 +3712,7 @@ Name | Type | Description | Notes
### Return type
-[**DebUpstream**](DebUpstream.md)
+[**DartUpstream**](DartUpstream.md)
### Authorization
@@ -3711,13 +3723,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDebUpdate**
-> DebUpstream reposUpstreamDebUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamDartUpdate**
+> DartUpstream reposUpstreamDartUpdate(owner, identifier, slugPerm, data)
-Update a Debian upstream config for this repository.
+Update a Dart upstream config for this repository.
-Update a Debian upstream config for this repository.
+Update a Dart upstream config for this repository.
### Example
```java
@@ -3745,12 +3757,660 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-DebUpstreamRequest data = new DebUpstreamRequest(); // DebUpstreamRequest |
+DartUpstreamRequest data = new DartUpstreamRequest(); // DartUpstreamRequest |
+try {
+ DartUpstream result = apiInstance.reposUpstreamDartUpdate(owner, identifier, slugPerm, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDartUpdate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+ **data** | [**DartUpstreamRequest**](DartUpstreamRequest.md)| | [optional]
+
+### Return type
+
+[**DartUpstream**](DartUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDebCreate**
+> DebUpstream reposUpstreamDebCreate(owner, identifier, data)
+
+Create a Debian upstream config for this repository.
+
+Create a Debian upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+DebUpstreamRequest data = new DebUpstreamRequest(); // DebUpstreamRequest |
+try {
+ DebUpstream result = apiInstance.reposUpstreamDebCreate(owner, identifier, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDebCreate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **data** | [**DebUpstreamRequest**](DebUpstreamRequest.md)| | [optional]
+
+### Return type
+
+[**DebUpstream**](DebUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDebDelete**
+> reposUpstreamDebDelete(owner, identifier, slugPerm)
+
+Delete a Debian upstream config for this repository.
+
+Delete a Debian upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+try {
+ apiInstance.reposUpstreamDebDelete(owner, identifier, slugPerm);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDebDelete");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDebList**
+> List<DebUpstream> reposUpstreamDebList(owner, identifier, page, pageSize)
+
+List Debian upstream configs for this repository.
+
+List Debian upstream configs for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
+java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
+try {
+ List result = apiInstance.reposUpstreamDebList(owner, identifier, page, pageSize);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDebList");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
+ **pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
+
+### Return type
+
+[**List<DebUpstream>**](DebUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDebPartialUpdate**
+> DebUpstream reposUpstreamDebPartialUpdate(owner, identifier, slugPerm, data)
+
+Partially update a Debian upstream config for this repository.
+
+Partially update a Debian upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+DebUpstreamRequestPatch data = new DebUpstreamRequestPatch(); // DebUpstreamRequestPatch |
+try {
+ DebUpstream result = apiInstance.reposUpstreamDebPartialUpdate(owner, identifier, slugPerm, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDebPartialUpdate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+ **data** | [**DebUpstreamRequestPatch**](DebUpstreamRequestPatch.md)| | [optional]
+
+### Return type
+
+[**DebUpstream**](DebUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDebRead**
+> DebUpstream reposUpstreamDebRead(owner, identifier, slugPerm)
+
+Retrieve a Debian upstream config for this repository.
+
+Retrieve a Debian upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+try {
+ DebUpstream result = apiInstance.reposUpstreamDebRead(owner, identifier, slugPerm);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDebRead");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+
+### Return type
+
+[**DebUpstream**](DebUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDebUpdate**
+> DebUpstream reposUpstreamDebUpdate(owner, identifier, slugPerm, data)
+
+Update a Debian upstream config for this repository.
+
+Update a Debian upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+DebUpstreamRequest data = new DebUpstreamRequest(); // DebUpstreamRequest |
+try {
+ DebUpstream result = apiInstance.reposUpstreamDebUpdate(owner, identifier, slugPerm, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDebUpdate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+ **data** | [**DebUpstreamRequest**](DebUpstreamRequest.md)| | [optional]
+
+### Return type
+
+[**DebUpstream**](DebUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDockerCreate**
+> DockerUpstream reposUpstreamDockerCreate(owner, identifier, data)
+
+Create a Docker upstream config for this repository.
+
+Create a Docker upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+DockerUpstreamRequest data = new DockerUpstreamRequest(); // DockerUpstreamRequest |
+try {
+ DockerUpstream result = apiInstance.reposUpstreamDockerCreate(owner, identifier, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDockerCreate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **data** | [**DockerUpstreamRequest**](DockerUpstreamRequest.md)| | [optional]
+
+### Return type
+
+[**DockerUpstream**](DockerUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDockerDelete**
+> reposUpstreamDockerDelete(owner, identifier, slugPerm)
+
+Delete a Docker upstream config for this repository.
+
+Delete a Docker upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+try {
+ apiInstance.reposUpstreamDockerDelete(owner, identifier, slugPerm);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDockerDelete");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDockerList**
+> List<DockerUpstream> reposUpstreamDockerList(owner, identifier, page, pageSize)
+
+List Docker upstream configs for this repository.
+
+List Docker upstream configs for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
+java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
+try {
+ List result = apiInstance.reposUpstreamDockerList(owner, identifier, page, pageSize);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDockerList");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **page** | **java.math.BigInteger**| A page number within the paginated result set. | [optional]
+ **pageSize** | **java.math.BigInteger**| Number of results to return per page. | [optional]
+
+### Return type
+
+[**List<DockerUpstream>**](DockerUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDockerPartialUpdate**
+> DockerUpstream reposUpstreamDockerPartialUpdate(owner, identifier, slugPerm, data)
+
+Partially update a Docker upstream config for this repository.
+
+Partially update a Docker upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+DockerUpstreamRequestPatch data = new DockerUpstreamRequestPatch(); // DockerUpstreamRequestPatch |
try {
- DebUpstream result = apiInstance.reposUpstreamDebUpdate(owner, identifier, slugPerm, data);
+ DockerUpstream result = apiInstance.reposUpstreamDockerPartialUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDebUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamDockerPartialUpdate");
e.printStackTrace();
}
```
@@ -3762,11 +4422,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**DebUpstreamRequest**](DebUpstreamRequest.md)| | [optional]
+ **data** | [**DockerUpstreamRequestPatch**](DockerUpstreamRequestPatch.md)| | [optional]
### Return type
-[**DebUpstream**](DebUpstream.md)
+[**DockerUpstream**](DockerUpstream.md)
### Authorization
@@ -3777,13 +4437,77 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDockerCreate**
-> DockerUpstream reposUpstreamDockerCreate(owner, identifier, data)
+
+# **reposUpstreamDockerRead**
+> DockerUpstream reposUpstreamDockerRead(owner, identifier, slugPerm)
-Create a Docker upstream config for this repository.
+Retrieve a Docker upstream config for this repository.
-Create a Docker upstream config for this repository.
+Retrieve a Docker upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
+try {
+ DockerUpstream result = apiInstance.reposUpstreamDockerRead(owner, identifier, slugPerm);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamDockerRead");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **slugPerm** | **String**| |
+
+### Return type
+
+[**DockerUpstream**](DockerUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamDockerUpdate**
+> DockerUpstream reposUpstreamDockerUpdate(owner, identifier, slugPerm, data)
+
+Update a Docker upstream config for this repository.
+
+Update a Docker upstream config for this repository.
### Example
```java
@@ -3810,12 +4534,13 @@ basic.setPassword("YOUR PASSWORD");
ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
+String slugPerm = "slugPerm_example"; // String |
DockerUpstreamRequest data = new DockerUpstreamRequest(); // DockerUpstreamRequest |
try {
- DockerUpstream result = apiInstance.reposUpstreamDockerCreate(owner, identifier, data);
+ DockerUpstream result = apiInstance.reposUpstreamDockerUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDockerCreate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamDockerUpdate");
e.printStackTrace();
}
```
@@ -3826,6 +4551,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
**identifier** | **String**| |
+ **slugPerm** | **String**| |
**data** | [**DockerUpstreamRequest**](DockerUpstreamRequest.md)| | [optional]
### Return type
@@ -3841,13 +4567,77 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDockerDelete**
-> reposUpstreamDockerDelete(owner, identifier, slugPerm)
+
+# **reposUpstreamGoCreate**
+> GoUpstream reposUpstreamGoCreate(owner, identifier, data)
-Delete a Docker upstream config for this repository.
+Create a Go upstream config for this repository.
-Delete a Docker upstream config for this repository.
+Create a Go upstream config for this repository.
+
+### Example
+```java
+// Import classes:
+//import io.cloudsmith.api.ApiClient;
+//import io.cloudsmith.api.ApiException;
+//import io.cloudsmith.api.Configuration;
+//import io.cloudsmith.api.auth.*;
+//import io.cloudsmith.api.apis.ReposApi;
+
+ApiClient defaultClient = Configuration.getDefaultApiClient();
+
+// Configure API key authorization: apikey
+ApiKeyAuth apikey = (ApiKeyAuth) defaultClient.getAuthentication("apikey");
+apikey.setApiKey("YOUR API KEY");
+// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+//apikey.setApiKeyPrefix("Token");
+
+// Configure HTTP basic authorization: basic
+HttpBasicAuth basic = (HttpBasicAuth) defaultClient.getAuthentication("basic");
+basic.setUsername("YOUR USERNAME");
+basic.setPassword("YOUR PASSWORD");
+
+ReposApi apiInstance = new ReposApi();
+String owner = "owner_example"; // String |
+String identifier = "identifier_example"; // String |
+GoUpstreamRequest data = new GoUpstreamRequest(); // GoUpstreamRequest |
+try {
+ GoUpstream result = apiInstance.reposUpstreamGoCreate(owner, identifier, data);
+ System.out.println(result);
+} catch (ApiException e) {
+ System.err.println("Exception when calling ReposApi#reposUpstreamGoCreate");
+ e.printStackTrace();
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **owner** | **String**| |
+ **identifier** | **String**| |
+ **data** | [**GoUpstreamRequest**](GoUpstreamRequest.md)| | [optional]
+
+### Return type
+
+[**GoUpstream**](GoUpstream.md)
+
+### Authorization
+
+[apikey](../README.md#apikey), [basic](../README.md#basic)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+# **reposUpstreamGoDelete**
+> reposUpstreamGoDelete(owner, identifier, slugPerm)
+
+Delete a Go upstream config for this repository.
+
+Delete a Go upstream config for this repository.
### Example
```java
@@ -3876,9 +4666,9 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- apiInstance.reposUpstreamDockerDelete(owner, identifier, slugPerm);
+ apiInstance.reposUpstreamGoDelete(owner, identifier, slugPerm);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDockerDelete");
+ System.err.println("Exception when calling ReposApi#reposUpstreamGoDelete");
e.printStackTrace();
}
```
@@ -3904,13 +4694,13 @@ null (empty response body)
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDockerList**
-> List<DockerUpstream> reposUpstreamDockerList(owner, identifier, page, pageSize)
+
+# **reposUpstreamGoList**
+> List<GoUpstream> reposUpstreamGoList(owner, identifier, page, pageSize)
-List Docker upstream configs for this repository.
+List Go upstream configs for this repository.
-List Docker upstream configs for this repository.
+List Go upstream configs for this repository.
### Example
```java
@@ -3940,10 +4730,10 @@ String identifier = "identifier_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- List result = apiInstance.reposUpstreamDockerList(owner, identifier, page, pageSize);
+ List result = apiInstance.reposUpstreamGoList(owner, identifier, page, pageSize);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDockerList");
+ System.err.println("Exception when calling ReposApi#reposUpstreamGoList");
e.printStackTrace();
}
```
@@ -3959,7 +4749,7 @@ Name | Type | Description | Notes
### Return type
-[**List<DockerUpstream>**](DockerUpstream.md)
+[**List<GoUpstream>**](GoUpstream.md)
### Authorization
@@ -3970,13 +4760,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDockerPartialUpdate**
-> DockerUpstream reposUpstreamDockerPartialUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamGoPartialUpdate**
+> GoUpstream reposUpstreamGoPartialUpdate(owner, identifier, slugPerm, data)
-Partially update a Docker upstream config for this repository.
+Partially update a Go upstream config for this repository.
-Partially update a Docker upstream config for this repository.
+Partially update a Go upstream config for this repository.
### Example
```java
@@ -4004,12 +4794,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-DockerUpstreamRequestPatch data = new DockerUpstreamRequestPatch(); // DockerUpstreamRequestPatch |
+GoUpstreamRequestPatch data = new GoUpstreamRequestPatch(); // GoUpstreamRequestPatch |
try {
- DockerUpstream result = apiInstance.reposUpstreamDockerPartialUpdate(owner, identifier, slugPerm, data);
+ GoUpstream result = apiInstance.reposUpstreamGoPartialUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDockerPartialUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamGoPartialUpdate");
e.printStackTrace();
}
```
@@ -4021,11 +4811,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**DockerUpstreamRequestPatch**](DockerUpstreamRequestPatch.md)| | [optional]
+ **data** | [**GoUpstreamRequestPatch**](GoUpstreamRequestPatch.md)| | [optional]
### Return type
-[**DockerUpstream**](DockerUpstream.md)
+[**GoUpstream**](GoUpstream.md)
### Authorization
@@ -4036,13 +4826,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDockerRead**
-> DockerUpstream reposUpstreamDockerRead(owner, identifier, slugPerm)
+
+# **reposUpstreamGoRead**
+> GoUpstream reposUpstreamGoRead(owner, identifier, slugPerm)
-Retrieve a Docker upstream config for this repository.
+Retrieve a Go upstream config for this repository.
-Retrieve a Docker upstream config for this repository.
+Retrieve a Go upstream config for this repository.
### Example
```java
@@ -4071,10 +4861,10 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- DockerUpstream result = apiInstance.reposUpstreamDockerRead(owner, identifier, slugPerm);
+ GoUpstream result = apiInstance.reposUpstreamGoRead(owner, identifier, slugPerm);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDockerRead");
+ System.err.println("Exception when calling ReposApi#reposUpstreamGoRead");
e.printStackTrace();
}
```
@@ -4089,7 +4879,7 @@ Name | Type | Description | Notes
### Return type
-[**DockerUpstream**](DockerUpstream.md)
+[**GoUpstream**](GoUpstream.md)
### Authorization
@@ -4100,13 +4890,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamDockerUpdate**
-> DockerUpstream reposUpstreamDockerUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamGoUpdate**
+> GoUpstream reposUpstreamGoUpdate(owner, identifier, slugPerm, data)
-Update a Docker upstream config for this repository.
+Update a Go upstream config for this repository.
-Update a Docker upstream config for this repository.
+Update a Go upstream config for this repository.
### Example
```java
@@ -4134,12 +4924,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-DockerUpstreamRequest data = new DockerUpstreamRequest(); // DockerUpstreamRequest |
+GoUpstreamRequest data = new GoUpstreamRequest(); // GoUpstreamRequest |
try {
- DockerUpstream result = apiInstance.reposUpstreamDockerUpdate(owner, identifier, slugPerm, data);
+ GoUpstream result = apiInstance.reposUpstreamGoUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamDockerUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamGoUpdate");
e.printStackTrace();
}
```
@@ -4151,11 +4941,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**DockerUpstreamRequest**](DockerUpstreamRequest.md)| | [optional]
+ **data** | [**GoUpstreamRequest**](GoUpstreamRequest.md)| | [optional]
### Return type
-[**DockerUpstream**](DockerUpstream.md)
+[**GoUpstream**](GoUpstream.md)
### Authorization
@@ -4166,13 +4956,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamGoCreate**
-> GoUpstream reposUpstreamGoCreate(owner, identifier, data)
+
+# **reposUpstreamHelmCreate**
+> HelmUpstream reposUpstreamHelmCreate(owner, identifier, data)
-Create a Go upstream config for this repository.
+Create a Helm upstream config for this repository.
-Create a Go upstream config for this repository.
+Create a Helm upstream config for this repository.
### Example
```java
@@ -4199,12 +4989,12 @@ basic.setPassword("YOUR PASSWORD");
ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
-GoUpstreamRequest data = new GoUpstreamRequest(); // GoUpstreamRequest |
+HelmUpstreamRequest data = new HelmUpstreamRequest(); // HelmUpstreamRequest |
try {
- GoUpstream result = apiInstance.reposUpstreamGoCreate(owner, identifier, data);
+ HelmUpstream result = apiInstance.reposUpstreamHelmCreate(owner, identifier, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamGoCreate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHelmCreate");
e.printStackTrace();
}
```
@@ -4215,11 +5005,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
**identifier** | **String**| |
- **data** | [**GoUpstreamRequest**](GoUpstreamRequest.md)| | [optional]
+ **data** | [**HelmUpstreamRequest**](HelmUpstreamRequest.md)| | [optional]
### Return type
-[**GoUpstream**](GoUpstream.md)
+[**HelmUpstream**](HelmUpstream.md)
### Authorization
@@ -4230,13 +5020,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamGoDelete**
-> reposUpstreamGoDelete(owner, identifier, slugPerm)
+
+# **reposUpstreamHelmDelete**
+> reposUpstreamHelmDelete(owner, identifier, slugPerm)
-Delete a Go upstream config for this repository.
+Delete a Helm upstream config for this repository.
-Delete a Go upstream config for this repository.
+Delete a Helm upstream config for this repository.
### Example
```java
@@ -4265,9 +5055,9 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- apiInstance.reposUpstreamGoDelete(owner, identifier, slugPerm);
+ apiInstance.reposUpstreamHelmDelete(owner, identifier, slugPerm);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamGoDelete");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHelmDelete");
e.printStackTrace();
}
```
@@ -4293,13 +5083,13 @@ null (empty response body)
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamGoList**
-> List<GoUpstream> reposUpstreamGoList(owner, identifier, page, pageSize)
+
+# **reposUpstreamHelmList**
+> List<HelmUpstream> reposUpstreamHelmList(owner, identifier, page, pageSize)
-List Go upstream configs for this repository.
+List Helm upstream configs for this repository.
-List Go upstream configs for this repository.
+List Helm upstream configs for this repository.
### Example
```java
@@ -4329,10 +5119,10 @@ String identifier = "identifier_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- List result = apiInstance.reposUpstreamGoList(owner, identifier, page, pageSize);
+ List result = apiInstance.reposUpstreamHelmList(owner, identifier, page, pageSize);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamGoList");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHelmList");
e.printStackTrace();
}
```
@@ -4348,7 +5138,7 @@ Name | Type | Description | Notes
### Return type
-[**List<GoUpstream>**](GoUpstream.md)
+[**List<HelmUpstream>**](HelmUpstream.md)
### Authorization
@@ -4359,13 +5149,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamGoPartialUpdate**
-> GoUpstream reposUpstreamGoPartialUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamHelmPartialUpdate**
+> HelmUpstream reposUpstreamHelmPartialUpdate(owner, identifier, slugPerm, data)
-Partially update a Go upstream config for this repository.
+Partially update a Helm upstream config for this repository.
-Partially update a Go upstream config for this repository.
+Partially update a Helm upstream config for this repository.
### Example
```java
@@ -4393,12 +5183,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-GoUpstreamRequestPatch data = new GoUpstreamRequestPatch(); // GoUpstreamRequestPatch |
+HelmUpstreamRequestPatch data = new HelmUpstreamRequestPatch(); // HelmUpstreamRequestPatch |
try {
- GoUpstream result = apiInstance.reposUpstreamGoPartialUpdate(owner, identifier, slugPerm, data);
+ HelmUpstream result = apiInstance.reposUpstreamHelmPartialUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamGoPartialUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHelmPartialUpdate");
e.printStackTrace();
}
```
@@ -4410,11 +5200,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**GoUpstreamRequestPatch**](GoUpstreamRequestPatch.md)| | [optional]
+ **data** | [**HelmUpstreamRequestPatch**](HelmUpstreamRequestPatch.md)| | [optional]
### Return type
-[**GoUpstream**](GoUpstream.md)
+[**HelmUpstream**](HelmUpstream.md)
### Authorization
@@ -4425,13 +5215,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamGoRead**
-> GoUpstream reposUpstreamGoRead(owner, identifier, slugPerm)
+
+# **reposUpstreamHelmRead**
+> HelmUpstream reposUpstreamHelmRead(owner, identifier, slugPerm)
-Retrieve a Go upstream config for this repository.
+Retrieve a Helm upstream config for this repository.
-Retrieve a Go upstream config for this repository.
+Retrieve a Helm upstream config for this repository.
### Example
```java
@@ -4460,10 +5250,10 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- GoUpstream result = apiInstance.reposUpstreamGoRead(owner, identifier, slugPerm);
+ HelmUpstream result = apiInstance.reposUpstreamHelmRead(owner, identifier, slugPerm);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamGoRead");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHelmRead");
e.printStackTrace();
}
```
@@ -4478,7 +5268,7 @@ Name | Type | Description | Notes
### Return type
-[**GoUpstream**](GoUpstream.md)
+[**HelmUpstream**](HelmUpstream.md)
### Authorization
@@ -4489,13 +5279,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamGoUpdate**
-> GoUpstream reposUpstreamGoUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamHelmUpdate**
+> HelmUpstream reposUpstreamHelmUpdate(owner, identifier, slugPerm, data)
-Update a Go upstream config for this repository.
+Update a Helm upstream config for this repository.
-Update a Go upstream config for this repository.
+Update a Helm upstream config for this repository.
### Example
```java
@@ -4523,12 +5313,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-GoUpstreamRequest data = new GoUpstreamRequest(); // GoUpstreamRequest |
+HelmUpstreamRequest data = new HelmUpstreamRequest(); // HelmUpstreamRequest |
try {
- GoUpstream result = apiInstance.reposUpstreamGoUpdate(owner, identifier, slugPerm, data);
+ HelmUpstream result = apiInstance.reposUpstreamHelmUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamGoUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHelmUpdate");
e.printStackTrace();
}
```
@@ -4540,11 +5330,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**GoUpstreamRequest**](GoUpstreamRequest.md)| | [optional]
+ **data** | [**HelmUpstreamRequest**](HelmUpstreamRequest.md)| | [optional]
### Return type
-[**GoUpstream**](GoUpstream.md)
+[**HelmUpstream**](HelmUpstream.md)
### Authorization
@@ -4555,13 +5345,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHelmCreate**
-> HelmUpstream reposUpstreamHelmCreate(owner, identifier, data)
+
+# **reposUpstreamHexCreate**
+> HexUpstream reposUpstreamHexCreate(owner, identifier, data)
-Create a Helm upstream config for this repository.
+Create a Hex upstream config for this repository.
-Create a Helm upstream config for this repository.
+Create a Hex upstream config for this repository.
### Example
```java
@@ -4588,12 +5378,12 @@ basic.setPassword("YOUR PASSWORD");
ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
-HelmUpstreamRequest data = new HelmUpstreamRequest(); // HelmUpstreamRequest |
+HexUpstreamRequest data = new HexUpstreamRequest(); // HexUpstreamRequest |
try {
- HelmUpstream result = apiInstance.reposUpstreamHelmCreate(owner, identifier, data);
+ HexUpstream result = apiInstance.reposUpstreamHexCreate(owner, identifier, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHelmCreate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHexCreate");
e.printStackTrace();
}
```
@@ -4604,11 +5394,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
**identifier** | **String**| |
- **data** | [**HelmUpstreamRequest**](HelmUpstreamRequest.md)| | [optional]
+ **data** | [**HexUpstreamRequest**](HexUpstreamRequest.md)| | [optional]
### Return type
-[**HelmUpstream**](HelmUpstream.md)
+[**HexUpstream**](HexUpstream.md)
### Authorization
@@ -4619,13 +5409,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHelmDelete**
-> reposUpstreamHelmDelete(owner, identifier, slugPerm)
+
+# **reposUpstreamHexDelete**
+> reposUpstreamHexDelete(owner, identifier, slugPerm)
-Delete a Helm upstream config for this repository.
+Delete a Hex upstream config for this repository.
-Delete a Helm upstream config for this repository.
+Delete a Hex upstream config for this repository.
### Example
```java
@@ -4654,9 +5444,9 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- apiInstance.reposUpstreamHelmDelete(owner, identifier, slugPerm);
+ apiInstance.reposUpstreamHexDelete(owner, identifier, slugPerm);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHelmDelete");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHexDelete");
e.printStackTrace();
}
```
@@ -4682,13 +5472,13 @@ null (empty response body)
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHelmList**
-> List<HelmUpstream> reposUpstreamHelmList(owner, identifier, page, pageSize)
+
+# **reposUpstreamHexList**
+> List<HexUpstream> reposUpstreamHexList(owner, identifier, page, pageSize)
-List Helm upstream configs for this repository.
+List Hex upstream configs for this repository.
-List Helm upstream configs for this repository.
+List Hex upstream configs for this repository.
### Example
```java
@@ -4718,10 +5508,10 @@ String identifier = "identifier_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- List result = apiInstance.reposUpstreamHelmList(owner, identifier, page, pageSize);
+ List result = apiInstance.reposUpstreamHexList(owner, identifier, page, pageSize);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHelmList");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHexList");
e.printStackTrace();
}
```
@@ -4737,7 +5527,7 @@ Name | Type | Description | Notes
### Return type
-[**List<HelmUpstream>**](HelmUpstream.md)
+[**List<HexUpstream>**](HexUpstream.md)
### Authorization
@@ -4748,13 +5538,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHelmPartialUpdate**
-> HelmUpstream reposUpstreamHelmPartialUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamHexPartialUpdate**
+> HexUpstream reposUpstreamHexPartialUpdate(owner, identifier, slugPerm, data)
-Partially update a Helm upstream config for this repository.
+Partially update a Hex upstream config for this repository.
-Partially update a Helm upstream config for this repository.
+Partially update a Hex upstream config for this repository.
### Example
```java
@@ -4782,12 +5572,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-HelmUpstreamRequestPatch data = new HelmUpstreamRequestPatch(); // HelmUpstreamRequestPatch |
+HexUpstreamRequestPatch data = new HexUpstreamRequestPatch(); // HexUpstreamRequestPatch |
try {
- HelmUpstream result = apiInstance.reposUpstreamHelmPartialUpdate(owner, identifier, slugPerm, data);
+ HexUpstream result = apiInstance.reposUpstreamHexPartialUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHelmPartialUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHexPartialUpdate");
e.printStackTrace();
}
```
@@ -4799,11 +5589,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**HelmUpstreamRequestPatch**](HelmUpstreamRequestPatch.md)| | [optional]
+ **data** | [**HexUpstreamRequestPatch**](HexUpstreamRequestPatch.md)| | [optional]
### Return type
-[**HelmUpstream**](HelmUpstream.md)
+[**HexUpstream**](HexUpstream.md)
### Authorization
@@ -4814,13 +5604,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHelmRead**
-> HelmUpstream reposUpstreamHelmRead(owner, identifier, slugPerm)
+
+# **reposUpstreamHexRead**
+> HexUpstream reposUpstreamHexRead(owner, identifier, slugPerm)
-Retrieve a Helm upstream config for this repository.
+Retrieve a Hex upstream config for this repository.
-Retrieve a Helm upstream config for this repository.
+Retrieve a Hex upstream config for this repository.
### Example
```java
@@ -4849,10 +5639,10 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- HelmUpstream result = apiInstance.reposUpstreamHelmRead(owner, identifier, slugPerm);
+ HexUpstream result = apiInstance.reposUpstreamHexRead(owner, identifier, slugPerm);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHelmRead");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHexRead");
e.printStackTrace();
}
```
@@ -4867,7 +5657,7 @@ Name | Type | Description | Notes
### Return type
-[**HelmUpstream**](HelmUpstream.md)
+[**HexUpstream**](HexUpstream.md)
### Authorization
@@ -4878,13 +5668,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHelmUpdate**
-> HelmUpstream reposUpstreamHelmUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamHexUpdate**
+> HexUpstream reposUpstreamHexUpdate(owner, identifier, slugPerm, data)
-Update a Helm upstream config for this repository.
+Update a Hex upstream config for this repository.
-Update a Helm upstream config for this repository.
+Update a Hex upstream config for this repository.
### Example
```java
@@ -4912,12 +5702,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-HelmUpstreamRequest data = new HelmUpstreamRequest(); // HelmUpstreamRequest |
+HexUpstreamRequest data = new HexUpstreamRequest(); // HexUpstreamRequest |
try {
- HelmUpstream result = apiInstance.reposUpstreamHelmUpdate(owner, identifier, slugPerm, data);
+ HexUpstream result = apiInstance.reposUpstreamHexUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHelmUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHexUpdate");
e.printStackTrace();
}
```
@@ -4929,11 +5719,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**HelmUpstreamRequest**](HelmUpstreamRequest.md)| | [optional]
+ **data** | [**HexUpstreamRequest**](HexUpstreamRequest.md)| | [optional]
### Return type
-[**HelmUpstream**](HelmUpstream.md)
+[**HexUpstream**](HexUpstream.md)
### Authorization
@@ -4944,13 +5734,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHexCreate**
-> HexUpstream reposUpstreamHexCreate(owner, identifier, data)
+
+# **reposUpstreamHuggingfaceCreate**
+> HuggingfaceUpstream reposUpstreamHuggingfaceCreate(owner, identifier, data)
-Create a Hex upstream config for this repository.
+Create a Hugging Face upstream config for this repository.
-Create a Hex upstream config for this repository.
+Create a Hugging Face upstream config for this repository.
### Example
```java
@@ -4977,12 +5767,12 @@ basic.setPassword("YOUR PASSWORD");
ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
-HexUpstreamRequest data = new HexUpstreamRequest(); // HexUpstreamRequest |
+HuggingfaceUpstreamRequest data = new HuggingfaceUpstreamRequest(); // HuggingfaceUpstreamRequest |
try {
- HexUpstream result = apiInstance.reposUpstreamHexCreate(owner, identifier, data);
+ HuggingfaceUpstream result = apiInstance.reposUpstreamHuggingfaceCreate(owner, identifier, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHexCreate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHuggingfaceCreate");
e.printStackTrace();
}
```
@@ -4993,11 +5783,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| |
**identifier** | **String**| |
- **data** | [**HexUpstreamRequest**](HexUpstreamRequest.md)| | [optional]
+ **data** | [**HuggingfaceUpstreamRequest**](HuggingfaceUpstreamRequest.md)| | [optional]
### Return type
-[**HexUpstream**](HexUpstream.md)
+[**HuggingfaceUpstream**](HuggingfaceUpstream.md)
### Authorization
@@ -5008,13 +5798,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHexDelete**
-> reposUpstreamHexDelete(owner, identifier, slugPerm)
+
+# **reposUpstreamHuggingfaceDelete**
+> reposUpstreamHuggingfaceDelete(owner, identifier, slugPerm)
-Delete a Hex upstream config for this repository.
+Delete a Hugging Face upstream config for this repository.
-Delete a Hex upstream config for this repository.
+Delete a Hugging Face upstream config for this repository.
### Example
```java
@@ -5043,9 +5833,9 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- apiInstance.reposUpstreamHexDelete(owner, identifier, slugPerm);
+ apiInstance.reposUpstreamHuggingfaceDelete(owner, identifier, slugPerm);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHexDelete");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHuggingfaceDelete");
e.printStackTrace();
}
```
@@ -5071,13 +5861,13 @@ null (empty response body)
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHexList**
-> List<HexUpstream> reposUpstreamHexList(owner, identifier, page, pageSize)
+
+# **reposUpstreamHuggingfaceList**
+> List<HuggingfaceUpstream> reposUpstreamHuggingfaceList(owner, identifier, page, pageSize)
-List Hex upstream configs for this repository.
+List Hugging Face upstream configs for this repository.
-List Hex upstream configs for this repository.
+List Hugging Face upstream configs for this repository.
### Example
```java
@@ -5107,10 +5897,10 @@ String identifier = "identifier_example"; // String |
java.math.BigInteger page = new java.math.BigInteger(); // java.math.BigInteger | A page number within the paginated result set.
java.math.BigInteger pageSize = new java.math.BigInteger(); // java.math.BigInteger | Number of results to return per page.
try {
- List result = apiInstance.reposUpstreamHexList(owner, identifier, page, pageSize);
+ List result = apiInstance.reposUpstreamHuggingfaceList(owner, identifier, page, pageSize);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHexList");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHuggingfaceList");
e.printStackTrace();
}
```
@@ -5126,7 +5916,7 @@ Name | Type | Description | Notes
### Return type
-[**List<HexUpstream>**](HexUpstream.md)
+[**List<HuggingfaceUpstream>**](HuggingfaceUpstream.md)
### Authorization
@@ -5137,13 +5927,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHexPartialUpdate**
-> HexUpstream reposUpstreamHexPartialUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamHuggingfacePartialUpdate**
+> HuggingfaceUpstream reposUpstreamHuggingfacePartialUpdate(owner, identifier, slugPerm, data)
-Partially update a Hex upstream config for this repository.
+Partially update a Hugging Face upstream config for this repository.
-Partially update a Hex upstream config for this repository.
+Partially update a Hugging Face upstream config for this repository.
### Example
```java
@@ -5171,12 +5961,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-HexUpstreamRequestPatch data = new HexUpstreamRequestPatch(); // HexUpstreamRequestPatch |
+HuggingfaceUpstreamRequestPatch data = new HuggingfaceUpstreamRequestPatch(); // HuggingfaceUpstreamRequestPatch |
try {
- HexUpstream result = apiInstance.reposUpstreamHexPartialUpdate(owner, identifier, slugPerm, data);
+ HuggingfaceUpstream result = apiInstance.reposUpstreamHuggingfacePartialUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHexPartialUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHuggingfacePartialUpdate");
e.printStackTrace();
}
```
@@ -5188,11 +5978,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**HexUpstreamRequestPatch**](HexUpstreamRequestPatch.md)| | [optional]
+ **data** | [**HuggingfaceUpstreamRequestPatch**](HuggingfaceUpstreamRequestPatch.md)| | [optional]
### Return type
-[**HexUpstream**](HexUpstream.md)
+[**HuggingfaceUpstream**](HuggingfaceUpstream.md)
### Authorization
@@ -5203,13 +5993,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHexRead**
-> HexUpstream reposUpstreamHexRead(owner, identifier, slugPerm)
+
+# **reposUpstreamHuggingfaceRead**
+> HuggingfaceUpstream reposUpstreamHuggingfaceRead(owner, identifier, slugPerm)
-Retrieve a Hex upstream config for this repository.
+Retrieve a Hugging Face upstream config for this repository.
-Retrieve a Hex upstream config for this repository.
+Retrieve a Hugging Face upstream config for this repository.
### Example
```java
@@ -5238,10 +6028,10 @@ String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
try {
- HexUpstream result = apiInstance.reposUpstreamHexRead(owner, identifier, slugPerm);
+ HuggingfaceUpstream result = apiInstance.reposUpstreamHuggingfaceRead(owner, identifier, slugPerm);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHexRead");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHuggingfaceRead");
e.printStackTrace();
}
```
@@ -5256,7 +6046,7 @@ Name | Type | Description | Notes
### Return type
-[**HexUpstream**](HexUpstream.md)
+[**HuggingfaceUpstream**](HuggingfaceUpstream.md)
### Authorization
@@ -5267,13 +6057,13 @@ Name | Type | Description | Notes
- **Content-Type**: application/json
- **Accept**: application/json
-
-# **reposUpstreamHexUpdate**
-> HexUpstream reposUpstreamHexUpdate(owner, identifier, slugPerm, data)
+
+# **reposUpstreamHuggingfaceUpdate**
+> HuggingfaceUpstream reposUpstreamHuggingfaceUpdate(owner, identifier, slugPerm, data)
-Update a Hex upstream config for this repository.
+Update a Hugging Face upstream config for this repository.
-Update a Hex upstream config for this repository.
+Update a Hugging Face upstream config for this repository.
### Example
```java
@@ -5301,12 +6091,12 @@ ReposApi apiInstance = new ReposApi();
String owner = "owner_example"; // String |
String identifier = "identifier_example"; // String |
String slugPerm = "slugPerm_example"; // String |
-HexUpstreamRequest data = new HexUpstreamRequest(); // HexUpstreamRequest |
+HuggingfaceUpstreamRequest data = new HuggingfaceUpstreamRequest(); // HuggingfaceUpstreamRequest |
try {
- HexUpstream result = apiInstance.reposUpstreamHexUpdate(owner, identifier, slugPerm, data);
+ HuggingfaceUpstream result = apiInstance.reposUpstreamHuggingfaceUpdate(owner, identifier, slugPerm, data);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling ReposApi#reposUpstreamHexUpdate");
+ System.err.println("Exception when calling ReposApi#reposUpstreamHuggingfaceUpdate");
e.printStackTrace();
}
```
@@ -5318,11 +6108,11 @@ Name | Type | Description | Notes
**owner** | **String**| |
**identifier** | **String**| |
**slugPerm** | **String**| |
- **data** | [**HexUpstreamRequest**](HexUpstreamRequest.md)| | [optional]
+ **data** | [**HuggingfaceUpstreamRequest**](HuggingfaceUpstreamRequest.md)| | [optional]
### Return type
-[**HexUpstream**](HexUpstream.md)
+[**HuggingfaceUpstream**](HuggingfaceUpstream.md)
### Authorization
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java b/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
index 02276001..3f6e7c5d 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/JSON.java
@@ -288,6 +288,16 @@
import io.cloudsmith.api.models.*;
import io.cloudsmith.api.models.*;
import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
+import io.cloudsmith.api.models.*;
import okio.ByteString;
import java.io.IOException;
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
index 8aec5d9a..0876df17 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/OrgsApi.java
@@ -36,6 +36,7 @@
import java.lang.reflect.Method;
import java.lang.reflect.Type;
+import io.cloudsmith.api.models.DynamicMapping;
import io.cloudsmith.api.models.ErrorDetail;
import io.cloudsmith.api.models.Organization;
import io.cloudsmith.api.models.OrganizationGroupSync;
@@ -73,8 +74,9 @@
import io.cloudsmith.api.models.PackageVulnerabilityPolicyEvaluationRequestRequest;
import io.cloudsmith.api.models.PackageVulnerabilityPolicyViolationLogCursorPage;
import io.cloudsmith.api.models.ProviderSettings;
-import io.cloudsmith.api.models.ProviderSettingsRequest;
-import io.cloudsmith.api.models.ProviderSettingsRequestPatch;
+import io.cloudsmith.api.models.ProviderSettingsWrite;
+import io.cloudsmith.api.models.ProviderSettingsWriteRequest;
+import io.cloudsmith.api.models.ProviderSettingsWriteRequestPatch;
import io.cloudsmith.api.models.Service;
import io.cloudsmith.api.models.ServiceRequest;
import io.cloudsmith.api.models.ServiceRequestPatch;
@@ -4830,7 +4832,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call orgsOpenidConnectCreateCall(String org, ProviderSettingsRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call orgsOpenidConnectCreateCall(String org, ProviderSettingsWriteRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = data;
// create path and map variables
@@ -4876,13 +4878,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call orgsOpenidConnectCreateValidateBeforeCall(String org, ProviderSettingsRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call orgsOpenidConnectCreateValidateBeforeCall(String org, ProviderSettingsWriteRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { org, data };
- Method method = this.getClass().getMethod("orgsOpenidConnectCreateWithHttpInfo", String.class, ProviderSettingsRequest.class);
+ Method method = this.getClass().getMethod("orgsOpenidConnectCreateWithHttpInfo", String.class, ProviderSettingsWriteRequest.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
@@ -4908,11 +4910,11 @@ private com.squareup.okhttp.Call orgsOpenidConnectCreateValidateBeforeCall(Strin
* Create the OpenID Connect provider settings for the org.
* @param org (required)
* @param data (optional)
- * @return ProviderSettings
+ * @return ProviderSettingsWrite
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ProviderSettings orgsOpenidConnectCreate(String org, ProviderSettingsRequest data) throws ApiException {
- ApiResponse resp = orgsOpenidConnectCreateWithHttpInfo(org, data);
+ public ProviderSettingsWrite orgsOpenidConnectCreate(String org, ProviderSettingsWriteRequest data) throws ApiException {
+ ApiResponse resp = orgsOpenidConnectCreateWithHttpInfo(org, data);
return resp.getData();
}
@@ -4921,12 +4923,12 @@ public ProviderSettings orgsOpenidConnectCreate(String org, ProviderSettingsRequ
* Create the OpenID Connect provider settings for the org.
* @param org (required)
* @param data (optional)
- * @return ApiResponse<ProviderSettings>
+ * @return ApiResponse<ProviderSettingsWrite>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgsOpenidConnectCreateWithHttpInfo( @NotNull String org, ProviderSettingsRequest data) throws ApiException {
+ public ApiResponse orgsOpenidConnectCreateWithHttpInfo( @NotNull String org, ProviderSettingsWriteRequest data) throws ApiException {
com.squareup.okhttp.Call call = orgsOpenidConnectCreateValidateBeforeCall(org, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -4939,7 +4941,7 @@ public ApiResponse orgsOpenidConnectCreateWithHttpInfo( @NotNu
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call orgsOpenidConnectCreateAsync(String org, ProviderSettingsRequest data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call orgsOpenidConnectCreateAsync(String org, ProviderSettingsWriteRequest data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -4961,7 +4963,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
com.squareup.okhttp.Call call = orgsOpenidConnectCreateValidateBeforeCall(org, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -5106,6 +5108,313 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, callback);
return call;
}
+ /**
+ * Build call for orgsOpenidConnectDynamicMappingsList
+ * @param org (required)
+ * @param providerSetting (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call orgsOpenidConnectDynamicMappingsListCall(String org, String providerSetting, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/"
+ .replaceAll("\\{" + "org" + "\\}", apiClient.escapeString(org.toString()))
+ .replaceAll("\\{" + "provider_setting" + "\\}", apiClient.escapeString(providerSetting.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ if (page != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page", page));
+ if (pageSize != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("page_size", pageSize));
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call orgsOpenidConnectDynamicMappingsListValidateBeforeCall(String org, String providerSetting, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { org, providerSetting, page, pageSize };
+ Method method = this.getClass().getMethod("orgsOpenidConnectDynamicMappingsListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = orgsOpenidConnectDynamicMappingsListCall(org, providerSetting, page, pageSize, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+ * Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+ * @param org (required)
+ * @param providerSetting (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @return List<DynamicMapping>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public List orgsOpenidConnectDynamicMappingsList(String org, String providerSetting, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse> resp = orgsOpenidConnectDynamicMappingsListWithHttpInfo(org, providerSetting, page, pageSize);
+ return resp.getData();
+ }
+
+ /**
+ * Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+ * Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+ * @param org (required)
+ * @param providerSetting (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @return ApiResponse<List<DynamicMapping>>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse> orgsOpenidConnectDynamicMappingsListWithHttpInfo( @NotNull String org, @NotNull String providerSetting, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ com.squareup.okhttp.Call call = orgsOpenidConnectDynamicMappingsListValidateBeforeCall(org, providerSetting, page, pageSize, null, null);
+ Type localVarReturnType = new TypeToken>(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Retrieve the list of OpenID Connect dynamic mappings for the provider setting. (asynchronously)
+ * Retrieve the list of OpenID Connect dynamic mappings for the provider setting.
+ * @param org (required)
+ * @param providerSetting (required)
+ * @param page A page number within the paginated result set. (optional)
+ * @param pageSize Number of results to return per page. (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call orgsOpenidConnectDynamicMappingsListAsync(String org, String providerSetting, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback> callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = orgsOpenidConnectDynamicMappingsListValidateBeforeCall(org, providerSetting, page, pageSize, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken>(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for orgsOpenidConnectDynamicMappingsRead
+ * @param org (required)
+ * @param providerSetting (required)
+ * @param claimValue (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call orgsOpenidConnectDynamicMappingsReadCall(String org, String providerSetting, String claimValue, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/orgs/{org}/openid-connect/{provider_setting}/dynamic-mappings/{claim_value}/"
+ .replaceAll("\\{" + "org" + "\\}", apiClient.escapeString(org.toString()))
+ .replaceAll("\\{" + "provider_setting" + "\\}", apiClient.escapeString(providerSetting.toString()))
+ .replaceAll("\\{" + "claim_value" + "\\}", apiClient.escapeString(claimValue.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call orgsOpenidConnectDynamicMappingsReadValidateBeforeCall(String org, String providerSetting, String claimValue, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { org, providerSetting, claimValue };
+ Method method = this.getClass().getMethod("orgsOpenidConnectDynamicMappingsReadWithHttpInfo", String.class, String.class, String.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = orgsOpenidConnectDynamicMappingsReadCall(org, providerSetting, claimValue, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
+ * Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
+ * @param org (required)
+ * @param providerSetting (required)
+ * @param claimValue (required)
+ * @return DynamicMapping
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public DynamicMapping orgsOpenidConnectDynamicMappingsRead(String org, String providerSetting, String claimValue) throws ApiException {
+ ApiResponse resp = orgsOpenidConnectDynamicMappingsReadWithHttpInfo(org, providerSetting, claimValue);
+ return resp.getData();
+ }
+
+ /**
+ * Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
+ * Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
+ * @param org (required)
+ * @param providerSetting (required)
+ * @param claimValue (required)
+ * @return ApiResponse<DynamicMapping>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse orgsOpenidConnectDynamicMappingsReadWithHttpInfo( @NotNull String org, @NotNull String providerSetting, @NotNull String claimValue) throws ApiException {
+ com.squareup.okhttp.Call call = orgsOpenidConnectDynamicMappingsReadValidateBeforeCall(org, providerSetting, claimValue, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Retrieve a specific OpenID Connect dynamic mapping for the provider setting. (asynchronously)
+ * Retrieve a specific OpenID Connect dynamic mapping for the provider setting.
+ * @param org (required)
+ * @param providerSetting (required)
+ * @param claimValue (required)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call orgsOpenidConnectDynamicMappingsReadAsync(String org, String providerSetting, String claimValue, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = orgsOpenidConnectDynamicMappingsReadValidateBeforeCall(org, providerSetting, claimValue, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for orgsOpenidConnectList
* @param org (required)
@@ -5280,7 +5589,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call orgsOpenidConnectPartialUpdateCall(String org, String slugPerm, ProviderSettingsRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call orgsOpenidConnectPartialUpdateCall(String org, String slugPerm, ProviderSettingsWriteRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = data;
// create path and map variables
@@ -5327,13 +5636,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call orgsOpenidConnectPartialUpdateValidateBeforeCall(String org, String slugPerm, ProviderSettingsRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call orgsOpenidConnectPartialUpdateValidateBeforeCall(String org, String slugPerm, ProviderSettingsWriteRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { org, slugPerm, data };
- Method method = this.getClass().getMethod("orgsOpenidConnectPartialUpdateWithHttpInfo", String.class, String.class, ProviderSettingsRequestPatch.class);
+ Method method = this.getClass().getMethod("orgsOpenidConnectPartialUpdateWithHttpInfo", String.class, String.class, ProviderSettingsWriteRequestPatch.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
@@ -5360,11 +5669,11 @@ private com.squareup.okhttp.Call orgsOpenidConnectPartialUpdateValidateBeforeCal
* @param org (required)
* @param slugPerm (required)
* @param data (optional)
- * @return ProviderSettings
+ * @return ProviderSettingsWrite
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ProviderSettings orgsOpenidConnectPartialUpdate(String org, String slugPerm, ProviderSettingsRequestPatch data) throws ApiException {
- ApiResponse resp = orgsOpenidConnectPartialUpdateWithHttpInfo(org, slugPerm, data);
+ public ProviderSettingsWrite orgsOpenidConnectPartialUpdate(String org, String slugPerm, ProviderSettingsWriteRequestPatch data) throws ApiException {
+ ApiResponse resp = orgsOpenidConnectPartialUpdateWithHttpInfo(org, slugPerm, data);
return resp.getData();
}
@@ -5374,12 +5683,12 @@ public ProviderSettings orgsOpenidConnectPartialUpdate(String org, String slugPe
* @param org (required)
* @param slugPerm (required)
* @param data (optional)
- * @return ApiResponse<ProviderSettings>
+ * @return ApiResponse<ProviderSettingsWrite>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgsOpenidConnectPartialUpdateWithHttpInfo( @NotNull String org, @NotNull String slugPerm, ProviderSettingsRequestPatch data) throws ApiException {
+ public ApiResponse orgsOpenidConnectPartialUpdateWithHttpInfo( @NotNull String org, @NotNull String slugPerm, ProviderSettingsWriteRequestPatch data) throws ApiException {
com.squareup.okhttp.Call call = orgsOpenidConnectPartialUpdateValidateBeforeCall(org, slugPerm, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -5393,7 +5702,7 @@ public ApiResponse orgsOpenidConnectPartialUpdateWithHttpInfo(
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call orgsOpenidConnectPartialUpdateAsync(String org, String slugPerm, ProviderSettingsRequestPatch data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call orgsOpenidConnectPartialUpdateAsync(String org, String slugPerm, ProviderSettingsWriteRequestPatch data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -5415,7 +5724,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
com.squareup.okhttp.Call call = orgsOpenidConnectPartialUpdateValidateBeforeCall(org, slugPerm, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -5574,7 +5883,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call orgsOpenidConnectUpdateCall(String org, String slugPerm, ProviderSettingsRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call orgsOpenidConnectUpdateCall(String org, String slugPerm, ProviderSettingsWriteRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = data;
// create path and map variables
@@ -5621,13 +5930,13 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call orgsOpenidConnectUpdateValidateBeforeCall(String org, String slugPerm, ProviderSettingsRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call orgsOpenidConnectUpdateValidateBeforeCall(String org, String slugPerm, ProviderSettingsWriteRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { org, slugPerm, data };
- Method method = this.getClass().getMethod("orgsOpenidConnectUpdateWithHttpInfo", String.class, String.class, ProviderSettingsRequest.class);
+ Method method = this.getClass().getMethod("orgsOpenidConnectUpdateWithHttpInfo", String.class, String.class, ProviderSettingsWriteRequest.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
@@ -5654,11 +5963,11 @@ private com.squareup.okhttp.Call orgsOpenidConnectUpdateValidateBeforeCall(Strin
* @param org (required)
* @param slugPerm (required)
* @param data (optional)
- * @return ProviderSettings
+ * @return ProviderSettingsWrite
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ProviderSettings orgsOpenidConnectUpdate(String org, String slugPerm, ProviderSettingsRequest data) throws ApiException {
- ApiResponse resp = orgsOpenidConnectUpdateWithHttpInfo(org, slugPerm, data);
+ public ProviderSettingsWrite orgsOpenidConnectUpdate(String org, String slugPerm, ProviderSettingsWriteRequest data) throws ApiException {
+ ApiResponse resp = orgsOpenidConnectUpdateWithHttpInfo(org, slugPerm, data);
return resp.getData();
}
@@ -5668,12 +5977,12 @@ public ProviderSettings orgsOpenidConnectUpdate(String org, String slugPerm, Pro
* @param org (required)
* @param slugPerm (required)
* @param data (optional)
- * @return ApiResponse<ProviderSettings>
+ * @return ApiResponse<ProviderSettingsWrite>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgsOpenidConnectUpdateWithHttpInfo( @NotNull String org, @NotNull String slugPerm, ProviderSettingsRequest data) throws ApiException {
+ public ApiResponse orgsOpenidConnectUpdateWithHttpInfo( @NotNull String org, @NotNull String slugPerm, ProviderSettingsWriteRequest data) throws ApiException {
com.squareup.okhttp.Call call = orgsOpenidConnectUpdateValidateBeforeCall(org, slugPerm, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -5687,7 +5996,7 @@ public ApiResponse orgsOpenidConnectUpdateWithHttpInfo( @NotNu
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call orgsOpenidConnectUpdateAsync(String org, String slugPerm, ProviderSettingsRequest data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call orgsOpenidConnectUpdateAsync(String org, String slugPerm, ProviderSettingsWriteRequest data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -5709,7 +6018,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
com.squareup.okhttp.Call call = orgsOpenidConnectUpdateValidateBeforeCall(org, slugPerm, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/PackagesApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/PackagesApi.java
index b14f7853..c3ef92c3 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/PackagesApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/PackagesApi.java
@@ -63,6 +63,8 @@
import io.cloudsmith.api.models.HelmPackageUploadRequest;
import io.cloudsmith.api.models.HexPackageUpload;
import io.cloudsmith.api.models.HexPackageUploadRequest;
+import io.cloudsmith.api.models.HuggingfacePackageUpload;
+import io.cloudsmith.api.models.HuggingfacePackageUploadRequest;
import io.cloudsmith.api.models.InlineResponse200;
import io.cloudsmith.api.models.LuarocksPackageUpload;
import io.cloudsmith.api.models.LuarocksPackageUploadRequest;
@@ -587,6 +589,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
* @param groupBy A field to group packages by. Available options: name, backend_kind. (optional, default to name)
+ * @param hideSubcomponents Whether to hide packages which are subcomponents of another package in the results (optional, default to false)
* @param query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. (optional, default to )
* @param sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. (optional, default to name)
* @param progressListener Progress listener
@@ -594,7 +597,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call packagesGroupsListCall(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, String query, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call packagesGroupsListCall(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, String query, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -610,6 +613,8 @@ public com.squareup.okhttp.Call packagesGroupsListCall(String owner, String repo
localVarQueryParams.addAll(apiClient.parameterToPair("page_size", pageSize));
if (groupBy != null)
localVarQueryParams.addAll(apiClient.parameterToPair("group_by", groupBy));
+ if (hideSubcomponents != null)
+ localVarQueryParams.addAll(apiClient.parameterToPair("hide_subcomponents", hideSubcomponents));
if (query != null)
localVarQueryParams.addAll(apiClient.parameterToPair("query", query));
if (sort != null)
@@ -651,18 +656,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call packagesGroupsListValidateBeforeCall(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, String query, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call packagesGroupsListValidateBeforeCall(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, String query, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
- Object[] parameterValues = { owner, repo, page, pageSize, groupBy, query, sort };
- Method method = this.getClass().getMethod("packagesGroupsListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class, String.class, String.class, String.class);
+ Object[] parameterValues = { owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort };
+ Method method = this.getClass().getMethod("packagesGroupsListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class, String.class, Boolean.class, String.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = packagesGroupsListCall(owner, repo, page, pageSize, groupBy, query, sort, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = packagesGroupsListCall(owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort, progressListener, progressRequestListener);
return call;
} else {
@@ -686,13 +691,14 @@ private com.squareup.okhttp.Call packagesGroupsListValidateBeforeCall(String own
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
* @param groupBy A field to group packages by. Available options: name, backend_kind. (optional, default to name)
+ * @param hideSubcomponents Whether to hide packages which are subcomponents of another package in the results (optional, default to false)
* @param query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. (optional, default to )
* @param sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. (optional, default to name)
* @return InlineResponse200
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public InlineResponse200 packagesGroupsList(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, String query, String sort) throws ApiException {
- ApiResponse resp = packagesGroupsListWithHttpInfo(owner, repo, page, pageSize, groupBy, query, sort);
+ public InlineResponse200 packagesGroupsList(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, String query, String sort) throws ApiException {
+ ApiResponse resp = packagesGroupsListWithHttpInfo(owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort);
return resp.getData();
}
@@ -704,13 +710,14 @@ public InlineResponse200 packagesGroupsList(String owner, String repo, java.math
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
* @param groupBy A field to group packages by. Available options: name, backend_kind. (optional, default to name)
+ * @param hideSubcomponents Whether to hide packages which are subcomponents of another package in the results (optional, default to false)
* @param query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. (optional, default to )
* @param sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. (optional, default to name)
* @return ApiResponse<InlineResponse200>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse packagesGroupsListWithHttpInfo( @NotNull String owner, @NotNull String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, String query, String sort) throws ApiException {
- com.squareup.okhttp.Call call = packagesGroupsListValidateBeforeCall(owner, repo, page, pageSize, groupBy, query, sort, null, null);
+ public ApiResponse packagesGroupsListWithHttpInfo( @NotNull String owner, @NotNull String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, String query, String sort) throws ApiException {
+ com.squareup.okhttp.Call call = packagesGroupsListValidateBeforeCall(owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort, null, null);
Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -723,13 +730,14 @@ public ApiResponse packagesGroupsListWithHttpInfo( @NotNull S
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
* @param groupBy A field to group packages by. Available options: name, backend_kind. (optional, default to name)
+ * @param hideSubcomponents Whether to hide packages which are subcomponents of another package in the results (optional, default to false)
* @param query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. (optional, default to )
* @param sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. (optional, default to name)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call packagesGroupsListAsync(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, String query, String sort, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call packagesGroupsListAsync(String owner, String repo, java.math.BigInteger page, java.math.BigInteger pageSize, String groupBy, Boolean hideSubcomponents, String query, String sort, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -750,7 +758,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = packagesGroupsListValidateBeforeCall(owner, repo, page, pageSize, groupBy, query, sort, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = packagesGroupsListValidateBeforeCall(owner, repo, page, pageSize, groupBy, hideSubcomponents, query, sort, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
@@ -3923,6 +3931,155 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
+ /**
+ * Build call for packagesUploadHuggingface
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call packagesUploadHuggingfaceCall(String owner, String repo, HuggingfacePackageUploadRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/packages/{owner}/{repo}/upload/huggingface/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "repo" + "\\}", apiClient.escapeString(repo.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call packagesUploadHuggingfaceValidateBeforeCall(String owner, String repo, HuggingfacePackageUploadRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, repo, data };
+ Method method = this.getClass().getMethod("packagesUploadHuggingfaceWithHttpInfo", String.class, String.class, HuggingfacePackageUploadRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = packagesUploadHuggingfaceCall(owner, repo, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Create a new Hugging Face package
+ * Create a new Hugging Face package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @return HuggingfacePackageUpload
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public HuggingfacePackageUpload packagesUploadHuggingface(String owner, String repo, HuggingfacePackageUploadRequest data) throws ApiException {
+ ApiResponse resp = packagesUploadHuggingfaceWithHttpInfo(owner, repo, data);
+ return resp.getData();
+ }
+
+ /**
+ * Create a new Hugging Face package
+ * Create a new Hugging Face package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @return ApiResponse<HuggingfacePackageUpload>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse packagesUploadHuggingfaceWithHttpInfo( @NotNull String owner, @NotNull String repo, HuggingfacePackageUploadRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = packagesUploadHuggingfaceValidateBeforeCall(owner, repo, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Create a new Hugging Face package (asynchronously)
+ * Create a new Hugging Face package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call packagesUploadHuggingfaceAsync(String owner, String repo, HuggingfacePackageUploadRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = packagesUploadHuggingfaceValidateBeforeCall(owner, repo, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
/**
* Build call for packagesUploadLuarocks
* @param owner (required)
@@ -7596,6 +7753,151 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
apiClient.executeAsync(call, callback);
return call;
}
+ /**
+ * Build call for packagesValidateUploadHuggingface
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call packagesValidateUploadHuggingfaceCall(String owner, String repo, HuggingfacePackageUploadRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/packages/{owner}/{repo}/validate-upload/huggingface/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "repo" + "\\}", apiClient.escapeString(repo.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call packagesValidateUploadHuggingfaceValidateBeforeCall(String owner, String repo, HuggingfacePackageUploadRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, repo, data };
+ Method method = this.getClass().getMethod("packagesValidateUploadHuggingfaceWithHttpInfo", String.class, String.class, HuggingfacePackageUploadRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = packagesValidateUploadHuggingfaceCall(owner, repo, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Validate parameters for create Hugging Face package
+ * Validate parameters for create Hugging Face package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public void packagesValidateUploadHuggingface(String owner, String repo, HuggingfacePackageUploadRequest data) throws ApiException {
+ packagesValidateUploadHuggingfaceWithHttpInfo(owner, repo, data);
+ }
+
+ /**
+ * Validate parameters for create Hugging Face package
+ * Validate parameters for create Hugging Face package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @return ApiResponse<Void>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse packagesValidateUploadHuggingfaceWithHttpInfo( @NotNull String owner, @NotNull String repo, HuggingfacePackageUploadRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = packagesValidateUploadHuggingfaceValidateBeforeCall(owner, repo, data, null, null);
+ return apiClient.execute(call);
+ }
+
+ /**
+ * Validate parameters for create Hugging Face package (asynchronously)
+ * Validate parameters for create Hugging Face package
+ * @param owner (required)
+ * @param repo (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call packagesValidateUploadHuggingfaceAsync(String owner, String repo, HuggingfacePackageUploadRequest data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = packagesValidateUploadHuggingfaceValidateBeforeCall(owner, repo, data, progressListener, progressRequestListener);
+ apiClient.executeAsync(call, callback);
+ return call;
+ }
/**
* Build call for packagesValidateUploadLuarocks
* @param owner (required)
diff --git a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
index 08e29caf..7cc6cc10 100644
--- a/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
+++ b/bindings/java/src/src/main/java/io/cloudsmith/api/apis/ReposApi.java
@@ -42,6 +42,9 @@
import io.cloudsmith.api.models.ComposerUpstream;
import io.cloudsmith.api.models.ComposerUpstreamRequest;
import io.cloudsmith.api.models.ComposerUpstreamRequestPatch;
+import io.cloudsmith.api.models.CondaUpstream;
+import io.cloudsmith.api.models.CondaUpstreamRequest;
+import io.cloudsmith.api.models.CondaUpstreamRequestPatch;
import io.cloudsmith.api.models.CranUpstream;
import io.cloudsmith.api.models.CranUpstreamRequest;
import io.cloudsmith.api.models.CranUpstreamRequestPatch;
@@ -64,6 +67,9 @@
import io.cloudsmith.api.models.HexUpstream;
import io.cloudsmith.api.models.HexUpstreamRequest;
import io.cloudsmith.api.models.HexUpstreamRequestPatch;
+import io.cloudsmith.api.models.HuggingfaceUpstream;
+import io.cloudsmith.api.models.HuggingfaceUpstreamRequest;
+import io.cloudsmith.api.models.HuggingfaceUpstreamRequestPatch;
import io.cloudsmith.api.models.MavenUpstream;
import io.cloudsmith.api.models.MavenUpstreamRequest;
import io.cloudsmith.api.models.MavenUpstreamRequestPatch;
@@ -5923,7 +5929,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
return call;
}
/**
- * Build call for reposUpstreamCranCreate
+ * Build call for reposUpstreamCondaCreate
* @param owner (required)
* @param identifier (required)
* @param data (optional)
@@ -5932,11 +5938,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranCreateCall(String owner, String identifier, CranUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaCreateCall(String owner, String identifier, CondaUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = data;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/conda/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
@@ -5979,18 +5985,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamCranCreateValidateBeforeCall(String owner, String identifier, CranUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCondaCreateValidateBeforeCall(String owner, String identifier, CondaUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, data };
- Method method = this.getClass().getMethod("reposUpstreamCranCreateWithHttpInfo", String.class, String.class, CranUpstreamRequest.class);
+ Method method = this.getClass().getMethod("reposUpstreamCondaCreateWithHttpInfo", String.class, String.class, CondaUpstreamRequest.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamCranCreateCall(owner, identifier, data, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCondaCreateCall(owner, identifier, data, progressListener, progressRequestListener);
return call;
} else {
@@ -6007,37 +6013,37 @@ private com.squareup.okhttp.Call reposUpstreamCranCreateValidateBeforeCall(Strin
}
/**
- * Create a CRAN upstream config for this repository.
- * Create a CRAN upstream config for this repository.
+ * Create a Conda upstream config for this repository.
+ * Create a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
- * @return CranUpstream
+ * @return CondaUpstream
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public CranUpstream reposUpstreamCranCreate(String owner, String identifier, CranUpstreamRequest data) throws ApiException {
- ApiResponse resp = reposUpstreamCranCreateWithHttpInfo(owner, identifier, data);
+ public CondaUpstream reposUpstreamCondaCreate(String owner, String identifier, CondaUpstreamRequest data) throws ApiException {
+ ApiResponse resp = reposUpstreamCondaCreateWithHttpInfo(owner, identifier, data);
return resp.getData();
}
/**
- * Create a CRAN upstream config for this repository.
- * Create a CRAN upstream config for this repository.
+ * Create a Conda upstream config for this repository.
+ * Create a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
- * @return ApiResponse<CranUpstream>
+ * @return ApiResponse<CondaUpstream>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposUpstreamCranCreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, CranUpstreamRequest data) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamCranCreateValidateBeforeCall(owner, identifier, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposUpstreamCondaCreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, CondaUpstreamRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCondaCreateValidateBeforeCall(owner, identifier, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Create a CRAN upstream config for this repository. (asynchronously)
- * Create a CRAN upstream config for this repository.
+ * Create a Conda upstream config for this repository. (asynchronously)
+ * Create a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
@@ -6045,7 +6051,7 @@ public ApiResponse reposUpstreamCranCreateWithHttpInfo( @NotNull S
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranCreateAsync(String owner, String identifier, CranUpstreamRequest data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaCreateAsync(String owner, String identifier, CondaUpstreamRequest data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -6066,13 +6072,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamCranCreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposUpstreamCondaCreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposUpstreamCranDelete
+ * Build call for reposUpstreamCondaDelete
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6081,11 +6087,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranDeleteCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaDeleteCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
.replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
@@ -6129,18 +6135,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamCranDeleteValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCondaDeleteValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, slugPerm };
- Method method = this.getClass().getMethod("reposUpstreamCranDeleteWithHttpInfo", String.class, String.class, String.class);
+ Method method = this.getClass().getMethod("reposUpstreamCondaDeleteWithHttpInfo", String.class, String.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamCranDeleteCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCondaDeleteCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
return call;
} else {
@@ -6157,34 +6163,34 @@ private com.squareup.okhttp.Call reposUpstreamCranDeleteValidateBeforeCall(Strin
}
/**
- * Delete a CRAN upstream config for this repository.
- * Delete a CRAN upstream config for this repository.
+ * Delete a Conda upstream config for this repository.
+ * Delete a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public void reposUpstreamCranDelete(String owner, String identifier, String slugPerm) throws ApiException {
- reposUpstreamCranDeleteWithHttpInfo(owner, identifier, slugPerm);
+ public void reposUpstreamCondaDelete(String owner, String identifier, String slugPerm) throws ApiException {
+ reposUpstreamCondaDeleteWithHttpInfo(owner, identifier, slugPerm);
}
/**
- * Delete a CRAN upstream config for this repository.
- * Delete a CRAN upstream config for this repository.
+ * Delete a Conda upstream config for this repository.
+ * Delete a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
* @return ApiResponse<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposUpstreamCranDeleteWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamCranDeleteValidateBeforeCall(owner, identifier, slugPerm, null, null);
+ public ApiResponse reposUpstreamCondaDeleteWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCondaDeleteValidateBeforeCall(owner, identifier, slugPerm, null, null);
return apiClient.execute(call);
}
/**
- * Delete a CRAN upstream config for this repository. (asynchronously)
- * Delete a CRAN upstream config for this repository.
+ * Delete a Conda upstream config for this repository. (asynchronously)
+ * Delete a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6192,7 +6198,7 @@ public ApiResponse reposUpstreamCranDeleteWithHttpInfo( @NotNull String ow
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranDeleteAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaDeleteAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -6213,12 +6219,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamCranDeleteValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCondaDeleteValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
apiClient.executeAsync(call, callback);
return call;
}
/**
- * Build call for reposUpstreamCranList
+ * Build call for reposUpstreamCondaList
* @param owner (required)
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
@@ -6228,11 +6234,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranListCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaListCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/conda/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
@@ -6279,18 +6285,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamCranListValidateBeforeCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCondaListValidateBeforeCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, page, pageSize };
- Method method = this.getClass().getMethod("reposUpstreamCranListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class);
+ Method method = this.getClass().getMethod("reposUpstreamCondaListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamCranListCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCondaListCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
return call;
} else {
@@ -6307,39 +6313,39 @@ private com.squareup.okhttp.Call reposUpstreamCranListValidateBeforeCall(String
}
/**
- * List CRAN upstream configs for this repository.
- * List CRAN upstream configs for this repository.
+ * List Conda upstream configs for this repository.
+ * List Conda upstream configs for this repository.
* @param owner (required)
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return List<CranUpstream>
+ * @return List<CondaUpstream>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List reposUpstreamCranList(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
- ApiResponse> resp = reposUpstreamCranListWithHttpInfo(owner, identifier, page, pageSize);
+ public List reposUpstreamCondaList(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse> resp = reposUpstreamCondaListWithHttpInfo(owner, identifier, page, pageSize);
return resp.getData();
}
/**
- * List CRAN upstream configs for this repository.
- * List CRAN upstream configs for this repository.
+ * List Conda upstream configs for this repository.
+ * List Conda upstream configs for this repository.
* @param owner (required)
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return ApiResponse<List<CranUpstream>>
+ * @return ApiResponse<List<CondaUpstream>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> reposUpstreamCranListWithHttpInfo( @NotNull String owner, @NotNull String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamCranListValidateBeforeCall(owner, identifier, page, pageSize, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ public ApiResponse> reposUpstreamCondaListWithHttpInfo( @NotNull String owner, @NotNull String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCondaListValidateBeforeCall(owner, identifier, page, pageSize, null, null);
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * List CRAN upstream configs for this repository. (asynchronously)
- * List CRAN upstream configs for this repository.
+ * List Conda upstream configs for this repository. (asynchronously)
+ * List Conda upstream configs for this repository.
* @param owner (required)
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
@@ -6348,7 +6354,7 @@ public ApiResponse> reposUpstreamCranListWithHttpInfo( @NotNu
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranListAsync(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback> callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaListAsync(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -6369,13 +6375,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamCranListValidateBeforeCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ com.squareup.okhttp.Call call = reposUpstreamCondaListValidateBeforeCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposUpstreamCranPartialUpdate
+ * Build call for reposUpstreamCondaPartialUpdate
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6385,11 +6391,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranPartialUpdateCall(String owner, String identifier, String slugPerm, CranUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaPartialUpdateCall(String owner, String identifier, String slugPerm, CondaUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = data;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
.replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
@@ -6433,18 +6439,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamCranPartialUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, CranUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCondaPartialUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, CondaUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, slugPerm, data };
- Method method = this.getClass().getMethod("reposUpstreamCranPartialUpdateWithHttpInfo", String.class, String.class, String.class, CranUpstreamRequestPatch.class);
+ Method method = this.getClass().getMethod("reposUpstreamCondaPartialUpdateWithHttpInfo", String.class, String.class, String.class, CondaUpstreamRequestPatch.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamCranPartialUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCondaPartialUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
return call;
} else {
@@ -6461,39 +6467,39 @@ private com.squareup.okhttp.Call reposUpstreamCranPartialUpdateValidateBeforeCal
}
/**
- * Partially update a CRAN upstream config for this repository.
- * Partially update a CRAN upstream config for this repository.
+ * Partially update a Conda upstream config for this repository.
+ * Partially update a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
* @param data (optional)
- * @return CranUpstream
+ * @return CondaUpstream
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public CranUpstream reposUpstreamCranPartialUpdate(String owner, String identifier, String slugPerm, CranUpstreamRequestPatch data) throws ApiException {
- ApiResponse resp = reposUpstreamCranPartialUpdateWithHttpInfo(owner, identifier, slugPerm, data);
+ public CondaUpstream reposUpstreamCondaPartialUpdate(String owner, String identifier, String slugPerm, CondaUpstreamRequestPatch data) throws ApiException {
+ ApiResponse resp = reposUpstreamCondaPartialUpdateWithHttpInfo(owner, identifier, slugPerm, data);
return resp.getData();
}
/**
- * Partially update a CRAN upstream config for this repository.
- * Partially update a CRAN upstream config for this repository.
+ * Partially update a Conda upstream config for this repository.
+ * Partially update a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
* @param data (optional)
- * @return ApiResponse<CranUpstream>
+ * @return ApiResponse<CondaUpstream>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposUpstreamCranPartialUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, CranUpstreamRequestPatch data) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamCranPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposUpstreamCondaPartialUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, CondaUpstreamRequestPatch data) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCondaPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Partially update a CRAN upstream config for this repository. (asynchronously)
- * Partially update a CRAN upstream config for this repository.
+ * Partially update a Conda upstream config for this repository. (asynchronously)
+ * Partially update a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6502,7 +6508,7 @@ public ApiResponse reposUpstreamCranPartialUpdateWithHttpInfo( @No
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranPartialUpdateAsync(String owner, String identifier, String slugPerm, CranUpstreamRequestPatch data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaPartialUpdateAsync(String owner, String identifier, String slugPerm, CondaUpstreamRequestPatch data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -6523,13 +6529,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamCranPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposUpstreamCondaPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposUpstreamCranRead
+ * Build call for reposUpstreamCondaRead
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6538,11 +6544,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranReadCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaReadCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
.replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
@@ -6586,18 +6592,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamCranReadValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCondaReadValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, slugPerm };
- Method method = this.getClass().getMethod("reposUpstreamCranReadWithHttpInfo", String.class, String.class, String.class);
+ Method method = this.getClass().getMethod("reposUpstreamCondaReadWithHttpInfo", String.class, String.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamCranReadCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCondaReadCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
return call;
} else {
@@ -6614,37 +6620,37 @@ private com.squareup.okhttp.Call reposUpstreamCranReadValidateBeforeCall(String
}
/**
- * Retrieve a CRAN upstream config for this repository.
- * Retrieve a CRAN upstream config for this repository.
+ * Retrieve a Conda upstream config for this repository.
+ * Retrieve a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
- * @return CranUpstream
+ * @return CondaUpstream
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public CranUpstream reposUpstreamCranRead(String owner, String identifier, String slugPerm) throws ApiException {
- ApiResponse resp = reposUpstreamCranReadWithHttpInfo(owner, identifier, slugPerm);
+ public CondaUpstream reposUpstreamCondaRead(String owner, String identifier, String slugPerm) throws ApiException {
+ ApiResponse resp = reposUpstreamCondaReadWithHttpInfo(owner, identifier, slugPerm);
return resp.getData();
}
/**
- * Retrieve a CRAN upstream config for this repository.
- * Retrieve a CRAN upstream config for this repository.
+ * Retrieve a Conda upstream config for this repository.
+ * Retrieve a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
- * @return ApiResponse<CranUpstream>
+ * @return ApiResponse<CondaUpstream>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposUpstreamCranReadWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamCranReadValidateBeforeCall(owner, identifier, slugPerm, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposUpstreamCondaReadWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCondaReadValidateBeforeCall(owner, identifier, slugPerm, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Retrieve a CRAN upstream config for this repository. (asynchronously)
- * Retrieve a CRAN upstream config for this repository.
+ * Retrieve a Conda upstream config for this repository. (asynchronously)
+ * Retrieve a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6652,7 +6658,7 @@ public ApiResponse reposUpstreamCranReadWithHttpInfo( @NotNull Str
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranReadAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaReadAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -6673,13 +6679,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamCranReadValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposUpstreamCondaReadValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposUpstreamCranUpdate
+ * Build call for reposUpstreamCondaUpdate
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6689,11 +6695,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranUpdateCall(String owner, String identifier, String slugPerm, CranUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaUpdateCall(String owner, String identifier, String slugPerm, CondaUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = data;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/conda/{slug_perm}/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
.replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
@@ -6737,18 +6743,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamCranUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, CranUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCondaUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, CondaUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, slugPerm, data };
- Method method = this.getClass().getMethod("reposUpstreamCranUpdateWithHttpInfo", String.class, String.class, String.class, CranUpstreamRequest.class);
+ Method method = this.getClass().getMethod("reposUpstreamCondaUpdateWithHttpInfo", String.class, String.class, String.class, CondaUpstreamRequest.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamCranUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCondaUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
return call;
} else {
@@ -6765,39 +6771,39 @@ private com.squareup.okhttp.Call reposUpstreamCranUpdateValidateBeforeCall(Strin
}
/**
- * Update a CRAN upstream config for this repository.
- * Update a CRAN upstream config for this repository.
+ * Update a Conda upstream config for this repository.
+ * Update a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
* @param data (optional)
- * @return CranUpstream
+ * @return CondaUpstream
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public CranUpstream reposUpstreamCranUpdate(String owner, String identifier, String slugPerm, CranUpstreamRequest data) throws ApiException {
- ApiResponse resp = reposUpstreamCranUpdateWithHttpInfo(owner, identifier, slugPerm, data);
+ public CondaUpstream reposUpstreamCondaUpdate(String owner, String identifier, String slugPerm, CondaUpstreamRequest data) throws ApiException {
+ ApiResponse resp = reposUpstreamCondaUpdateWithHttpInfo(owner, identifier, slugPerm, data);
return resp.getData();
}
/**
- * Update a CRAN upstream config for this repository.
- * Update a CRAN upstream config for this repository.
+ * Update a Conda upstream config for this repository.
+ * Update a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
* @param data (optional)
- * @return ApiResponse<CranUpstream>
+ * @return ApiResponse<CondaUpstream>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposUpstreamCranUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, CranUpstreamRequest data) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamCranUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposUpstreamCondaUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, CondaUpstreamRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCondaUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Update a CRAN upstream config for this repository. (asynchronously)
- * Update a CRAN upstream config for this repository.
+ * Update a Conda upstream config for this repository. (asynchronously)
+ * Update a Conda upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6806,7 +6812,7 @@ public ApiResponse reposUpstreamCranUpdateWithHttpInfo( @NotNull S
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamCranUpdateAsync(String owner, String identifier, String slugPerm, CranUpstreamRequest data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCondaUpdateAsync(String owner, String identifier, String slugPerm, CondaUpstreamRequest data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -6827,13 +6833,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamCranUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposUpstreamCondaUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposUpstreamDartCreate
+ * Build call for reposUpstreamCranCreate
* @param owner (required)
* @param identifier (required)
* @param data (optional)
@@ -6842,11 +6848,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamDartCreateCall(String owner, String identifier, DartUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCranCreateCall(String owner, String identifier, CranUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = data;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/dart/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
@@ -6889,18 +6895,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamDartCreateValidateBeforeCall(String owner, String identifier, DartUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCranCreateValidateBeforeCall(String owner, String identifier, CranUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, data };
- Method method = this.getClass().getMethod("reposUpstreamDartCreateWithHttpInfo", String.class, String.class, DartUpstreamRequest.class);
+ Method method = this.getClass().getMethod("reposUpstreamCranCreateWithHttpInfo", String.class, String.class, CranUpstreamRequest.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamDartCreateCall(owner, identifier, data, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCranCreateCall(owner, identifier, data, progressListener, progressRequestListener);
return call;
} else {
@@ -6917,37 +6923,37 @@ private com.squareup.okhttp.Call reposUpstreamDartCreateValidateBeforeCall(Strin
}
/**
- * Create a Dart upstream config for this repository.
- * Create a Dart upstream config for this repository.
+ * Create a CRAN upstream config for this repository.
+ * Create a CRAN upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
- * @return DartUpstream
+ * @return CranUpstream
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public DartUpstream reposUpstreamDartCreate(String owner, String identifier, DartUpstreamRequest data) throws ApiException {
- ApiResponse resp = reposUpstreamDartCreateWithHttpInfo(owner, identifier, data);
+ public CranUpstream reposUpstreamCranCreate(String owner, String identifier, CranUpstreamRequest data) throws ApiException {
+ ApiResponse resp = reposUpstreamCranCreateWithHttpInfo(owner, identifier, data);
return resp.getData();
}
/**
- * Create a Dart upstream config for this repository.
- * Create a Dart upstream config for this repository.
+ * Create a CRAN upstream config for this repository.
+ * Create a CRAN upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
- * @return ApiResponse<DartUpstream>
+ * @return ApiResponse<CranUpstream>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposUpstreamDartCreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, DartUpstreamRequest data) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamDartCreateValidateBeforeCall(owner, identifier, data, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse reposUpstreamCranCreateWithHttpInfo( @NotNull String owner, @NotNull String identifier, CranUpstreamRequest data) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCranCreateValidateBeforeCall(owner, identifier, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Create a Dart upstream config for this repository. (asynchronously)
- * Create a Dart upstream config for this repository.
+ * Create a CRAN upstream config for this repository. (asynchronously)
+ * Create a CRAN upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param data (optional)
@@ -6955,7 +6961,7 @@ public ApiResponse reposUpstreamDartCreateWithHttpInfo( @NotNull S
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamDartCreateAsync(String owner, String identifier, DartUpstreamRequest data, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCranCreateAsync(String owner, String identifier, CranUpstreamRequest data, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -6976,13 +6982,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamDartCreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ com.squareup.okhttp.Call call = reposUpstreamCranCreateValidateBeforeCall(owner, identifier, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposUpstreamDartDelete
+ * Build call for reposUpstreamCranDelete
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -6991,11 +6997,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamDartDeleteCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCranDeleteCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/dart/{slug_perm}/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
.replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
@@ -7039,18 +7045,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamDartDeleteValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCranDeleteValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, slugPerm };
- Method method = this.getClass().getMethod("reposUpstreamDartDeleteWithHttpInfo", String.class, String.class, String.class);
+ Method method = this.getClass().getMethod("reposUpstreamCranDeleteWithHttpInfo", String.class, String.class, String.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamDartDeleteCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCranDeleteCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
return call;
} else {
@@ -7067,34 +7073,34 @@ private com.squareup.okhttp.Call reposUpstreamDartDeleteValidateBeforeCall(Strin
}
/**
- * Delete a Dart upstream config for this repository.
- * Delete a Dart upstream config for this repository.
+ * Delete a CRAN upstream config for this repository.
+ * Delete a CRAN upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public void reposUpstreamDartDelete(String owner, String identifier, String slugPerm) throws ApiException {
- reposUpstreamDartDeleteWithHttpInfo(owner, identifier, slugPerm);
+ public void reposUpstreamCranDelete(String owner, String identifier, String slugPerm) throws ApiException {
+ reposUpstreamCranDeleteWithHttpInfo(owner, identifier, slugPerm);
}
/**
- * Delete a Dart upstream config for this repository.
- * Delete a Dart upstream config for this repository.
+ * Delete a CRAN upstream config for this repository.
+ * Delete a CRAN upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
* @return ApiResponse<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse reposUpstreamDartDeleteWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamDartDeleteValidateBeforeCall(owner, identifier, slugPerm, null, null);
+ public ApiResponse reposUpstreamCranDeleteWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCranDeleteValidateBeforeCall(owner, identifier, slugPerm, null, null);
return apiClient.execute(call);
}
/**
- * Delete a Dart upstream config for this repository. (asynchronously)
- * Delete a Dart upstream config for this repository.
+ * Delete a CRAN upstream config for this repository. (asynchronously)
+ * Delete a CRAN upstream config for this repository.
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -7102,7 +7108,7 @@ public ApiResponse reposUpstreamDartDeleteWithHttpInfo( @NotNull String ow
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamDartDeleteAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCranDeleteAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -7123,12 +7129,12 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamDartDeleteValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCranDeleteValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
apiClient.executeAsync(call, callback);
return call;
}
/**
- * Build call for reposUpstreamDartList
+ * Build call for reposUpstreamCranList
* @param owner (required)
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
@@ -7138,11 +7144,11 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamDartListCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCranListCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/repos/{owner}/{identifier}/upstream/dart/"
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/"
.replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
.replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()));
@@ -7189,18 +7195,18 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch
}
@SuppressWarnings("rawtypes")
- private com.squareup.okhttp.Call reposUpstreamDartListValidateBeforeCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ private com.squareup.okhttp.Call reposUpstreamCranListValidateBeforeCall(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
try {
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
ExecutableValidator executableValidator = factory.getValidator().forExecutables();
Object[] parameterValues = { owner, identifier, page, pageSize };
- Method method = this.getClass().getMethod("reposUpstreamDartListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class);
+ Method method = this.getClass().getMethod("reposUpstreamCranListWithHttpInfo", String.class, String.class, java.math.BigInteger.class, java.math.BigInteger.class);
Set> violations = executableValidator.validateParameters(this, method,
parameterValues);
if (violations.size() == 0) {
- com.squareup.okhttp.Call call = reposUpstreamDartListCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
+ com.squareup.okhttp.Call call = reposUpstreamCranListCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
return call;
} else {
@@ -7217,39 +7223,39 @@ private com.squareup.okhttp.Call reposUpstreamDartListValidateBeforeCall(String
}
/**
- * List Dart upstream configs for this repository.
- * List Dart upstream configs for this repository.
+ * List CRAN upstream configs for this repository.
+ * List CRAN upstream configs for this repository.
* @param owner (required)
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return List<DartUpstream>
+ * @return List<CranUpstream>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List reposUpstreamDartList(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
- ApiResponse> resp = reposUpstreamDartListWithHttpInfo(owner, identifier, page, pageSize);
+ public List reposUpstreamCranList(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ ApiResponse> resp = reposUpstreamCranListWithHttpInfo(owner, identifier, page, pageSize);
return resp.getData();
}
/**
- * List Dart upstream configs for this repository.
- * List Dart upstream configs for this repository.
+ * List CRAN upstream configs for this repository.
+ * List CRAN upstream configs for this repository.
* @param owner (required)
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
* @param pageSize Number of results to return per page. (optional)
- * @return ApiResponse<List<DartUpstream>>
+ * @return ApiResponse<List<CranUpstream>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> reposUpstreamDartListWithHttpInfo( @NotNull String owner, @NotNull String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
- com.squareup.okhttp.Call call = reposUpstreamDartListValidateBeforeCall(owner, identifier, page, pageSize, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ public ApiResponse> reposUpstreamCranListWithHttpInfo( @NotNull String owner, @NotNull String identifier, java.math.BigInteger page, java.math.BigInteger pageSize) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCranListValidateBeforeCall(owner, identifier, page, pageSize, null, null);
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * List Dart upstream configs for this repository. (asynchronously)
- * List Dart upstream configs for this repository.
+ * List CRAN upstream configs for this repository. (asynchronously)
+ * List CRAN upstream configs for this repository.
* @param owner (required)
* @param identifier (required)
* @param page A page number within the paginated result set. (optional)
@@ -7258,7 +7264,7 @@ public ApiResponse> reposUpstreamDartListWithHttpInfo( @NotNu
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamDartListAsync(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback> callback) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCranListAsync(String owner, String identifier, java.math.BigInteger page, java.math.BigInteger pageSize, final ApiCallback> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@@ -7279,13 +7285,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- com.squareup.okhttp.Call call = reposUpstreamDartListValidateBeforeCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ com.squareup.okhttp.Call call = reposUpstreamCranListValidateBeforeCall(owner, identifier, page, pageSize, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
/**
- * Build call for reposUpstreamDartPartialUpdate
+ * Build call for reposUpstreamCranPartialUpdate
* @param owner (required)
* @param identifier (required)
* @param slugPerm (required)
@@ -7295,7 +7301,1221 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
- public com.squareup.okhttp.Call reposUpstreamDartPartialUpdateCall(String owner, String identifier, String slugPerm, DartUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ public com.squareup.okhttp.Call reposUpstreamCranPartialUpdateCall(String owner, String identifier, String slugPerm, CranUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamCranPartialUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, CranUpstreamRequestPatch data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm, data };
+ Method method = this.getClass().getMethod("reposUpstreamCranPartialUpdateWithHttpInfo", String.class, String.class, String.class, CranUpstreamRequestPatch.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamCranPartialUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Partially update a CRAN upstream config for this repository.
+ * Partially update a CRAN upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return CranUpstream
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public CranUpstream reposUpstreamCranPartialUpdate(String owner, String identifier, String slugPerm, CranUpstreamRequestPatch data) throws ApiException {
+ ApiResponse resp = reposUpstreamCranPartialUpdateWithHttpInfo(owner, identifier, slugPerm, data);
+ return resp.getData();
+ }
+
+ /**
+ * Partially update a CRAN upstream config for this repository.
+ * Partially update a CRAN upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return ApiResponse<CranUpstream>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposUpstreamCranPartialUpdateWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm, CranUpstreamRequestPatch data) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCranPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Partially update a CRAN upstream config for this repository. (asynchronously)
+ * Partially update a CRAN upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamCranPartialUpdateAsync(String owner, String identifier, String slugPerm, CranUpstreamRequestPatch data, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposUpstreamCranPartialUpdateValidateBeforeCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposUpstreamCranRead
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamCranReadCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamCranReadValidateBeforeCall(String owner, String identifier, String slugPerm, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm };
+ Method method = this.getClass().getMethod("reposUpstreamCranReadWithHttpInfo", String.class, String.class, String.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamCranReadCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Retrieve a CRAN upstream config for this repository.
+ * Retrieve a CRAN upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @return CranUpstream
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public CranUpstream reposUpstreamCranRead(String owner, String identifier, String slugPerm) throws ApiException {
+ ApiResponse resp = reposUpstreamCranReadWithHttpInfo(owner, identifier, slugPerm);
+ return resp.getData();
+ }
+
+ /**
+ * Retrieve a CRAN upstream config for this repository.
+ * Retrieve a CRAN upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @return ApiResponse<CranUpstream>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public ApiResponse reposUpstreamCranReadWithHttpInfo( @NotNull String owner, @NotNull String identifier, @NotNull String slugPerm) throws ApiException {
+ com.squareup.okhttp.Call call = reposUpstreamCranReadValidateBeforeCall(owner, identifier, slugPerm, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Retrieve a CRAN upstream config for this repository. (asynchronously)
+ * Retrieve a CRAN upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamCranReadAsync(String owner, String identifier, String slugPerm, final ApiCallback callback) throws ApiException {
+
+ ProgressResponseBody.ProgressListener progressListener = null;
+ ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
+
+ if (callback != null) {
+ progressListener = new ProgressResponseBody.ProgressListener() {
+ @Override
+ public void update(long bytesRead, long contentLength, boolean done) {
+ callback.onDownloadProgress(bytesRead, contentLength, done);
+ }
+ };
+
+ progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
+ @Override
+ public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
+ callback.onUploadProgress(bytesWritten, contentLength, done);
+ }
+ };
+ }
+
+ com.squareup.okhttp.Call call = reposUpstreamCranReadValidateBeforeCall(owner, identifier, slugPerm, progressListener, progressRequestListener);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ apiClient.executeAsync(call, localVarReturnType, callback);
+ return call;
+ }
+ /**
+ * Build call for reposUpstreamCranUpdate
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @param progressListener Progress listener
+ * @param progressRequestListener Progress request listener
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ */
+ public com.squareup.okhttp.Call reposUpstreamCranUpdateCall(String owner, String identifier, String slugPerm, CranUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ Object localVarPostBody = data;
+
+ // create path and map variables
+ String localVarPath = "/repos/{owner}/{identifier}/upstream/cran/{slug_perm}/"
+ .replaceAll("\\{" + "owner" + "\\}", apiClient.escapeString(owner.toString()))
+ .replaceAll("\\{" + "identifier" + "\\}", apiClient.escapeString(identifier.toString()))
+ .replaceAll("\\{" + "slug_perm" + "\\}", apiClient.escapeString(slugPerm.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
+ @Override
+ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
+ com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { "apikey", "basic" };
+ if (headers != null) {
+ localVarHeaderParams.putAll(headers);
+ }
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private com.squareup.okhttp.Call reposUpstreamCranUpdateValidateBeforeCall(String owner, String identifier, String slugPerm, CranUpstreamRequest data, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
+ try {
+ ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
+ ExecutableValidator executableValidator = factory.getValidator().forExecutables();
+
+ Object[] parameterValues = { owner, identifier, slugPerm, data };
+ Method method = this.getClass().getMethod("reposUpstreamCranUpdateWithHttpInfo", String.class, String.class, String.class, CranUpstreamRequest.class);
+ Set> violations = executableValidator.validateParameters(this, method,
+ parameterValues);
+
+ if (violations.size() == 0) {
+ com.squareup.okhttp.Call call = reposUpstreamCranUpdateCall(owner, identifier, slugPerm, data, progressListener, progressRequestListener);
+ return call;
+
+ } else {
+ throw new BeanValidationException((Set) violations);
+ }
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ throw new ApiException(e.getMessage());
+ }
+
+ }
+
+ /**
+ * Update a CRAN upstream config for this repository.
+ * Update a CRAN upstream config for this repository.
+ * @param owner (required)
+ * @param identifier (required)
+ * @param slugPerm (required)
+ * @param data (optional)
+ * @return CranUpstream
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ */
+ public CranUpstream reposUpstreamCranUpdate(String owner, String identifier, String slugPerm, CranUpstreamRequest data) throws ApiException {
+ ApiResponse