Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bindings: v2.0.11 #52

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bindings/java/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>io.cloudsmith.api</groupId>
<artifactId>cloudsmith-api</artifactId>
<version>2.0.10</version>
<version>2.0.11</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -50,7 +50,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "io.cloudsmith.api:cloudsmith-api:2.0.10"
compile "io.cloudsmith.api:cloudsmith-api:2.0.11"
```

### Others
Expand All @@ -63,7 +63,7 @@ mvn clean package

Then manually install the following JARs:

* `target/cloudsmith-api-2.0.10.jar`
* `target/cloudsmith-api-2.0.11.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'

group = 'io.cloudsmith.api'
version = '2.0.10'
version = '2.0.11'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"apiPackage": "io.cloudsmith.api.apis",
"artifactId": "cloudsmith-api",
"artifactUrl": "https://api.cloudsmith.io/?format=openapi",
"artifactVersion": "2.0.10",
"artifactVersion": "2.0.11",
"artifactDescription": "Cloudsmith API",
"dateLibrary": "java8",
"developerName": "Cloudsmith Ltd",
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "io.cloudsmith.api",
name := "cloudsmith-api",
version := "2.0.10",
version := "2.0.11",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
7 changes: 6 additions & 1 deletion bindings/java/src/docs/SwiftPackageUpload.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**architectures** | [**List&lt;Architecture&gt;**](Architecture.md) | | [optional]
**authorName** | **String** | The name of the author of the package. | [optional]
**authorOrg** | **String** | The organization of the author. | [optional]
**cdnUrl** | **String** | | [optional]
**checksumMd5** | **String** | | [optional]
**checksumSha1** | **String** | | [optional]
Expand Down Expand Up @@ -32,16 +34,19 @@ Name | Type | Description | Notes
**isSyncInFlight** | **Boolean** | | [optional]
**isSyncInProgress** | **Boolean** | | [optional]
**license** | **String** | The license of this package. | [optional]
**licenseUrl** | **String** | The license URL 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]
**readmeUrl** | **String** | The URL of the readme for the package. | [optional]
**release** | **String** | The release of the package version (if any). | [optional]
**repository** | **String** | | [optional]
**repositoryUrl** | **String** | | [optional]
**repositoryUrl** | **String** | The URL of the SCM repository for the package. | [optional]
**scope** | **String** | A scope provides a namespace for related packages within the package registry. |
**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]
Expand Down
6 changes: 6 additions & 0 deletions bindings/java/src/docs/SwiftPackageUploadRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**authorName** | **String** | The name of the author of the package. | [optional]
**authorOrg** | **String** | The organization of the author. | [optional]
**licenseUrl** | **String** | The license URL of this package. | [optional]
**packageFile** | **String** | The primary file for the package. |
**readmeUrl** | **String** | The URL of the readme for the package. | [optional]
**repositoryUrl** | **String** | The URL of the SCM repository for the package. | [optional]
**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]
**scope** | **String** | A scope provides a namespace for related packages within the package registry. |
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
**version** | **String** | The raw version for this package. |

