Skip to content

Commit 6b23016

Browse files
Merge pull request #1 from telstra/dev
Dev
2 parents e9fcb8f + 2b0efa6 commit 6b23016

36 files changed

+113
-174
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Generated by: https://github.com/swagger-api/swagger-codegen.git
2+
# Generated by: https://openapi-generator.tech
33
#
44
language: java
55
jdk:

docs/MessageSentResponse.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**messages** | [**List<Message>**](Message.md) | An array of messages. |
8+
**country** | **String** | An array of the countries to which the destination MSISDNs belong. | [optional]
89
**messageType** | **String** | This returns whether the message sent was a SMS or MMS. |
9-
**numberSegments** | **Integer** | For SMS messages only, the value indicates the number of 160 character message segments sent. |
10-
**numberNationalDestinations** | **Integer** | This returns the number of domestic Australian messages sent. | [optional]
11-
**numberInternationalDestinations** | **Integer** | This returns the number of international messages sent | [optional]
10+
**numberSegments** | **Integer** | For SMS messages only, the value indicates the number of 160 character message segments sent. |
1211

1312

1413

docs/MessagingApi.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,7 @@ OAuth auth = (OAuth) defaultClient.getAuthentication("auth");
240240
auth.setAccessToken("YOUR ACCESS TOKEN");
241241

242242
MessagingApi apiInstance = new MessagingApi();
243-
SendMmsRequest sendMmsRequest = new SendMmsRequest(); // SendMmsRequest | A JSON or XML payload containing the recipient's phone number and MMS message.
244-
The recipient number should be in the format '04xxxxxxxx' where x is a digit.
243+
SendMmsRequest sendMmsRequest = new SendMmsRequest(); // SendMmsRequest | A JSON or XML payload containing the recipient's phone number and MMS message. The recipient number should be in the format '04xxxxxxxx' where x is a digit.
245244

246245
try {
247246
MessageSentResponse result = apiInstance.sendMMS(sendMmsRequest);
@@ -256,8 +255,7 @@ try {
256255

257256
Name | Type | Description | Notes
258257
------------- | ------------- | ------------- | -------------
259-
**sendMmsRequest** | [**SendMmsRequest**](SendMmsRequest.md)| A JSON or XML payload containing the recipient's phone number and MMS message.
260-
The recipient number should be in the format '04xxxxxxxx' where x is a digit.
258+
**sendMmsRequest** | [**SendMmsRequest**](SendMmsRequest.md)| A JSON or XML payload containing the recipient's phone number and MMS message. The recipient number should be in the format '04xxxxxxxx' where x is a digit.
261259
|
262260

263261
### Return type
@@ -297,8 +295,7 @@ OAuth auth = (OAuth) defaultClient.getAuthentication("auth");
297295
auth.setAccessToken("YOUR ACCESS TOKEN");
298296

299297
MessagingApi apiInstance = new MessagingApi();
300-
SendSMSRequest sendSMSRequest = new SendSMSRequest(); // SendSMSRequest | A JSON or XML payload containing the recipient's phone number and text message.
301-
This number can be in international format if preceeded by a ‘+’ or in national format ('04xxxxxxxx') where x is a digit.
298+
SendSMSRequest sendSMSRequest = new SendSMSRequest(); // SendSMSRequest | A JSON or XML payload containing the recipient's phone number and text message. This number can be in international format if preceeded by a '+' or in national format ('04xxxxxxxx') where x is a digit.
302299

303300
try {
304301
MessageSentResponse result = apiInstance.sendSMS(sendSMSRequest);
@@ -313,8 +310,7 @@ try {
313310

314311
Name | Type | Description | Notes
315312
------------- | ------------- | ------------- | -------------
316-
**sendSMSRequest** | [**SendSMSRequest**](SendSMSRequest.md)| A JSON or XML payload containing the recipient's phone number and text message.
317-
This number can be in international format if preceeded by a ‘+’ or in national format ('04xxxxxxxx') where x is a digit.
313+
**sendSMSRequest** | [**SendSMSRequest**](SendSMSRequest.md)| A JSON or XML payload containing the recipient's phone number and text message. This number can be in international format if preceeded by a '+' or in national format ('04xxxxxxxx') where x is a digit.
318314
|
319315

320316
### Return type

docs/ProvisionNumberRequest.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**activeDays** | **Integer** | The number of days before for which this number is provisioned. Usually this will be same as the plan you buy. | [optional]
88
**notifyURL** | **String** | A notification URL that will be POSTed to whenever a new message (e.g. a reply to a message sent) arrives at this destination address. If this is not provided then you can use the Get /sms or /mms API to poll for reply messages. *Please note that the notification URLs and the Get /sms or /mms call are exclusive. If a notification URL has been set then the GET call will not provide any useful information.* | [optional]
9-
**callbackData** | **String** | A JSON that will be sent as the body in the POST to the notifyURL. This can be any meaningful data relevant to your application. | [optional]
109

1110

1211

src/main/java/com/telstra/ApiCallback.java

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/main/java/com/telstra/ApiClient.java

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

src/main/java/com/telstra/ApiException.java

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/main/java/com/telstra/ApiResponse.java

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/main/java/com/telstra/Configuration.java

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/main/java/com/telstra/GzipRequestInterceptor.java

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)