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

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

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


public class UpdateSubscriptionRequest {
    /**
     * The list of event filters corresponding to events the user is subscribed to
     * Required
     */
    public String[] eventFilters;
    /**
     * Subscription lifetime in seconds. The maximum subscription lifetime depends upon the specified `transportType`:
     * 

* | Transport type | Maximum permitted lifetime | * | ------------------- | ------------------------------ | * | `WebHook` | 315360000 seconds (10 years) | * | `RC/APNS`, `RC/GSM` | 7776000 seconds (90 days) | * | `PubNub` | 900 seconds (15 minutes) | * | `WebSocket` | n/a (the parameter is ignored) | * Minimum: 1 * Format: int32 * Example: 1200 */ public Long expiresIn; public UpdateSubscriptionRequest eventFilters(String[] eventFilters) { this.eventFilters = eventFilters; return this; } public UpdateSubscriptionRequest expiresIn(Long expiresIn) { this.expiresIn = expiresIn; return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy