com.ringcentral.definitions.GetAccountInfoResponse Maven / Gradle / Ivy
package com.ringcentral.definitions;
public class GetAccountInfoResponse {
/**
* Internal identifier of an account
*/
public Long id;
/**
* Canonical URI of an account
*/
public String uri;
/**
* Internal identifier of an account in the billing system
*/
public String bsid;
/**
* Main phone number of the current account
*/
public String mainNumber;
/**
* Operator's extension information. This extension will receive all calls and messages intended for the operator
*/
public GetExtensionInfoResponse operator;
/**
* Additional account identifier, developed and applied by the client
*/
public String partnerId;
/**
* Account service information, including brand, service plan and billing plan
*/
public ServiceInfo serviceInfo;
/**
* Specifies account configuration wizard state (web service setup)
* Default: NotStarted
* Enum: NotStarted, Incomplete, Completed
*/
public String setupWizardState;
/**
* Account sign up data
*/
public SignupInfoResource signupInfo;
/**
* Status of the current account
* Enum: Initial, Confirmed, Unconfirmed, Disabled
*/
public String status;
/**
* Status information (reason, comment, lifetime). Returned for 'Disabled' status only
*/
public AccountStatusInfo statusInfo;
/**
* Account level region data (web service Auto-Receptionist settings)
*/
public RegionalSettings regionalSettings;
/**
* Specifies whether an account is included into any federation of accounts or not
*/
public Boolean federated;
/**
* If outbound call prefix is not specified, or set to null (0), then the parameter is not returned; the supported value range is 2-9
*/
public Long outboundCallPrefix;
/**
* Customer facing identifier. Returned for accounts with the turned off PBX features. Equals to main company number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) (without '+' sign)format
*/
public String cfid;
/**
* Limits which are effective for the account
*/
public AccountLimits limits;
public GetAccountInfoResponse id(Long id) {
this.id = id;
return this;
}
public GetAccountInfoResponse uri(String uri) {
this.uri = uri;
return this;
}
public GetAccountInfoResponse bsid(String bsid) {
this.bsid = bsid;
return this;
}
public GetAccountInfoResponse mainNumber(String mainNumber) {
this.mainNumber = mainNumber;
return this;
}
public GetAccountInfoResponse operator(GetExtensionInfoResponse operator) {
this.operator = operator;
return this;
}
public GetAccountInfoResponse partnerId(String partnerId) {
this.partnerId = partnerId;
return this;
}
public GetAccountInfoResponse serviceInfo(ServiceInfo serviceInfo) {
this.serviceInfo = serviceInfo;
return this;
}
public GetAccountInfoResponse setupWizardState(String setupWizardState) {
this.setupWizardState = setupWizardState;
return this;
}
public GetAccountInfoResponse signupInfo(SignupInfoResource signupInfo) {
this.signupInfo = signupInfo;
return this;
}
public GetAccountInfoResponse status(String status) {
this.status = status;
return this;
}
public GetAccountInfoResponse statusInfo(AccountStatusInfo statusInfo) {
this.statusInfo = statusInfo;
return this;
}
public GetAccountInfoResponse regionalSettings(RegionalSettings regionalSettings) {
this.regionalSettings = regionalSettings;
return this;
}
public GetAccountInfoResponse federated(Boolean federated) {
this.federated = federated;
return this;
}
public GetAccountInfoResponse outboundCallPrefix(Long outboundCallPrefix) {
this.outboundCallPrefix = outboundCallPrefix;
return this;
}
public GetAccountInfoResponse cfid(String cfid) {
this.cfid = cfid;
return this;
}
public GetAccountInfoResponse limits(AccountLimits limits) {
this.limits = limits;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy