|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.dfareporting.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Contains the YouTube settings. |
| 21 | + * |
| 22 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 23 | + * transmitted over HTTP when working with the Campaign Manager 360 API. For a detailed explanation |
| 24 | + * see: |
| 25 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 26 | + * </p> |
| 27 | + * |
| 28 | + * @author Google, Inc. |
| 29 | + */ |
| 30 | +@SuppressWarnings("javadoc") |
| 31 | +public final class YoutubeSettings extends com.google.api.client.json.GenericJson { |
| 32 | + |
| 33 | + /** |
| 34 | + * Optional. The IDs of the creatives to use for the business logo. Currently only one creative is |
| 35 | + * supported. |
| 36 | + * The value may be {@code null}. |
| 37 | + */ |
| 38 | + @com.google.api.client.util.Key @com.google.api.client.json.JsonString |
| 39 | + private java.util.List<java.lang.Long> businessLogoCreativeIds; |
| 40 | + |
| 41 | + /** |
| 42 | + * Optional. The business name. |
| 43 | + * The value may be {@code null}. |
| 44 | + */ |
| 45 | + @com.google.api.client.util.Key |
| 46 | + private java.lang.String businessName; |
| 47 | + |
| 48 | + /** |
| 49 | + * Optional. The call to actions. Currently only one call to action is supported. |
| 50 | + * The value may be {@code null}. |
| 51 | + */ |
| 52 | + @com.google.api.client.util.Key |
| 53 | + private java.util.List<java.lang.String> callToActions; |
| 54 | + |
| 55 | + /** |
| 56 | + * Optional. The descriptions. Currently only one description is supported. |
| 57 | + * The value may be {@code null}. |
| 58 | + */ |
| 59 | + @com.google.api.client.util.Key |
| 60 | + private java.util.List<java.lang.String> descriptions; |
| 61 | + |
| 62 | + /** |
| 63 | + * Optional. The headlines associated with the call to actions. Currently only one headline is |
| 64 | + * supported. |
| 65 | + * The value may be {@code null}. |
| 66 | + */ |
| 67 | + @com.google.api.client.util.Key |
| 68 | + private java.util.List<java.lang.String> headlines; |
| 69 | + |
| 70 | + /** |
| 71 | + * Optional. The long headlines. Currently only one long headline is supported. |
| 72 | + * The value may be {@code null}. |
| 73 | + */ |
| 74 | + @com.google.api.client.util.Key |
| 75 | + private java.util.List<java.lang.String> longHeadlines; |
| 76 | + |
| 77 | + /** |
| 78 | + * Optional. The IDs of the creatives to use for the business logo. Currently only one creative is |
| 79 | + * supported. |
| 80 | + * @return value or {@code null} for none |
| 81 | + */ |
| 82 | + public java.util.List<java.lang.Long> getBusinessLogoCreativeIds() { |
| 83 | + return businessLogoCreativeIds; |
| 84 | + } |
| 85 | + |
| 86 | + /** |
| 87 | + * Optional. The IDs of the creatives to use for the business logo. Currently only one creative is |
| 88 | + * supported. |
| 89 | + * @param businessLogoCreativeIds businessLogoCreativeIds or {@code null} for none |
| 90 | + */ |
| 91 | + public YoutubeSettings setBusinessLogoCreativeIds(java.util.List<java.lang.Long> businessLogoCreativeIds) { |
| 92 | + this.businessLogoCreativeIds = businessLogoCreativeIds; |
| 93 | + return this; |
| 94 | + } |
| 95 | + |
| 96 | + /** |
| 97 | + * Optional. The business name. |
| 98 | + * @return value or {@code null} for none |
| 99 | + */ |
| 100 | + public java.lang.String getBusinessName() { |
| 101 | + return businessName; |
| 102 | + } |
| 103 | + |
| 104 | + /** |
| 105 | + * Optional. The business name. |
| 106 | + * @param businessName businessName or {@code null} for none |
| 107 | + */ |
| 108 | + public YoutubeSettings setBusinessName(java.lang.String businessName) { |
| 109 | + this.businessName = businessName; |
| 110 | + return this; |
| 111 | + } |
| 112 | + |
| 113 | + /** |
| 114 | + * Optional. The call to actions. Currently only one call to action is supported. |
| 115 | + * @return value or {@code null} for none |
| 116 | + */ |
| 117 | + public java.util.List<java.lang.String> getCallToActions() { |
| 118 | + return callToActions; |
| 119 | + } |
| 120 | + |
| 121 | + /** |
| 122 | + * Optional. The call to actions. Currently only one call to action is supported. |
| 123 | + * @param callToActions callToActions or {@code null} for none |
| 124 | + */ |
| 125 | + public YoutubeSettings setCallToActions(java.util.List<java.lang.String> callToActions) { |
| 126 | + this.callToActions = callToActions; |
| 127 | + return this; |
| 128 | + } |
| 129 | + |
| 130 | + /** |
| 131 | + * Optional. The descriptions. Currently only one description is supported. |
| 132 | + * @return value or {@code null} for none |
| 133 | + */ |
| 134 | + public java.util.List<java.lang.String> getDescriptions() { |
| 135 | + return descriptions; |
| 136 | + } |
| 137 | + |
| 138 | + /** |
| 139 | + * Optional. The descriptions. Currently only one description is supported. |
| 140 | + * @param descriptions descriptions or {@code null} for none |
| 141 | + */ |
| 142 | + public YoutubeSettings setDescriptions(java.util.List<java.lang.String> descriptions) { |
| 143 | + this.descriptions = descriptions; |
| 144 | + return this; |
| 145 | + } |
| 146 | + |
| 147 | + /** |
| 148 | + * Optional. The headlines associated with the call to actions. Currently only one headline is |
| 149 | + * supported. |
| 150 | + * @return value or {@code null} for none |
| 151 | + */ |
| 152 | + public java.util.List<java.lang.String> getHeadlines() { |
| 153 | + return headlines; |
| 154 | + } |
| 155 | + |
| 156 | + /** |
| 157 | + * Optional. The headlines associated with the call to actions. Currently only one headline is |
| 158 | + * supported. |
| 159 | + * @param headlines headlines or {@code null} for none |
| 160 | + */ |
| 161 | + public YoutubeSettings setHeadlines(java.util.List<java.lang.String> headlines) { |
| 162 | + this.headlines = headlines; |
| 163 | + return this; |
| 164 | + } |
| 165 | + |
| 166 | + /** |
| 167 | + * Optional. The long headlines. Currently only one long headline is supported. |
| 168 | + * @return value or {@code null} for none |
| 169 | + */ |
| 170 | + public java.util.List<java.lang.String> getLongHeadlines() { |
| 171 | + return longHeadlines; |
| 172 | + } |
| 173 | + |
| 174 | + /** |
| 175 | + * Optional. The long headlines. Currently only one long headline is supported. |
| 176 | + * @param longHeadlines longHeadlines or {@code null} for none |
| 177 | + */ |
| 178 | + public YoutubeSettings setLongHeadlines(java.util.List<java.lang.String> longHeadlines) { |
| 179 | + this.longHeadlines = longHeadlines; |
| 180 | + return this; |
| 181 | + } |
| 182 | + |
| 183 | + @Override |
| 184 | + public YoutubeSettings set(String fieldName, Object value) { |
| 185 | + return (YoutubeSettings) super.set(fieldName, value); |
| 186 | + } |
| 187 | + |
| 188 | + @Override |
| 189 | + public YoutubeSettings clone() { |
| 190 | + return (YoutubeSettings) super.clone(); |
| 191 | + } |
| 192 | + |
| 193 | +} |
0 commit comments