Skip to content

Commit

Permalink
Version 1.11.0 released
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolasMelui committed Dec 12, 2024
1 parent 9e24693 commit 840cb2c
Show file tree
Hide file tree
Showing 7 changed files with 197 additions and 53 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Voximplant API client library

#### Version 1.10.0
#### Version 1.11.0

## Prerequisites

Expand All @@ -25,7 +25,7 @@ Setup a `maven` dependency for your project:
<dependency>
<groupId>com.voximplant</groupId>
<artifactId>apiclient</artifactId>
<version>1.10.0</version>
<version>1.11.0</version>
</dependency>
```

Expand Down
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.voximplant</groupId>
<artifactId>apiclient</artifactId>
<version>1.10.0</version>
<version>1.11.0</version>
<packaging>jar</packaging>

<name>voximplant-apiclient</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,50 @@ public AddScenarioRequest setRewrite(boolean d) {
return this;
}

private Long applicationId;

@RequestField(name="application_id")
/**
* ID of the application to bind the scenario to
*/
public Long getApplicationId() {
return this.applicationId;
}

public boolean hasApplicationId() {
return this.applicationId != null;
}

/**
* ID of the application to bind the scenario to
*/
public AddScenarioRequest setApplicationId(long d) {
this.applicationId = Long.valueOf(d);
return this;
}

private String applicationName;

@RequestField(name="application_name")
/**
* Name of the application to bind the scenario to
*/
public String getApplicationName() {
return this.applicationName;
}

public boolean hasApplicationName() {
return this.applicationName != null;
}

/**
* Name of the application to bind the scenario to
*/
public AddScenarioRequest setApplicationName(String d) {
this.applicationName = d;
return this;
}

public String toString(int alignment) {
char[] preAligned = new char[alignment - 1];
char[] aligned = new char[alignment];
Expand Down Expand Up @@ -180,6 +224,22 @@ public String toString(int alignment) {
.append(',')
.append(System.lineSeparator());
}
if (applicationId != null) {
sb.append(aligned)
.append("\"applicationId\": \"")
.append(applicationId)
.append('"')
.append(',')
.append(System.lineSeparator());
}
if (applicationName != null) {
sb.append(aligned)
.append("\"applicationName\": \"")
.append(applicationName)
.append('"')
.append(',')
.append(System.lineSeparator());
}
return sb.append(preAligned).append('}').append(',').toString();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,30 @@ public GetNewPhoneNumbersRequest setOffset(long d) {
return this;
}

private String phoneNumberMask;

@RequestField(name="phone_number_mask")
/**
* The phone number searching mask. Asterisk represents zero or more
* occurrences of any character
*/
public String getPhoneNumberMask() {
return this.phoneNumberMask;
}

public boolean hasPhoneNumberMask() {
return this.phoneNumberMask != null;
}

/**
* The phone number searching mask. Asterisk represents zero or more
* occurrences of any character
*/
public GetNewPhoneNumbersRequest setPhoneNumberMask(String d) {
this.phoneNumberMask = d;
return this;
}

public String toString(int alignment) {
char[] preAligned = new char[alignment - 1];
char[] aligned = new char[alignment];
Expand Down Expand Up @@ -206,6 +230,14 @@ public String toString(int alignment) {
.append(',')
.append(System.lineSeparator());
}
if (phoneNumberMask != null) {
sb.append(aligned)
.append("\"phoneNumberMask\": \"")
.append(phoneNumberMask)
.append('"')
.append(',')
.append(System.lineSeparator());
}
return sb.append(preAligned).append('}').append(',').toString();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,50 @@ public GetScenariosRequest setOffset(long d) {
return this;
}

private Long applicationId;

@RequestField(name="application_id")
/**
* ID of the scenario's application
*/
public Long getApplicationId() {
return this.applicationId;
}

public boolean hasApplicationId() {
return this.applicationId != null;
}

/**
* ID of the scenario's application
*/
public GetScenariosRequest setApplicationId(long d) {
this.applicationId = Long.valueOf(d);
return this;
}

private String applicationName;

@RequestField(name="application_name")
/**
* Name of the scenario's application
*/
public String getApplicationName() {
return this.applicationName;
}

public boolean hasApplicationName() {
return this.applicationName != null;
}

/**
* Name of the scenario's application
*/
public GetScenariosRequest setApplicationName(String d) {
this.applicationName = d;
return this;
}

public String toString(int alignment) {
char[] preAligned = new char[alignment - 1];
char[] aligned = new char[alignment];
Expand Down Expand Up @@ -180,6 +224,22 @@ public String toString(int alignment) {
.append(',')
.append(System.lineSeparator());
}
if (applicationId != null) {
sb.append(aligned)
.append("\"applicationId\": \"")
.append(applicationId)
.append('"')
.append(',')
.append(System.lineSeparator());
}
if (applicationName != null) {
sb.append(aligned)
.append("\"applicationName\": \"")
.append(applicationName)
.append('"')
.append(',')
.append(System.lineSeparator());
}
return sb.append(preAligned).append('}').append(',').toString();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,48 +125,6 @@ public GetSmartQueueRealtimeMetricsRequest setUserName(MultiArgument<String> d)
return this;
}

private MultiArgument<Long> sqQueueId;

@RequestField(name="sq_queue_id")
/**
* The SmartQueue ID list with a maximum of 5 values separated by
* semicolons (;). Can operate as filter for the
* **calls_blocked_percentage**, **count_blocked_calls**,
* **average_abandonment_rate**, **count_abandonment_calls**,
* **service_level**, **occupancy_rate**, **min_time_in_queue**,
* **max_time_in_queue**, **average_time_in_queue**,
* **min_answer_speed**, **max_answer_speed**, **average_answer_speed**,
* **min_handle_time**, **max_handle_time**, **average_handle_time**,
* **count_handled_calls**, **min_after_call_worktime**,
* **max_after_call_worktime**, **average_after_call_worktime** report
* types
*/
public MultiArgument<Long> getSqQueueId() {
return this.sqQueueId;
}

public boolean hasSqQueueId() {
return this.sqQueueId != null;
}

/**
* The SmartQueue ID list with a maximum of 5 values separated by
* semicolons (;). Can operate as filter for the
* **calls_blocked_percentage**, **count_blocked_calls**,
* **average_abandonment_rate**, **count_abandonment_calls**,
* **service_level**, **occupancy_rate**, **min_time_in_queue**,
* **max_time_in_queue**, **average_time_in_queue**,
* **min_answer_speed**, **max_answer_speed**, **average_answer_speed**,
* **min_handle_time**, **max_handle_time**, **average_handle_time**,
* **count_handled_calls**, **min_after_call_worktime**,
* **max_after_call_worktime**, **average_after_call_worktime** report
* types
*/
public GetSmartQueueRealtimeMetricsRequest setSqQueueId(MultiArgument<Long> d) {
this.sqQueueId = d;
return this;
}

private MultiArgument<String> sqQueueName;

@RequestField(name="sq_queue_name")
Expand Down Expand Up @@ -496,14 +454,6 @@ public String toString(int alignment) {
.append(',')
.append(System.lineSeparator());
}
if (sqQueueId != null) {
sb.append(aligned)
.append("\"sqQueueId\": \"")
.append(sqQueueId)
.append('"')
.append(',')
.append(System.lineSeparator());
}
if (sqQueueName != null) {
sb.append(aligned)
.append("\"sqQueueName\": \"")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,32 @@ public boolean hasCount() {
return this.count != null;
}

private Long applicationId;

/**
* ID of the scenario's application
*/
public Long getApplicationId() {
return this.applicationId;
}

public boolean hasApplicationId() {
return this.applicationId != null;
}

private String applicationName;

/**
* Name of the scenario's application
*/
public String getApplicationName() {
return this.applicationName;
}

public boolean hasApplicationName() {
return this.applicationName != null;
}

public String toString(int alignment) {
char[] preAligned = new char[alignment - 1];
char[] aligned = new char[alignment];
Expand Down Expand Up @@ -88,6 +114,22 @@ public String toString(int alignment) {
.append(',')
.append(System.lineSeparator());
}
if (applicationId != null) {
sb.append(aligned)
.append("\"applicationId\": \"")
.append(applicationId)
.append('"')
.append(',')
.append(System.lineSeparator());
}
if (applicationName != null) {
sb.append(aligned)
.append("\"applicationName\": \"")
.append(applicationName)
.append('"')
.append(',')
.append(System.lineSeparator());
}
return sb.append(preAligned).append('}').append(',').toString();
}

Expand Down

0 comments on commit 840cb2c

Please sign in to comment.