Skip to content

Commit

Permalink
Automated SDK update
Browse files Browse the repository at this point in the history
This updates the SDK from internal repo commit segmentio/public-api@70faf796.
  • Loading branch information
APIs and Common Services team committed Jun 7, 2024
1 parent 5a36289 commit 2be24d8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 24 deletions.
2 changes: 1 addition & 1 deletion docs/AudiencesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **spaceId** | **String**| | |
| **pagination** | [**PaginationInput**](.md)| Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha. | |
| **pagination** | [**PaginationInput**](.md)| Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha. | [optional] |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/ComputedTraitsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **spaceId** | **String**| | |
| **pagination** | [**PaginationInput**](.md)| Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha. | |
| **pagination** | [**PaginationInput**](.md)| Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha. | [optional] |

### Return type

Expand Down
15 changes: 4 additions & 11 deletions src/main/java/com/segment/publicapi/api/AudiencesApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public okhttp3.Call getAudienceAsync(
* @param spaceId (required)
* @param pagination Information about the pagination of this response. [See
* pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters)
* for more info. This parameter exists in alpha. (required)
* for more info. This parameter exists in alpha. (optional)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
Expand Down Expand Up @@ -563,13 +563,6 @@ private okhttp3.Call listAudiencesValidateBeforeCall(
"Missing the required parameter 'spaceId' when calling listAudiences(Async)");
}

// verify the required parameter 'pagination' is set
if (pagination == null) {
throw new ApiException(
"Missing the required parameter 'pagination' when calling"
+ " listAudiences(Async)");
}

return listAudiencesCall(spaceId, pagination, _callback);
}

Expand All @@ -586,7 +579,7 @@ private okhttp3.Call listAudiencesValidateBeforeCall(
* @param spaceId (required)
* @param pagination Information about the pagination of this response. [See
* pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters)
* for more info. This parameter exists in alpha. (required)
* for more info. This parameter exists in alpha. (optional)
* @return ListAudiences200Response
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
* response body
Expand Down Expand Up @@ -619,7 +612,7 @@ public ListAudiences200Response listAudiences(String spaceId, PaginationInput pa
* @param spaceId (required)
* @param pagination Information about the pagination of this response. [See
* pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters)
* for more info. This parameter exists in alpha. (required)
* for more info. This parameter exists in alpha. (optional)
* @return ApiResponse<ListAudiences200Response>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
* response body
Expand Down Expand Up @@ -652,7 +645,7 @@ public ApiResponse<ListAudiences200Response> listAudiencesWithHttpInfo(
* @param spaceId (required)
* @param pagination Information about the pagination of this response. [See
* pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters)
* for more info. This parameter exists in alpha. (required)
* for more info. This parameter exists in alpha. (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
Expand Down
15 changes: 4 additions & 11 deletions src/main/java/com/segment/publicapi/api/ComputedTraitsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ public okhttp3.Call getComputedTraitAsync(
* @param spaceId (required)
* @param pagination Information about the pagination of this response. [See
* pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters)
* for more info. This parameter exists in alpha. (required)
* for more info. This parameter exists in alpha. (optional)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
Expand Down Expand Up @@ -571,13 +571,6 @@ private okhttp3.Call listComputedTraitsValidateBeforeCall(
+ " listComputedTraits(Async)");
}

// verify the required parameter 'pagination' is set
if (pagination == null) {
throw new ApiException(
"Missing the required parameter 'pagination' when calling"
+ " listComputedTraits(Async)");
}

return listComputedTraitsCall(spaceId, pagination, _callback);
}

Expand All @@ -594,7 +587,7 @@ private okhttp3.Call listComputedTraitsValidateBeforeCall(
* @param spaceId (required)
* @param pagination Information about the pagination of this response. [See
* pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters)
* for more info. This parameter exists in alpha. (required)
* for more info. This parameter exists in alpha. (optional)
* @return ListComputedTraits200Response
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
* response body
Expand Down Expand Up @@ -627,7 +620,7 @@ public ListComputedTraits200Response listComputedTraits(
* @param spaceId (required)
* @param pagination Information about the pagination of this response. [See
* pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters)
* for more info. This parameter exists in alpha. (required)
* for more info. This parameter exists in alpha. (optional)
* @return ApiResponse&lt;ListComputedTraits200Response&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
* response body
Expand Down Expand Up @@ -660,7 +653,7 @@ public ApiResponse<ListComputedTraits200Response> listComputedTraitsWithHttpInfo
* @param spaceId (required)
* @param pagination Information about the pagination of this response. [See
* pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters)
* for more info. This parameter exists in alpha. (required)
* for more info. This parameter exists in alpha. (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
Expand Down

0 comments on commit 2be24d8

Please sign in to comment.