Class ExternalCampaign

    • Method Detail

      • fromJson

        public static ExternalCampaign fromJson​(String json,
                                                com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a ExternalCampaign object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        ExternalCampaign object represented by the provided JSON
      • fromJson

        public static ExternalCampaign fromJson​(InputStream json,
                                                com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a ExternalCampaign object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        ExternalCampaign object represented by the provided JSON
      • getSid

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getCampaignId

        public final String getCampaignId()
      • getMessagingServiceSid

        public final String getMessagingServiceSid()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object