Class FeedbackCreator

    • Constructor Detail

      • FeedbackCreator

        public FeedbackCreator​(String pathCallSid,
                               Integer qualityScore)
        Construct a new FeedbackCreator.
        Parameters:
        pathCallSid - The call sid that uniquely identifies the call
        qualityScore - The call quality expressed as an integer from 1 to 5
      • FeedbackCreator

        public FeedbackCreator​(String pathAccountSid,
                               String pathCallSid,
                               Integer qualityScore)
        Construct a new FeedbackCreator.
        Parameters:
        pathAccountSid - The unique sid that identifies this account
        pathCallSid - The call sid that uniquely identifies the call
        qualityScore - The call quality expressed as an integer from 1 to 5
    • Method Detail

      • setIssue

        public FeedbackCreator setIssue​(List<Feedback.Issues> issue)
        A list of one or more issues experienced during the call. Issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, `unsolicited-call`, or `one-way-audio`..
        Parameters:
        issue - Issues experienced during the call
        Returns:
        this
      • setIssue

        public FeedbackCreator setIssue​(Feedback.Issues issue)
        A list of one or more issues experienced during the call. Issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`, `post-dial-delay`, `digits-not-captured`, `audio-latency`, `unsolicited-call`, or `one-way-audio`..
        Parameters:
        issue - Issues experienced during the call
        Returns:
        this
      • create

        public Feedback create​(TwilioRestClient client)
        Make the request to the Twilio API to perform the create.
        Specified by:
        create in class Creator<Feedback>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Created Feedback