All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ringcentral.definitions.ReplyWithPattern Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.ringcentral.definitions;


public class ReplyWithPattern {
    /**
     * Predefined reply pattern name.
     * Example: OnMyWay
     * Enum: WillCallYouBack, CallMeBack, OnMyWay, OnTheOtherLine, WillCallYouBackLater, CallMeBackLater, InAMeeting, OnTheOtherLineNoCall
     */
    public String pattern;
    /**
     * Number of time units. Applicable only to WillCallYouBack, CallMeBack patterns.
     * Format: int32
     * Example: 5
     */
    public Long time;
    /**
     * Time unit name.
     * Example: Minute
     * Enum: Minute, Hour, Day
     */
    public String timeUnit;

    public ReplyWithPattern pattern(String pattern) {
        this.pattern = pattern;
        return this;
    }

    public ReplyWithPattern time(Long time) {
        this.time = time;
        return this;
    }

    public ReplyWithPattern timeUnit(String timeUnit) {
        this.timeUnit = timeUnit;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy