Skip to content
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ The official Java library for accessing ModelArk on Volcengine and BytePlus. It
<dependency>
<groupId>com.volcengine</groupId>
<artifactId>ark-runtime</artifactId>
<version>0.13.0</version>
<version>0.14.0</version>
</dependency>
```

### Gradle

```groovy
implementation 'com.volcengine:ark-runtime:0.13.0'
implementation 'com.volcengine:ark-runtime:0.14.0'
```

## Choose Volcengine or BytePlus
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.13.0
0.14.0
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.volcengine</groupId>
<artifactId>ark-runtime</artifactId>
<version>0.13.0</version>
<version>0.14.0</version>
<packaging>jar</packaging>

<name>ark-runtime</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@
* FileListRequest
*/
@JsonPropertyOrder({
FileListRequest.JSON_PROPERTY_SCOPE_ID,
FileListRequest.JSON_PROPERTY_PURPOSE,
FileListRequest.JSON_PROPERTY_AFTER,
FileListRequest.JSON_PROPERTY_LIMIT,
FileListRequest.JSON_PROPERTY_ORDER
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.21.0")
public class FileListRequest {
public static final String JSON_PROPERTY_SCOPE_ID = "scope_id";
@javax.annotation.Nullable
private String scopeId;

public static final String JSON_PROPERTY_PURPOSE = "purpose";
@javax.annotation.Nullable
private Purpose purpose;
Expand All @@ -51,6 +56,31 @@ public class FileListRequest {
public FileListRequest() {
}

public FileListRequest scopeId(@javax.annotation.Nullable String scopeId) {

this.scopeId = scopeId;
return this;
}

/**
* Filter files by scope ID. For session-owned files, use the session ID.
* @return scopeId
*/
@javax.annotation.Nullable
@JsonProperty(value = JSON_PROPERTY_SCOPE_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getScopeId() {
return scopeId;
}


@JsonProperty(value = JSON_PROPERTY_SCOPE_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setScopeId(@javax.annotation.Nullable String scopeId) {
this.scopeId = scopeId;
}

public FileListRequest purpose(@javax.annotation.Nullable Purpose purpose) {

this.purpose = purpose;
Expand Down Expand Up @@ -161,21 +191,23 @@ public boolean equals(Object o) {
return false;
}
FileListRequest fileListRequest = (FileListRequest) o;
return Objects.equals(this.purpose, fileListRequest.purpose) &&
return Objects.equals(this.scopeId, fileListRequest.scopeId) &&
Objects.equals(this.purpose, fileListRequest.purpose) &&
Objects.equals(this.after, fileListRequest.after) &&
Objects.equals(this.limit, fileListRequest.limit) &&
Objects.equals(this.order, fileListRequest.order);
}

@Override
public int hashCode() {
return Objects.hash(purpose, after, limit, order);
return Objects.hash(scopeId, purpose, after, limit, order);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FileListRequest {\n");
sb.append(" scopeId: ").append(toIndentedString(scopeId)).append("\n");
sb.append(" purpose: ").append(toIndentedString(purpose)).append("\n");
sb.append(" after: ").append(toIndentedString(after)).append("\n");
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
Expand Down Expand Up @@ -204,6 +236,10 @@ protected Builder(FileListRequest instance) {
this.instance = instance;
}

public FileListRequest.Builder scopeId(String scopeId) {
this.instance.scopeId = scopeId;
return this;
}
public FileListRequest.Builder purpose(Purpose purpose) {
this.instance.purpose = purpose;
return this;
Expand Down Expand Up @@ -254,6 +290,7 @@ public static FileListRequest.Builder builder() {
*/
public FileListRequest.Builder toBuilder() {
return new FileListRequest.Builder()
.scopeId(getScopeId())
.purpose(getPurpose())
.after(getAfter())
.limit(getLimit())
Expand Down
Loading