Skip to content
Closed
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Add the dependency in your `pom.xml` file:
<dependency>
<groupId>com.pipedream</groupId>
<artifactId>pipedream</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ java {

group = 'com.pipedream'

version = '1.0.1'
version = '1.0.2'

jar {
dependsOn(":generatePomFileForMavenPublication")
Expand Down Expand Up @@ -78,7 +78,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.pipedream'
artifactId = 'pipedream'
version = '1.0.1'
version = '1.0.2'
from components.java
pom {
name = 'pipedream'
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/pipedream/api/core/ClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ private ClientOptions(
this.headers.putAll(headers);
this.headers.putAll(new HashMap<String, String>() {
{
put("User-Agent", "com.pipedream:pipedream/1.0.1");
put("User-Agent", "com.pipedream:pipedream/1.0.2");
put("X-Fern-Language", "JAVA");
put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk");
put("X-Fern-SDK-Version", "1.0.1");
put("X-Fern-SDK-Version", "1.0.2");
}
});
this.headerSuppliers = headerSuppliers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,6 @@ public CompletableFuture<BaseClientHttpResponse<RunActionResponse>> run(
if (request.getDynamicPropsId().isPresent()) {
properties.put("dynamic_props_id", request.getDynamicPropsId());
}
if (request.getStashId().isPresent()) {
properties.put("stash_id", request.getStashId());
}
RequestBody body;
try {
body = RequestBody.create(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ public BaseClientHttpResponse<RunActionResponse> run(RunActionOpts request, Requ
if (request.getDynamicPropsId().isPresent()) {
properties.put("dynamic_props_id", request.getDynamicPropsId());
}
if (request.getStashId().isPresent()) {
properties.put("stash_id", request.getStashId());
}
RequestBody body;
try {
body = RequestBody.create(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.fasterxml.jackson.annotation.Nulls;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.pipedream.api.core.ObjectMappers;
import com.pipedream.api.resources.actions.types.RunActionOptsStashId;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
Expand All @@ -32,8 +31,6 @@ public final class RunActionOpts {

private final Optional<String> dynamicPropsId;

private final Optional<RunActionOptsStashId> stashId;

private final Map<String, Object> additionalProperties;

private RunActionOpts(
Expand All @@ -42,14 +39,12 @@ private RunActionOpts(
String externalUserId,
Optional<Map<String, Object>> configuredProps,
Optional<String> dynamicPropsId,
Optional<RunActionOptsStashId> stashId,
Map<String, Object> additionalProperties) {
this.asyncHandle = asyncHandle;
this.id = id;
this.externalUserId = externalUserId;
this.configuredProps = configuredProps;
this.dynamicPropsId = dynamicPropsId;
this.stashId = stashId;
this.additionalProperties = additionalProperties;
}

Expand Down Expand Up @@ -90,14 +85,6 @@ public Optional<String> getDynamicPropsId() {
return dynamicPropsId;
}

/**
* @return The ID of the File Stash to use for syncing the action's /tmp directory
*/
@JsonProperty("stash_id")
public Optional<RunActionOptsStashId> getStashId() {
return stashId;
}

@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
Expand All @@ -114,19 +101,12 @@ private boolean equalTo(RunActionOpts other) {
&& id.equals(other.id)
&& externalUserId.equals(other.externalUserId)
&& configuredProps.equals(other.configuredProps)
&& dynamicPropsId.equals(other.dynamicPropsId)
&& stashId.equals(other.stashId);
&& dynamicPropsId.equals(other.dynamicPropsId);
}

@java.lang.Override
public int hashCode() {
return Objects.hash(
this.asyncHandle,
this.id,
this.externalUserId,
this.configuredProps,
this.dynamicPropsId,
this.stashId);
return Objects.hash(this.asyncHandle, this.id, this.externalUserId, this.configuredProps, this.dynamicPropsId);
}

@java.lang.Override
Expand Down Expand Up @@ -174,13 +154,6 @@ public interface _FinalStage {
_FinalStage dynamicPropsId(Optional<String> dynamicPropsId);

_FinalStage dynamicPropsId(String dynamicPropsId);

/**
* <p>The ID of the File Stash to use for syncing the action's /tmp directory</p>
*/
_FinalStage stashId(Optional<RunActionOptsStashId> stashId);

_FinalStage stashId(RunActionOptsStashId stashId);
}

@JsonIgnoreProperties(ignoreUnknown = true)
Expand All @@ -189,8 +162,6 @@ public static final class Builder implements IdStage, ExternalUserIdStage, _Fina

private String externalUserId;

private Optional<RunActionOptsStashId> stashId = Optional.empty();

private Optional<String> dynamicPropsId = Optional.empty();

private Optional<Map<String, Object>> configuredProps = Optional.empty();
Expand All @@ -209,7 +180,6 @@ public Builder from(RunActionOpts other) {
externalUserId(other.getExternalUserId());
configuredProps(other.getConfiguredProps());
dynamicPropsId(other.getDynamicPropsId());
stashId(other.getStashId());
return this;
}

Expand Down Expand Up @@ -237,26 +207,6 @@ public _FinalStage externalUserId(@NotNull String externalUserId) {
return this;
}

/**
* <p>The ID of the File Stash to use for syncing the action's /tmp directory</p>
* @return Reference to {@code this} so that method calls can be chained together.
*/
@java.lang.Override
public _FinalStage stashId(RunActionOptsStashId stashId) {
this.stashId = Optional.ofNullable(stashId);
return this;
}

/**
* <p>The ID of the File Stash to use for syncing the action's /tmp directory</p>
*/
@java.lang.Override
@JsonSetter(value = "stash_id", nulls = Nulls.SKIP)
public _FinalStage stashId(Optional<RunActionOptsStashId> stashId) {
this.stashId = stashId;
return this;
}

/**
* <p>The ID for dynamic props</p>
* @return Reference to {@code this} so that method calls can be chained together.
Expand Down Expand Up @@ -313,7 +263,7 @@ public _FinalStage asyncHandle(Optional<String> asyncHandle) {
@java.lang.Override
public RunActionOpts build() {
return new RunActionOpts(
asyncHandle, id, externalUserId, configuredProps, dynamicPropsId, stashId, additionalProperties);
asyncHandle, id, externalUserId, configuredProps, dynamicPropsId, additionalProperties);
}
}
}

This file was deleted.

Loading