Expand Down
2 changes: 1 addition & 1 deletion bindings/java/src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>cloudsmith-api</artifactId>
<packaging>jar</packaging>
<name>cloudsmith-api</name>
<version>2.0.10</version>
<version>2.0.11</version>
<url>https://api.cloudsmith.io/?format&#x3D;openapi</url>
<description>Cloudsmith API</description>
<scm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public ApiClient() {
json = new JSON();

// Set default User-Agent.
setUserAgent("Swagger-Codegen/2.0.10/java");
setUserAgent("Swagger-Codegen/2.0.11/java");

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<String, Authentication>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class StatusBasic implements Serializable {
private String detail = "Cloudsmith API is operational.";

@SerializedName("version")
private String version = "1.363.0";
private String version = "1.373.1";

/**
* The message describing the state of the API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ public class SwiftPackageUpload implements Serializable {
@SerializedName("architectures")
private List<Architecture> architectures = null;

@SerializedName("author_name")
private String authorName = null;

@SerializedName("author_org")
private String authorOrg = null;

@SerializedName("cdn_url")
private String cdnUrl = null;

Expand Down Expand Up @@ -126,6 +132,9 @@ public class SwiftPackageUpload implements Serializable {
@SerializedName("license")
private String license = null;

@SerializedName("license_url")
private String licenseUrl = null;

@SerializedName("name")
private String name = null;

Expand All @@ -147,6 +156,9 @@ public class SwiftPackageUpload implements Serializable {
@SerializedName("package_type")
private java.math.BigInteger packageType = null;

@SerializedName("readme_url")
private String readmeUrl = null;

@SerializedName("release")
private String release = null;

Expand All @@ -156,6 +168,9 @@ public class SwiftPackageUpload implements Serializable {
@SerializedName("repository_url")
private String repositoryUrl = null;

@SerializedName("scope")
private String scope = null;

@SerializedName("security_scan_completed_at")
private OffsetDateTime securityScanCompletedAt = null;

Expand Down Expand Up @@ -315,6 +330,42 @@ public List<Architecture> getArchitectures() {
return architectures;
}

public SwiftPackageUpload authorName(String authorName) {
this.authorName = authorName;
return this;
}

/**
* The name of the author of the package.
* @return authorName
**/
@Size(min=1) @ApiModelProperty(value = "The name of the author of the package.")
public String getAuthorName() {
return authorName;
}

public void setAuthorName(String authorName) {
this.authorName = authorName;
}

public SwiftPackageUpload authorOrg(String authorOrg) {
this.authorOrg = authorOrg;
return this;
}

/**
* The organization of the author.
* @return authorOrg
**/
@Size(min=1) @ApiModelProperty(value = "The organization of the author.")
public String getAuthorOrg() {
return authorOrg;
}

public void setAuthorOrg(String authorOrg) {
this.authorOrg = authorOrg;
}

/**
* Get cdnUrl
* @return cdnUrl
Expand Down Expand Up @@ -579,6 +630,24 @@ public String getLicense() {
return license;
}

public SwiftPackageUpload licenseUrl(String licenseUrl) {
this.licenseUrl = licenseUrl;
return this;
}

/**
* The license URL of this package.
* @return licenseUrl
**/
@Size(max=200) @ApiModelProperty(value = "The license URL of this package.")
public String getLicenseUrl() {
return licenseUrl;
}

public void setLicenseUrl(String licenseUrl) {
this.licenseUrl = licenseUrl;
}

/**
* The name of this package.
* @return name
Expand Down Expand Up @@ -642,6 +711,24 @@ public java.math.BigInteger getPackageType() {
return packageType;
}

public SwiftPackageUpload readmeUrl(String readmeUrl) {
this.readmeUrl = readmeUrl;
return this;
}

/**
* The URL of the readme for the package.
* @return readmeUrl
**/
@Size(min=1) @ApiModelProperty(value = "The URL of the readme for the package.")
public String getReadmeUrl() {
return readmeUrl;
}

public void setReadmeUrl(String readmeUrl) {
this.readmeUrl = readmeUrl;
}

/**
* The release of the package version (if any).
* @return release
Expand All @@ -660,15 +747,43 @@ public String getRepository() {
return repository;
}

public SwiftPackageUpload repositoryUrl(String repositoryUrl) {
this.repositoryUrl = repositoryUrl;
return this;
}

/**
* Get repositoryUrl
* The URL of the SCM repository for the package.
* @return repositoryUrl
**/
@ApiModelProperty(value = "")
@Size(min=1) @ApiModelProperty(value = "The URL of the SCM repository for the package.")
public String getRepositoryUrl() {
return repositoryUrl;
}

public void setRepositoryUrl(String repositoryUrl) {
this.repositoryUrl = repositoryUrl;
}

public SwiftPackageUpload scope(String scope) {
this.scope = scope;
return this;
}

/**
* A scope provides a namespace for related packages within the package registry.
* @return scope
**/
@NotNull
@Size(min=1,max=39) @ApiModelProperty(required = true, value = "A scope provides a namespace for related packages within the package registry.")
public String getScope() {
return scope;
}

public void setScope(String scope) {
this.scope = scope;
}

/**
* The datetime the security scanning was completed.
* @return securityScanCompletedAt
Expand Down Expand Up @@ -977,6 +1092,8 @@ public boolean equals(java.lang.Object o) {
}
SwiftPackageUpload swiftPackageUpload = (SwiftPackageUpload) o;
return Objects.equals(this.architectures, swiftPackageUpload.architectures) &&
Objects.equals(this.authorName, swiftPackageUpload.authorName) &&
Objects.equals(this.authorOrg, swiftPackageUpload.authorOrg) &&
Objects.equals(this.cdnUrl, swiftPackageUpload.cdnUrl) &&
Objects.equals(this.checksumMd5, swiftPackageUpload.checksumMd5) &&
Objects.equals(this.checksumSha1, swiftPackageUpload.checksumSha1) &&
Expand Down Expand Up @@ -1004,16 +1121,19 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.isSyncInFlight, swiftPackageUpload.isSyncInFlight) &&
Objects.equals(this.isSyncInProgress, swiftPackageUpload.isSyncInProgress) &&
Objects.equals(this.license, swiftPackageUpload.license) &&
Objects.equals(this.licenseUrl, swiftPackageUpload.licenseUrl) &&
Objects.equals(this.name, swiftPackageUpload.name) &&
Objects.equals(this.namespace, swiftPackageUpload.namespace) &&
Objects.equals(this.namespaceUrl, swiftPackageUpload.namespaceUrl) &&
Objects.equals(this.numFiles, swiftPackageUpload.numFiles) &&
Objects.equals(this.originRepository, swiftPackageUpload.originRepository) &&
Objects.equals(this.originRepositoryUrl, swiftPackageUpload.originRepositoryUrl) &&
Objects.equals(this.packageType, swiftPackageUpload.packageType) &&
Objects.equals(this.readmeUrl, swiftPackageUpload.readmeUrl) &&
Objects.equals(this.release, swiftPackageUpload.release) &&
Objects.equals(this.repository, swiftPackageUpload.repository) &&
Objects.equals(this.repositoryUrl, swiftPackageUpload.repositoryUrl) &&
Objects.equals(this.scope, swiftPackageUpload.scope) &&
Objects.equals(this.securityScanCompletedAt, swiftPackageUpload.securityScanCompletedAt) &&
Objects.equals(this.securityScanStartedAt, swiftPackageUpload.securityScanStartedAt) &&
Objects.equals(this.securityScanStatus, swiftPackageUpload.securityScanStatus) &&
Expand Down Expand Up @@ -1048,7 +1168,7 @@ public boolean equals(java.lang.Object o) {

@Override
public int hashCode() {
return Objects.hash(architectures, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, identifierPerm, indexed, isDownloadable, isQuarantined, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, release, repository, repositoryUrl, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
return Objects.hash(architectures, authorName, authorOrg, cdnUrl, checksumMd5, checksumSha1, checksumSha256, checksumSha512, dependenciesChecksumMd5, dependenciesUrl, description, distro, distroVersion, downloads, epoch, extension, filename, files, format, formatUrl, identifierPerm, indexed, isDownloadable, isQuarantined, isSyncAwaiting, isSyncCompleted, isSyncFailed, isSyncInFlight, isSyncInProgress, license, licenseUrl, name, namespace, namespaceUrl, numFiles, originRepository, originRepositoryUrl, packageType, readmeUrl, release, repository, repositoryUrl, scope, securityScanCompletedAt, securityScanStartedAt, securityScanStatus, securityScanStatusUpdatedAt, selfHtmlUrl, selfUrl, signatureUrl, size, slug, slugPerm, stage, stageStr, stageUpdatedAt, status, statusReason, statusStr, statusUpdatedAt, statusUrl, subtype, summary, syncFinishedAt, syncProgress, tagsImmutable, typeDisplay, uploadedAt, uploader, uploaderUrl, version, versionOrig, vulnerabilityScanResultsUrl);
}


Expand All @@ -1058,6 +1178,8 @@ public String toString() {
sb.append("class SwiftPackageUpload {\n");

sb.append(" architectures: ").append(toIndentedString(architectures)).append("\n");
sb.append(" authorName: ").append(toIndentedString(authorName)).append("\n");
sb.append(" authorOrg: ").append(toIndentedString(authorOrg)).append("\n");
sb.append(" cdnUrl: ").append(toIndentedString(cdnUrl)).append("\n");
sb.append(" checksumMd5: ").append(toIndentedString(checksumMd5)).append("\n");
sb.append(" checksumSha1: ").append(toIndentedString(checksumSha1)).append("\n");
Expand Down Expand Up @@ -1085,16 +1207,19 @@ public String toString() {
sb.append(" isSyncInFlight: ").append(toIndentedString(isSyncInFlight)).append("\n");
sb.append(" isSyncInProgress: ").append(toIndentedString(isSyncInProgress)).append("\n");
sb.append(" license: ").append(toIndentedString(license)).append("\n");
sb.append(" licenseUrl: ").append(toIndentedString(licenseUrl)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n");
sb.append(" namespaceUrl: ").append(toIndentedString(namespaceUrl)).append("\n");
sb.append(" numFiles: ").append(toIndentedString(numFiles)).append("\n");
sb.append(" originRepository: ").append(toIndentedString(originRepository)).append("\n");
sb.append(" originRepositoryUrl: ").append(toIndentedString(originRepositoryUrl)).append("\n");
sb.append(" packageType: ").append(toIndentedString(packageType)).append("\n");
sb.append(" readmeUrl: ").append(toIndentedString(readmeUrl)).append("\n");
sb.append(" release: ").append(toIndentedString(release)).append("\n");
sb.append(" repository: ").append(toIndentedString(repository)).append("\n");
sb.append(" repositoryUrl: ").append(toIndentedString(repositoryUrl)).append("\n");
sb.append(" scope: ").append(toIndentedString(scope)).append("\n");
sb.append(" securityScanCompletedAt: ").append(toIndentedString(securityScanCompletedAt)).append("\n");
sb.append(" securityScanStartedAt: ").append(toIndentedString(securityScanStartedAt)).append("\n");
sb.append(" securityScanStatus: ").append(toIndentedString(securityScanStatus)).append("\n");
Expand Down
Loading