Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2 - Added various methods to the public API of the CMTelecomAPIConsumer.AbstractResponse class #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/classes/CMTelecomAPIConsumer.cls
Original file line number Diff line number Diff line change
Expand Up @@ -593,24 +593,24 @@ global without sharing class CMTelecomAPIConsumer {
* @description A defining message that has been given back.
*/
@AuraEnabled
public String details {get; set;}
global String details {get; set;}

/**
* @description The errorCode that has been given back.
*/
@AuraEnabled
public Integer errorCode {get; set;}
global Integer errorCode {get; set;}

/**
* @description The statuscode that has been given back.
*/
@AuraEnabled
public Integer statusCode {get; set;}
global Integer statusCode {get; set;}

/**
* private, serialize property
*/
private List<ResponseMessage> messages {get; set;}
global List<ResponseMessage> messages {get; set;}

/**
* @description The input data used to generate the response
Expand Down Expand Up @@ -643,11 +643,11 @@ global without sharing class CMTelecomAPIConsumer {
* private, serialize class
*/
global class ResponseMessage {
public String to {get; set;}
public String status {get; set;}
public String reference {get; set;}
public Integer parts {get; set;}
public String messageDetails {get; set;}
public Integer messageErrorCode {get; set;}
global String to {get; set;}
global String status {get; set;}
global String reference {get; set;}
global Integer parts {get; set;}
global String messageDetails {get; set;}
global Integer messageErrorCode {get; set;}
}
}