Skip to content

Commit f55b077

Browse files
committed
SDK regeneration
1 parent 092f40f commit f55b077

19 files changed

+1114
-185
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPipedreamHQ%2Fpipedream-sdk-java)
44
[![Maven Central](https://img.shields.io/maven-central/v/com.pipedream/pipedream)](https://central.sonatype.com/artifact/com.pipedream/pipedream)
55

6-
The Pipedream Java library provides convenient access to the Pipedream API from Java.
6+
The Pipedream Java library provides convenient access to the Pipedream APIs from Java.
77

88
## Installation
99

@@ -25,7 +25,7 @@ Add the dependency in your `pom.xml` file:
2525
<dependency>
2626
<groupId>com.pipedream</groupId>
2727
<artifactId>pipedream</artifactId>
28-
<version>1.0.2</version>
28+
<version>1.0.3</version>
2929
</dependency>
3030
```
3131

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ java {
4848

4949
group = 'com.pipedream'
5050

51-
version = '1.0.2'
51+
version = '1.0.3'
5252

5353
jar {
5454
dependsOn(":generatePomFileForMavenPublication")
@@ -79,7 +79,7 @@ publishing {
7979
maven(MavenPublication) {
8080
groupId = 'com.pipedream'
8181
artifactId = 'pipedream'
82-
version = '1.0.2'
82+
version = '1.0.3'
8383
from components.java
8484
pom {
8585
name = 'pipedream'

src/main/java/com/pipedream/api/core/ClientOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ private ClientOptions(
3535
this.headers.putAll(headers);
3636
this.headers.putAll(new HashMap<String, String>() {
3737
{
38-
put("User-Agent", "com.pipedream:pipedream/1.0.2");
38+
put("User-Agent", "com.pipedream:pipedream/1.0.3");
3939
put("X-Fern-Language", "JAVA");
4040
put("X-Fern-SDK-Name", "com.pipedream.fern:api-sdk");
41-
put("X-Fern-SDK-Version", "1.0.2");
41+
put("X-Fern-SDK-Version", "1.0.3");
4242
}
4343
});
4444
this.headerSuppliers = headerSuppliers;

src/main/java/com/pipedream/api/resources/actions/requests/RunActionOpts.java

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import com.fasterxml.jackson.annotation.Nulls;
1313
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
1414
import com.pipedream.api.core.ObjectMappers;
15+
import com.pipedream.api.types.ConfiguredPropValue;
1516
import com.pipedream.api.types.RunActionOptsStashId;
1617
import java.util.HashMap;
1718
import java.util.Map;
@@ -26,7 +27,7 @@ public final class RunActionOpts {
2627

2728
private final String externalUserId;
2829

29-
private final Optional<Map<String, Object>> configuredProps;
30+
private final Optional<Map<String, ConfiguredPropValue>> configuredProps;
3031

3132
private final Optional<String> dynamicPropsId;
3233

@@ -37,7 +38,7 @@ public final class RunActionOpts {
3738
private RunActionOpts(
3839
String id,
3940
String externalUserId,
40-
Optional<Map<String, Object>> configuredProps,
41+
Optional<Map<String, ConfiguredPropValue>> configuredProps,
4142
Optional<String> dynamicPropsId,
4243
Optional<RunActionOptsStashId> stashId,
4344
Map<String, Object> additionalProperties) {
@@ -65,11 +66,8 @@ public String getExternalUserId() {
6566
return externalUserId;
6667
}
6768

68-
/**
69-
* @return The configured properties for the action
70-
*/
7169
@JsonProperty("configured_props")
72-
public Optional<Map<String, Object>> getConfiguredProps() {
70+
public Optional<Map<String, ConfiguredPropValue>> getConfiguredProps() {
7371
return configuredProps;
7472
}
7573

@@ -138,12 +136,9 @@ public interface ExternalUserIdStage {
138136
public interface _FinalStage {
139137
RunActionOpts build();
140138

141-
/**
142-
* <p>The configured properties for the action</p>
143-
*/
144-
_FinalStage configuredProps(Optional<Map<String, Object>> configuredProps);
139+
_FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps);
145140

146-
_FinalStage configuredProps(Map<String, Object> configuredProps);
141+
_FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps);
147142

148143
/**
149144
* <p>The ID for dynamic props</p>
@@ -167,7 +162,7 @@ public static final class Builder implements IdStage, ExternalUserIdStage, _Fina
167162

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

170-
private Optional<Map<String, Object>> configuredProps = Optional.empty();
165+
private Optional<Map<String, ConfiguredPropValue>> configuredProps = Optional.empty();
171166

172167
@JsonAnySetter
173168
private Map<String, Object> additionalProperties = new HashMap<>();
@@ -241,22 +236,15 @@ public _FinalStage dynamicPropsId(Optional<String> dynamicPropsId) {
241236
return this;
242237
}
243238

244-
/**
245-
* <p>The configured properties for the action</p>
246-
* @return Reference to {@code this} so that method calls can be chained together.
247-
*/
248239
@java.lang.Override
249-
public _FinalStage configuredProps(Map<String, Object> configuredProps) {
240+
public _FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps) {
250241
this.configuredProps = Optional.ofNullable(configuredProps);
251242
return this;
252243
}
253244

254-
/**
255-
* <p>The configured properties for the action</p>
256-
*/
257245
@java.lang.Override
258246
@JsonSetter(value = "configured_props", nulls = Nulls.SKIP)
259-
public _FinalStage configuredProps(Optional<Map<String, Object>> configuredProps) {
247+
public _FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps) {
260248
this.configuredProps = configuredProps;
261249
return this;
262250
}

src/main/java/com/pipedream/api/resources/deployedtriggers/requests/UpdateTriggerOpts.java

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import com.fasterxml.jackson.annotation.Nulls;
1313
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
1414
import com.pipedream.api.core.ObjectMappers;
15+
import com.pipedream.api.types.ConfiguredPropValue;
1516
import java.util.HashMap;
1617
import java.util.Map;
1718
import java.util.Objects;
@@ -25,7 +26,7 @@ public final class UpdateTriggerOpts {
2526

2627
private final Optional<Boolean> active;
2728

28-
private final Optional<Map<String, Object>> configuredProps;
29+
private final Optional<Map<String, ConfiguredPropValue>> configuredProps;
2930

3031
private final Optional<String> name;
3132

@@ -34,7 +35,7 @@ public final class UpdateTriggerOpts {
3435
private UpdateTriggerOpts(
3536
String externalUserId,
3637
Optional<Boolean> active,
37-
Optional<Map<String, Object>> configuredProps,
38+
Optional<Map<String, ConfiguredPropValue>> configuredProps,
3839
Optional<String> name,
3940
Map<String, Object> additionalProperties) {
4041
this.externalUserId = externalUserId;
@@ -60,11 +61,8 @@ public Optional<Boolean> getActive() {
6061
return active;
6162
}
6263

63-
/**
64-
* @return The configured properties for the trigger
65-
*/
6664
@JsonProperty("configured_props")
67-
public Optional<Map<String, Object>> getConfiguredProps() {
65+
public Optional<Map<String, ConfiguredPropValue>> getConfiguredProps() {
6866
return configuredProps;
6967
}
7068

@@ -127,12 +125,9 @@ public interface _FinalStage {
127125

128126
_FinalStage active(Boolean active);
129127

130-
/**
131-
* <p>The configured properties for the trigger</p>
132-
*/
133-
_FinalStage configuredProps(Optional<Map<String, Object>> configuredProps);
128+
_FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps);
134129

135-
_FinalStage configuredProps(Map<String, Object> configuredProps);
130+
_FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps);
136131

137132
/**
138133
* <p>The name of the trigger</p>
@@ -148,7 +143,7 @@ public static final class Builder implements ExternalUserIdStage, _FinalStage {
148143

149144
private Optional<String> name = Optional.empty();
150145

151-
private Optional<Map<String, Object>> configuredProps = Optional.empty();
146+
private Optional<Map<String, ConfiguredPropValue>> configuredProps = Optional.empty();
152147

153148
private Optional<Boolean> active = Optional.empty();
154149

@@ -198,22 +193,15 @@ public _FinalStage name(Optional<String> name) {
198193
return this;
199194
}
200195

201-
/**
202-
* <p>The configured properties for the trigger</p>
203-
* @return Reference to {@code this} so that method calls can be chained together.
204-
*/
205196
@java.lang.Override
206-
public _FinalStage configuredProps(Map<String, Object> configuredProps) {
197+
public _FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps) {
207198
this.configuredProps = Optional.ofNullable(configuredProps);
208199
return this;
209200
}
210201

211-
/**
212-
* <p>The configured properties for the trigger</p>
213-
*/
214202
@java.lang.Override
215203
@JsonSetter(value = "configured_props", nulls = Nulls.SKIP)
216-
public _FinalStage configuredProps(Optional<Map<String, Object>> configuredProps) {
204+
public _FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps) {
217205
this.configuredProps = configuredProps;
218206
return this;
219207
}

src/main/java/com/pipedream/api/resources/triggers/requests/DeployTriggerOpts.java

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import com.fasterxml.jackson.annotation.Nulls;
1313
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
1414
import com.pipedream.api.core.ObjectMappers;
15+
import com.pipedream.api.types.ConfiguredPropValue;
1516
import java.util.HashMap;
1617
import java.util.Map;
1718
import java.util.Objects;
@@ -25,7 +26,7 @@ public final class DeployTriggerOpts {
2526

2627
private final String externalUserId;
2728

28-
private final Optional<Map<String, Object>> configuredProps;
29+
private final Optional<Map<String, ConfiguredPropValue>> configuredProps;
2930

3031
private final Optional<String> dynamicPropsId;
3132

@@ -36,7 +37,7 @@ public final class DeployTriggerOpts {
3637
private DeployTriggerOpts(
3738
String id,
3839
String externalUserId,
39-
Optional<Map<String, Object>> configuredProps,
40+
Optional<Map<String, ConfiguredPropValue>> configuredProps,
4041
Optional<String> dynamicPropsId,
4142
Optional<String> webhookUrl,
4243
Map<String, Object> additionalProperties) {
@@ -64,11 +65,8 @@ public String getExternalUserId() {
6465
return externalUserId;
6566
}
6667

67-
/**
68-
* @return The configured properties for the trigger
69-
*/
7068
@JsonProperty("configured_props")
71-
public Optional<Map<String, Object>> getConfiguredProps() {
69+
public Optional<Map<String, ConfiguredPropValue>> getConfiguredProps() {
7270
return configuredProps;
7371
}
7472

@@ -140,12 +138,9 @@ public interface ExternalUserIdStage {
140138
public interface _FinalStage {
141139
DeployTriggerOpts build();
142140

143-
/**
144-
* <p>The configured properties for the trigger</p>
145-
*/
146-
_FinalStage configuredProps(Optional<Map<String, Object>> configuredProps);
141+
_FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps);
147142

148-
_FinalStage configuredProps(Map<String, Object> configuredProps);
143+
_FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps);
149144

150145
/**
151146
* <p>The ID for dynamic props</p>
@@ -172,7 +167,7 @@ public static final class Builder implements IdStage, ExternalUserIdStage, _Fina
172167

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

175-
private Optional<Map<String, Object>> configuredProps = Optional.empty();
170+
private Optional<Map<String, ConfiguredPropValue>> configuredProps = Optional.empty();
176171

177172
@JsonAnySetter
178173
private Map<String, Object> additionalProperties = new HashMap<>();
@@ -253,22 +248,15 @@ public _FinalStage dynamicPropsId(Optional<String> dynamicPropsId) {
253248
return this;
254249
}
255250

256-
/**
257-
* <p>The configured properties for the trigger</p>
258-
* @return Reference to {@code this} so that method calls can be chained together.
259-
*/
260251
@java.lang.Override
261-
public _FinalStage configuredProps(Map<String, Object> configuredProps) {
252+
public _FinalStage configuredProps(Map<String, ConfiguredPropValue> configuredProps) {
262253
this.configuredProps = Optional.ofNullable(configuredProps);
263254
return this;
264255
}
265256

266-
/**
267-
* <p>The configured properties for the trigger</p>
268-
*/
269257
@java.lang.Override
270258
@JsonSetter(value = "configured_props", nulls = Nulls.SKIP)
271-
public _FinalStage configuredProps(Optional<Map<String, Object>> configuredProps) {
259+
public _FinalStage configuredProps(Optional<Map<String, ConfiguredPropValue>> configuredProps) {
272260
this.configuredProps = configuredProps;
273261
return this;
274262
}

src/main/java/com/pipedream/api/types/Account.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ private Account(
8181
this.additionalProperties = additionalProperties;
8282
}
8383

84-
/**
85-
* @return The unique ID of the account.
86-
*/
8784
@JsonProperty("id")
8885
public String getId() {
8986
return id;
@@ -237,9 +234,6 @@ public static IdStage builder() {
237234
}
238235

239236
public interface IdStage {
240-
/**
241-
* <p>The unique ID of the account.</p>
242-
*/
243237
_FinalStage id(@NotNull String id);
244238

245239
Builder from(Account other);
@@ -381,11 +375,6 @@ public Builder from(Account other) {
381375
return this;
382376
}
383377

384-
/**
385-
* <p>The unique ID of the account.</p>
386-
* <p>The unique ID of the account.</p>
387-
* @return Reference to {@code this} so that method calls can be chained together.
388-
*/
389378
@java.lang.Override
390379
@JsonSetter("id")
391380
public _FinalStage id(@NotNull String id) {

0 commit comments

Comments
 (0)