Skip to content

Commit

Permalink
Re-generate code
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlong committed Dec 27, 2019
1 parent 516e0c5 commit 076455a
Show file tree
Hide file tree
Showing 382 changed files with 9,568 additions and 5,902 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "automatic"
}
"java.configuration.updateBuildConfiguration": "automatic"
}
435 changes: 397 additions & 38 deletions samples.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public class AccountBusinessAddressResource {
*
*/
public String email;
/**
* Custom site name
*/
public String mainSiteName;

public AccountBusinessAddressResource uri(String uri) {
this.uri = uri;
Expand All @@ -39,4 +43,9 @@ public AccountBusinessAddressResource email(String email) {
return this;
}

public AccountBusinessAddressResource mainSiteName(String mainSiteName) {
this.mainSiteName = mainSiteName;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,29 @@


public class AccountCallLogResponse {
/**
* Link to the list of company call log records
*/
public String uri;
/**
* List of call log records
* Required
*/
public CallLogRecord[] records;
public CompanyCallLogRecord[] records;
/**
* Information on navigation
* Required
*/
public CallLogNavigationInfo navigation;
/**
* Information on paging
* Required
*/
public CallLogPagingInfo paging;

public AccountCallLogResponse records(CallLogRecord[] records) {
public AccountCallLogResponse uri(String uri) {
this.uri = uri;
return this;
}

public AccountCallLogResponse records(CompanyCallLogRecord[] records) {
this.records = records;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@


public class AccountPhoneNumbers {
/**
* Link to the list of account phone numbers
*/
public String uri;
/**
* List of account phone numbers
*/
Expand All @@ -15,6 +19,11 @@ public class AccountPhoneNumbers {
*/
public ProvisioningPagingInfo paging;

public AccountPhoneNumbers uri(String uri) {
this.uri = uri;
return this;
}

public AccountPhoneNumbers records(CompanyPhoneNumberInfo[] records) {
this.records = records;
return this;
Expand Down

This file was deleted.

36 changes: 0 additions & 36 deletions src/main/java/com/ringcentral/definitions/ActiveCallsResponse.java

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/java/com/ringcentral/definitions/AddonInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class AddonInfo {
/**
*
*/
public String count;
public Long count;

public AddonInfo id(String id) {
this.id = id;
Expand All @@ -25,7 +25,7 @@ public AddonInfo name(String name) {
return this;
}

public AddonInfo count(String count) {
public AddonInfo count(Long count) {
this.count = count;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AnsweringRuleInfo {
public CallersInfo[] callers;
/**
* Specifies how incoming calls are forwarded
* Enum: ForwardCalls, UnconditionalForwarding, AgentQueue, TransferToExtension, TakeMessagesOnly, PlayAnnouncementOnly
* Enum: ForwardCalls, UnconditionalForwarding, AgentQueue, TransferToExtension, TakeMessagesOnly, PlayAnnouncementOnly, SharedLines
*/
public String callHandlingAction;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

public class AudioPromptInfo {
/**
* Link to an prompt audio file
* Link to a prompt audio file
*/
public String uri;
/**
* Internal identifier of an prompt
* Internal identifier of a prompt
*/
public String id;

Expand Down
24 changes: 24 additions & 0 deletions src/main/java/com/ringcentral/definitions/BillingInfo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.ringcentral.definitions;


public class BillingInfo {
/**
* Cost per minute, paid and already included in your RingCentral Plan. For example International Calls
*/
public Long costIncluded;
/**
* Cost per minute, paid and not included in your RingCentral Plan
*/
public Long costPurchased;

public BillingInfo costIncluded(Long costIncluded) {
this.costIncluded = costIncluded;
return this;
}

public BillingInfo costPurchased(Long costPurchased) {
this.costPurchased = costPurchased;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ public class BulkAccountCallRecordingsResource {
/**
*
*/
public CallRecordingExtensionResource addedExtensions;
public CallRecordingExtensionResource[] addedExtensions;
/**
*
*/
public CallRecordingExtensionResource updatedExtensions;
public CallRecordingExtensionResource[] updatedExtensions;
/**
*
*/
public CallRecordingExtensionResource removedExtensions;
public CallRecordingExtensionResource[] removedExtensions;

public BulkAccountCallRecordingsResource addedExtensions(CallRecordingExtensionResource addedExtensions) {
public BulkAccountCallRecordingsResource addedExtensions(CallRecordingExtensionResource[] addedExtensions) {
this.addedExtensions = addedExtensions;
return this;
}

public BulkAccountCallRecordingsResource updatedExtensions(CallRecordingExtensionResource updatedExtensions) {
public BulkAccountCallRecordingsResource updatedExtensions(CallRecordingExtensionResource[] updatedExtensions) {
this.updatedExtensions = updatedExtensions;
return this;
}

public BulkAccountCallRecordingsResource removedExtensions(CallRecordingExtensionResource removedExtensions) {
public BulkAccountCallRecordingsResource removedExtensions(CallRecordingExtensionResource[] removedExtensions) {
this.removedExtensions = removedExtensions;
return this;
}
Expand Down
Loading

0 comments on commit 076455a

Please sign in to comment.