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

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

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


public class ForwardingNumberInfo {
    /**
     * Internal identifier of a forwarding/call flip phone number
     */
    public String id;
    /**
     * Canonical URI of a forwarding/call flip phone number
     * Format: uri
     */
    public String uri;
    /**
     * Forwarding/Call flip phone number
     */
    public String phoneNumber;
    /**
     * Forwarding/Call flip number title
     */
    public String label;
    /**
     * Type of option this phone number is used for. Multiple values are accepted
     * Enum: CallFlip, CallForwarding
     */
    public String[] features;
    /**
     * Number assigned to the call flip phone number, corresponds to the shortcut dial number
     */
    public String flipNumber;
    /**
     *
     */
    public CreateForwardingNumberDeviceInfo device;
    /**
     * Forwarding phone number type
     * Enum: Home, Mobile, Work, PhoneLine, Outage, Other, BusinessMobilePhone, ExternalCarrier, ExtensionApps
     */
    public String type;
    /**
     * Extension information. Returned only if extension type is 'ExtensionApps'
     */
    public ForwardingNumberInfoExtension extension;

    public ForwardingNumberInfo id(String id) {
        this.id = id;
        return this;
    }

    public ForwardingNumberInfo uri(String uri) {
        this.uri = uri;
        return this;
    }

    public ForwardingNumberInfo phoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
        return this;
    }

    public ForwardingNumberInfo label(String label) {
        this.label = label;
        return this;
    }

    public ForwardingNumberInfo features(String[] features) {
        this.features = features;
        return this;
    }

    public ForwardingNumberInfo flipNumber(String flipNumber) {
        this.flipNumber = flipNumber;
        return this;
    }

    public ForwardingNumberInfo device(CreateForwardingNumberDeviceInfo device) {
        this.device = device;
        return this;
    }

    public ForwardingNumberInfo type(String type) {
        this.type = type;
        return this;
    }

    public ForwardingNumberInfo extension(ForwardingNumberInfoExtension extension) {
        this.extension = extension;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy