Skip to content

Commit

Permalink
Version 1.2.0 released
Browse files Browse the repository at this point in the history
  • Loading branch information
nosovm committed Jan 25, 2024
1 parent dd6764c commit be4e633
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 31 deletions.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
voximplant/apiclient-java

Copyright 2019-2023 Voximplant, Inc. All Rights Reserved
Copyright 2019-2024 Voximplant, Inc. All Rights Reserved

Licensed under the Apache License, Version 2.0. (the "License").
You may not use the file except in compliance with the License.
Expand Down
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.1.0
#### Version 1.2.0

## Prerequisites

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

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

<groupId>com.voximplant</groupId>
<artifactId>apiclient</artifactId>
<version>1.1.0</version>
<version>1.2.0</version>
<packaging>jar</packaging>

<name>voximplant-apiclient</name>
<description>Voximplant Java API client library. Voximplant is a cloud communications platform for business and developers</description>
<url>https://github.com/voximplant/apiclient-java</url>
<url>https://voximplant.com</url>

<licenses>
<license>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ public SQ_AddQueueRequest setImAgentSelection(String d) {

@RequestField(name="call_task_selection")
/**
* Strategy of prioritizing CALL-type requests for service. Accepts one
* of the following values: "MAX_PRIORITY", "MAX_WAITING_TIME"
* Call type requests prioritizing strategy. Accepts one of the
* [SQTaskSelectionStrategies] enum values
*/
public String getCallTaskSelection() {
return this.callTaskSelection;
Expand All @@ -149,8 +149,8 @@ public boolean hasCallTaskSelection() {
}

/**
* Strategy of prioritizing CALL-type requests for service. Accepts one
* of the following values: "MAX_PRIORITY", "MAX_WAITING_TIME"
* Call type requests prioritizing strategy. Accepts one of the
* [SQTaskSelectionStrategies] enum values
*/
public SQ_AddQueueRequest setCallTaskSelection(String d) {
this.callTaskSelection = d;
Expand All @@ -161,9 +161,9 @@ public SQ_AddQueueRequest setCallTaskSelection(String d) {

@RequestField(name="im_task_selection")
/**
* Strategy of prioritizing IM-type requests for service. Accepts one of
* the following values: "MAX_PRIORITY", "MAX_WAITING_TIME". Equals to
* the **call_task_selection** value by default
* IM type requests prioritizing strategy. Accepts one of the
* [SQTaskSelectionStrategies] enum values. Equals to the
* **call_task_selection** value by default
*/
public String getImTaskSelection() {
return this.imTaskSelection;
Expand All @@ -174,9 +174,9 @@ public boolean hasImTaskSelection() {
}

/**
* Strategy of prioritizing IM-type requests for service. Accepts one of
* the following values: "MAX_PRIORITY", "MAX_WAITING_TIME". Equals to
* the **call_task_selection** value by default
* IM type requests prioritizing strategy. Accepts one of the
* [SQTaskSelectionStrategies] enum values. Equals to the
* **call_task_selection** value by default
*/
public SQ_AddQueueRequest setImTaskSelection(String d) {
this.imTaskSelection = d;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ public SQ_BindAgentRequest setUserName(MultiArgument<String> d) {
return this;
}

private SQAgentBindingModes[] bindMode;
private String bindMode;

@RequestField(name="bind_mode")
/**
* Binding mode
* Binding mode. Accepts one of the [SQAgentBindingModes] enum values
*/
public SQAgentBindingModes[] getBindMode() {
public String getBindMode() {
return this.bindMode;
}

Expand All @@ -172,9 +172,9 @@ public boolean hasBindMode() {
}

/**
* Binding mode
* Binding mode. Accepts one of the [SQAgentBindingModes] enum values
*/
public SQ_BindAgentRequest setBindMode(SQAgentBindingModes[] d) {
public SQ_BindAgentRequest setBindMode(String d) {
this.bindMode = d;
return this;
}
Expand Down Expand Up @@ -238,8 +238,10 @@ public String toString(int alignment) {
}
if (bindMode != null) {
sb.append(aligned)
.append("\"SQAgentBindingModes\": ")
.append(StringHelper.arrayToString(bindMode, alignment + 1))
.append("\"bindMode\": \"")
.append(bindMode)
.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 @@ -137,13 +137,13 @@ public SQ_BindSkillRequest setSqSkills(Object d) {
return this;
}

private SQSkillBindingModes[] bindMode;
private String bindMode;

@RequestField(name="bind_mode")
/**
* Binding mode
* Binding mode. Accepts one of the [SQSkillBindingModes] enum values
*/
public SQSkillBindingModes[] getBindMode() {
public String getBindMode() {
return this.bindMode;
}

Expand All @@ -152,9 +152,9 @@ public boolean hasBindMode() {
}

/**
* Binding mode
* Binding mode. Accepts one of the [SQSkillBindingModes] enum values
*/
public SQ_BindSkillRequest setBindMode(SQSkillBindingModes[] d) {
public SQ_BindSkillRequest setBindMode(String d) {
this.bindMode = d;
return this;
}
Expand Down Expand Up @@ -210,8 +210,10 @@ public String toString(int alignment) {
}
if (bindMode != null) {
sb.append(aligned)
.append("\"SQSkillBindingModes\": ")
.append(StringHelper.arrayToString(bindMode, alignment + 1))
.append("\"bindMode\": \"")
.append(bindMode)
.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 @@ -137,7 +137,7 @@ public StartScenariosRequest setRuleId(long d) {
* <a
* href='/docs/references/voxengine/voxengine/customdata'>VoxEngine.customData()</a>
* method. Use the application/x-www-form-urlencoded content type with
* UTF-8 encoding.
* UTF-8 encoding
*/
public String getScriptCustomData() {
return this.scriptCustomData;
Expand All @@ -152,7 +152,7 @@ public boolean hasScriptCustomData() {
* <a
* href='/docs/references/voxengine/voxengine/customdata'>VoxEngine.customData()</a>
* method. Use the application/x-www-form-urlencoded content type with
* UTF-8 encoding.
* UTF-8 encoding
*/
public StartScenariosRequest setScriptCustomData(String d) {
this.scriptCustomData = d;
Expand Down Expand Up @@ -183,6 +183,30 @@ public StartScenariosRequest setReferenceIp(String d) {
return this;
}

private String serverLocation;

@RequestField(name="server_location")
/**
* Specifies the location of the server where the scenario needs to be
* executed
*/
public String getServerLocation() {
return this.serverLocation;
}

public boolean hasServerLocation() {
return this.serverLocation != null;
}

/**
* Specifies the location of the server where the scenario needs to be
* executed
*/
public StartScenariosRequest setServerLocation(String d) {
this.serverLocation = d;
return this;
}

private Boolean withCheckUrl;

@RequestField(name="with_check_url")
Expand Down Expand Up @@ -270,6 +294,14 @@ public String toString(int alignment) {
.append(',')
.append(System.lineSeparator());
}
if (serverLocation != null) {
sb.append(aligned)
.append("\"serverLocation\": \"")
.append(serverLocation)
.append('"')
.append(',')
.append(System.lineSeparator());
}
if (withCheckUrl != null) {
sb.append(aligned)
.append("\"withCheckUrl\": \"")
Expand Down

0 comments on commit be4e633

Please sign in to comment.