Examples of IndividualTopicCommentResponse


Examples of zendeskapi.models.topics.IndividualTopicCommentResponse

      throw new ZendeskApiException(e);
    }
  }

  public IndividualTopicCommentResponse createTopicComment(long topicId, TopicComment topicComment) throws ZendeskApiException {
    IndividualTopicCommentResponse individualTopicCommentResponse = new IndividualTopicCommentResponse();
    individualTopicCommentResponse.setTopicComment(topicComment);
    try {
      return genericPost("topics/" + topicId + "/comments.json", individualTopicCommentResponse, IndividualTopicCommentResponse.class);
    } catch (Exception e) {
      throw new ZendeskApiException("Creation of topic comment " + topicComment.getTopicId() + " failed", e);
    }
View Full Code Here

Examples of zendeskapi.models.topics.IndividualTopicCommentResponse

      throw new ZendeskApiException("Creation of topic comment " + topicComment.getTopicId() + " failed", e);
    }
  }

  public IndividualTopicCommentResponse updateTopicComment(TopicComment topicComment) throws ZendeskApiException {
    IndividualTopicCommentResponse individualTopicCommentResponse = new IndividualTopicCommentResponse();
    individualTopicCommentResponse.setTopicComment(topicComment);
    try {
      return genericPut("topics/" + topicComment.getTopicId() + "/comments/" + topicComment.getId() + ".json", individualTopicCommentResponse, IndividualTopicCommentResponse.class);
    } catch (Exception e) {
      throw new ZendeskApiException("Update of topic comment " + topicComment.getTopicId() + " failed", e);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.