From d55a9690876d9815cdb5f00139d869d62bc02946 Mon Sep 17 00:00:00 2001 From: "D. van Buuren" Date: Wed, 23 Jun 2021 11:11:44 +0200 Subject: [PATCH] #2 - Added various methods to the public API of the CMTelecomAPIConsumer.AbstractResponse class. This makes it possible for clients using the managed package of this connector to use the Response object properly. --- src/classes/CMTelecomAPIConsumer.cls | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/classes/CMTelecomAPIConsumer.cls b/src/classes/CMTelecomAPIConsumer.cls index c92f97f..4194b2e 100644 --- a/src/classes/CMTelecomAPIConsumer.cls +++ b/src/classes/CMTelecomAPIConsumer.cls @@ -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 messages {get; set;} + global List messages {get; set;} /** * @description The input data used to generate the response @@ -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;} } }