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

com.google.api.services.youtube.model.CuepointSchedule Maven / Gradle / Ivy

There is a newer version: v3-rev20240514-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.youtube.model;

/**
 * Schedule to insert cuepoints into a broadcast by ads automator.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class CuepointSchedule extends com.google.api.client.json.GenericJson { /** * This field is semantically required. If it is set false or not set, other fields in this * message will be ignored. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean enabled; /** * If set, automatic cuepoint insertion is paused until this timestamp ("No Ad Zone"). The value * is specified in ISO 8601 format. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String pauseAdsUntil; /** * Interval frequency in seconds that api uses to insert cuepoints automatically. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer repeatIntervalSecs; /** * The strategy to use when scheduling cuepoints. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String scheduleStrategy; /** * This field is semantically required. If it is set false or not set, other fields in this * message will be ignored. * @return value or {@code null} for none */ public java.lang.Boolean getEnabled() { return enabled; } /** * This field is semantically required. If it is set false or not set, other fields in this * message will be ignored. * @param enabled enabled or {@code null} for none */ public CuepointSchedule setEnabled(java.lang.Boolean enabled) { this.enabled = enabled; return this; } /** * If set, automatic cuepoint insertion is paused until this timestamp ("No Ad Zone"). The value * is specified in ISO 8601 format. * @return value or {@code null} for none */ public java.lang.String getPauseAdsUntil() { return pauseAdsUntil; } /** * If set, automatic cuepoint insertion is paused until this timestamp ("No Ad Zone"). The value * is specified in ISO 8601 format. * @param pauseAdsUntil pauseAdsUntil or {@code null} for none */ public CuepointSchedule setPauseAdsUntil(java.lang.String pauseAdsUntil) { this.pauseAdsUntil = pauseAdsUntil; return this; } /** * Interval frequency in seconds that api uses to insert cuepoints automatically. * @return value or {@code null} for none */ public java.lang.Integer getRepeatIntervalSecs() { return repeatIntervalSecs; } /** * Interval frequency in seconds that api uses to insert cuepoints automatically. * @param repeatIntervalSecs repeatIntervalSecs or {@code null} for none */ public CuepointSchedule setRepeatIntervalSecs(java.lang.Integer repeatIntervalSecs) { this.repeatIntervalSecs = repeatIntervalSecs; return this; } /** * The strategy to use when scheduling cuepoints. * @return value or {@code null} for none */ public java.lang.String getScheduleStrategy() { return scheduleStrategy; } /** * The strategy to use when scheduling cuepoints. * @param scheduleStrategy scheduleStrategy or {@code null} for none */ public CuepointSchedule setScheduleStrategy(java.lang.String scheduleStrategy) { this.scheduleStrategy = scheduleStrategy; return this; } @Override public CuepointSchedule set(String fieldName, Object value) { return (CuepointSchedule) super.set(fieldName, value); } @Override public CuepointSchedule clone() { return (CuepointSchedule) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy