Skip to content

fixed compile errors #4

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 src/main/java/com/vapi/api/resources/logs/LogsClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public SyncPagingIterable<Log> get(LogsGetRequest request, RequestOptions reques
if (response.isSuccessful()) {
LogsPaginatedResponse parsedResponse =
ObjectMappers.JSON_MAPPER.readValue(responseBody.string(), LogsPaginatedResponse.class);
double newPageNumber = request.getPage().map(page -> page + 1).orElse(1);
double newPageNumber = request.getPage().map(page -> page + 1).orElse(1.0);
LogsGetRequest nextRequest = LogsGetRequest.builder()
.from(request)
.page(newPageNumber)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,8 @@ public static FallbackTavusVoiceVoiceId of(String value) {
return new FallbackTavusVoiceVoiceId(value, 0);
}

public static FallbackTavusVoiceVoiceId of(String value) {
return new FallbackTavusVoiceVoiceId(value, 1);
}

public interface Visitor<T> {
T visit(String value);

T visit(String value);
}

static final class Deserializer extends StdDeserializer<FallbackTavusVoiceVoiceId> {
Expand Down
6 changes: 0 additions & 6 deletions src/main/java/com/vapi/api/types/TavusVoiceVoiceId.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,8 @@ public static TavusVoiceVoiceId of(String value) {
return new TavusVoiceVoiceId(value, 0);
}

public static TavusVoiceVoiceId of(String value) {
return new TavusVoiceVoiceId(value, 1);
}

public interface Visitor<T> {
T visit(String value);

T visit(String value);
}

static final class Deserializer extends StdDeserializer<TavusVoiceVoiceId> {
Expand Down