def execute(self, context): from infobip.api.model.nc.logs.NumberContextLogsResponse import NumberContextLogsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/number/1/logs", None, context, None, NumberContextLogsResponse)
def execute(self, s_m_s_textual_request): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/text/single", None, None, s_m_s_textual_request, SMSResponse)
def execute(self, context): from infobip.api.model.sms.mo.reports.MOReportResponse import MOReportResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/sms/1/inbox/reports", None, context, None, MOReportResponse)
def execute(self, context): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/text/query", None, context, None, SMSResponse)
def execute(self, context): from infobip.api.model.omni.campaign.CampaignsResponse import CampaignsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/omni/1/campaigns", None, context, None, CampaignsResponse)
def execute(self, s_m_s_advanced_binary_request): from infobip.api.model.sms.mt.send.SMSResponse import SMSResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/binary/advanced", None, None, s_m_s_advanced_binary_request, SMSResponse)
def execute(self, context, update_status_request): from infobip.api.model.sms.mt.bulks.status.BulkStatusResponse import BulkStatusResponse http_client = HttpClient() return http_client.getValue("PUT", self.configuration, "/sms/1/bulks/status", None, context, update_status_request, BulkStatusResponse)
def execute(self, omni_simple_request): from infobip.api.model.omni.send.OmniResponse import OmniResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/omni/1/text", None, None, omni_simple_request, OmniResponse)
def execute(self): from infobip.api.model.account.AccountBalance import AccountBalance http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/account/1/balance", None, None, None, AccountBalance)
def execute(self, scenario): from infobip.api.model.omni.scenarios.Scenario import Scenario http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/omni/1/scenarios", None, None, scenario, Scenario)
def execute(self, context): from infobip.api.model.omni.scenarios.ScenariosResponse import ScenariosResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/omni/1/scenarios", None, context, None, ScenariosResponse)
def execute(self, context): from infobip.api.model.omni.reports.OMNIReportsResponse import OMNIReportsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/omni/1/reports", None, context, None, OMNIReportsResponse)
def execute(self, preview_request): from infobip.api.model.sms.mt.send.preview.PreviewResponse import PreviewResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/sms/1/preview", None, None, preview_request, PreviewResponse)
def execute(self, scenarioKey, scenario): from infobip.api.model.omni.scenarios.Scenario import Scenario pathParams = {"scenarioKey": scenarioKey} http_client = HttpClient() return http_client.getValue("PUT", self.configuration, "/omni/1/scenarios/{scenarioKey}", pathParams, None, scenario, Scenario)
def execute(self, campaignKey): from infobip.api.model.omni.campaign.Campaign import Campaign pathParams = {"campaignKey": campaignKey} http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/omni/1/campaigns/{campaignKey}", pathParams, None, None, Campaign)
def execute(self, messageId): from infobip.api.model.conversion.EndTagResponse import EndTagResponse pathParams = {"messageId": messageId} http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/ct/1/log/end/{messageId}", pathParams, None, None, EndTagResponse)
def execute(self, number_context_request): from infobip.api.model.nc.query.NumberContextResponse import NumberContextResponse http_client = HttpClient() return http_client.getValue("POST", self.configuration, "/number/1/query", None, None, number_context_request, NumberContextResponse)
def execute(self, context): from infobip.api.model.sms.mt.logs.SMSLogsResponse import SMSLogsResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/sms/1/logs", None, context, None, SMSLogsResponse)
def execute(self, context): from infobip.api.model.sms.mt.bulks.BulkResponse import BulkResponse http_client = HttpClient() return http_client.getValue("GET", self.configuration, "/sms/1/bulks", None, context, None, BulkResponse)