|
| 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.contactcenterinsights.v1.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Configurable dashboard's widget that displays data as a chart. |
| 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 Contact Center AI Insights API. For a detailed |
| 24 | + * explanation 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 GoogleCloudContactcenterinsightsV1Chart extends com.google.api.client.json.GenericJson { |
| 32 | + |
| 33 | + /** |
| 34 | + * Output only. Chart type. |
| 35 | + * The value may be {@code null}. |
| 36 | + */ |
| 37 | + @com.google.api.client.util.Key |
| 38 | + private java.lang.String chartType; |
| 39 | + |
| 40 | + /** |
| 41 | + * Chart visualization type. |
| 42 | + * The value may be {@code null}. |
| 43 | + */ |
| 44 | + @com.google.api.client.util.Key |
| 45 | + private java.lang.String chartVisualizationType; |
| 46 | + |
| 47 | + /** |
| 48 | + * Output only. Chart create time. |
| 49 | + * The value may be {@code null}. |
| 50 | + */ |
| 51 | + @com.google.api.client.util.Key |
| 52 | + private String createTime; |
| 53 | + |
| 54 | + /** |
| 55 | + * The value may be {@code null}. |
| 56 | + */ |
| 57 | + @com.google.api.client.util.Key |
| 58 | + private GoogleCloudContactcenterinsightsV1ChartDataSource dataSource; |
| 59 | + |
| 60 | + /** |
| 61 | + * Date range config applied to the chart. |
| 62 | + * The value may be {@code null}. |
| 63 | + */ |
| 64 | + @com.google.api.client.util.Key |
| 65 | + private GoogleCloudContactcenterinsightsV1DateRangeConfig dateRangeConfig; |
| 66 | + |
| 67 | + /** |
| 68 | + * Chart description |
| 69 | + * The value may be {@code null}. |
| 70 | + */ |
| 71 | + @com.google.api.client.util.Key |
| 72 | + private java.lang.String description; |
| 73 | + |
| 74 | + /** |
| 75 | + * User provided display name of the chart. |
| 76 | + * The value may be {@code null}. |
| 77 | + */ |
| 78 | + @com.google.api.client.util.Key |
| 79 | + private java.lang.String displayName; |
| 80 | + |
| 81 | + /** |
| 82 | + * Filter applied to all charts in the container. Should support scope later. |
| 83 | + * The value may be {@code null}. |
| 84 | + */ |
| 85 | + @com.google.api.client.util.Key |
| 86 | + private java.lang.String filter; |
| 87 | + |
| 88 | + /** |
| 89 | + * The height of the chart in grid units. |
| 90 | + * The value may be {@code null}. |
| 91 | + */ |
| 92 | + @com.google.api.client.util.Key |
| 93 | + private java.lang.Integer height; |
| 94 | + |
| 95 | + /** |
| 96 | + * Identifier. Chart resource name. Format: |
| 97 | + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} |
| 98 | + * The value may be {@code null}. |
| 99 | + */ |
| 100 | + @com.google.api.client.util.Key |
| 101 | + private java.lang.String name; |
| 102 | + |
| 103 | + /** |
| 104 | + * Output only. Chart last update time. |
| 105 | + * The value may be {@code null}. |
| 106 | + */ |
| 107 | + @com.google.api.client.util.Key |
| 108 | + private String updateTime; |
| 109 | + |
| 110 | + /** |
| 111 | + * The width of the chart in grid units. |
| 112 | + * The value may be {@code null}. |
| 113 | + */ |
| 114 | + @com.google.api.client.util.Key |
| 115 | + private java.lang.Integer width; |
| 116 | + |
| 117 | + /** |
| 118 | + * Output only. Chart type. |
| 119 | + * @return value or {@code null} for none |
| 120 | + */ |
| 121 | + public java.lang.String getChartType() { |
| 122 | + return chartType; |
| 123 | + } |
| 124 | + |
| 125 | + /** |
| 126 | + * Output only. Chart type. |
| 127 | + * @param chartType chartType or {@code null} for none |
| 128 | + */ |
| 129 | + public GoogleCloudContactcenterinsightsV1Chart setChartType(java.lang.String chartType) { |
| 130 | + this.chartType = chartType; |
| 131 | + return this; |
| 132 | + } |
| 133 | + |
| 134 | + /** |
| 135 | + * Chart visualization type. |
| 136 | + * @return value or {@code null} for none |
| 137 | + */ |
| 138 | + public java.lang.String getChartVisualizationType() { |
| 139 | + return chartVisualizationType; |
| 140 | + } |
| 141 | + |
| 142 | + /** |
| 143 | + * Chart visualization type. |
| 144 | + * @param chartVisualizationType chartVisualizationType or {@code null} for none |
| 145 | + */ |
| 146 | + public GoogleCloudContactcenterinsightsV1Chart setChartVisualizationType(java.lang.String chartVisualizationType) { |
| 147 | + this.chartVisualizationType = chartVisualizationType; |
| 148 | + return this; |
| 149 | + } |
| 150 | + |
| 151 | + /** |
| 152 | + * Output only. Chart create time. |
| 153 | + * @return value or {@code null} for none |
| 154 | + */ |
| 155 | + public String getCreateTime() { |
| 156 | + return createTime; |
| 157 | + } |
| 158 | + |
| 159 | + /** |
| 160 | + * Output only. Chart create time. |
| 161 | + * @param createTime createTime or {@code null} for none |
| 162 | + */ |
| 163 | + public GoogleCloudContactcenterinsightsV1Chart setCreateTime(String createTime) { |
| 164 | + this.createTime = createTime; |
| 165 | + return this; |
| 166 | + } |
| 167 | + |
| 168 | + /** |
| 169 | + * @return value or {@code null} for none |
| 170 | + */ |
| 171 | + public GoogleCloudContactcenterinsightsV1ChartDataSource getDataSource() { |
| 172 | + return dataSource; |
| 173 | + } |
| 174 | + |
| 175 | + /** |
| 176 | + * @param dataSource dataSource or {@code null} for none |
| 177 | + */ |
| 178 | + public GoogleCloudContactcenterinsightsV1Chart setDataSource(GoogleCloudContactcenterinsightsV1ChartDataSource dataSource) { |
| 179 | + this.dataSource = dataSource; |
| 180 | + return this; |
| 181 | + } |
| 182 | + |
| 183 | + /** |
| 184 | + * Date range config applied to the chart. |
| 185 | + * @return value or {@code null} for none |
| 186 | + */ |
| 187 | + public GoogleCloudContactcenterinsightsV1DateRangeConfig getDateRangeConfig() { |
| 188 | + return dateRangeConfig; |
| 189 | + } |
| 190 | + |
| 191 | + /** |
| 192 | + * Date range config applied to the chart. |
| 193 | + * @param dateRangeConfig dateRangeConfig or {@code null} for none |
| 194 | + */ |
| 195 | + public GoogleCloudContactcenterinsightsV1Chart setDateRangeConfig(GoogleCloudContactcenterinsightsV1DateRangeConfig dateRangeConfig) { |
| 196 | + this.dateRangeConfig = dateRangeConfig; |
| 197 | + return this; |
| 198 | + } |
| 199 | + |
| 200 | + /** |
| 201 | + * Chart description |
| 202 | + * @return value or {@code null} for none |
| 203 | + */ |
| 204 | + public java.lang.String getDescription() { |
| 205 | + return description; |
| 206 | + } |
| 207 | + |
| 208 | + /** |
| 209 | + * Chart description |
| 210 | + * @param description description or {@code null} for none |
| 211 | + */ |
| 212 | + public GoogleCloudContactcenterinsightsV1Chart setDescription(java.lang.String description) { |
| 213 | + this.description = description; |
| 214 | + return this; |
| 215 | + } |
| 216 | + |
| 217 | + /** |
| 218 | + * User provided display name of the chart. |
| 219 | + * @return value or {@code null} for none |
| 220 | + */ |
| 221 | + public java.lang.String getDisplayName() { |
| 222 | + return displayName; |
| 223 | + } |
| 224 | + |
| 225 | + /** |
| 226 | + * User provided display name of the chart. |
| 227 | + * @param displayName displayName or {@code null} for none |
| 228 | + */ |
| 229 | + public GoogleCloudContactcenterinsightsV1Chart setDisplayName(java.lang.String displayName) { |
| 230 | + this.displayName = displayName; |
| 231 | + return this; |
| 232 | + } |
| 233 | + |
| 234 | + /** |
| 235 | + * Filter applied to all charts in the container. Should support scope later. |
| 236 | + * @return value or {@code null} for none |
| 237 | + */ |
| 238 | + public java.lang.String getFilter() { |
| 239 | + return filter; |
| 240 | + } |
| 241 | + |
| 242 | + /** |
| 243 | + * Filter applied to all charts in the container. Should support scope later. |
| 244 | + * @param filter filter or {@code null} for none |
| 245 | + */ |
| 246 | + public GoogleCloudContactcenterinsightsV1Chart setFilter(java.lang.String filter) { |
| 247 | + this.filter = filter; |
| 248 | + return this; |
| 249 | + } |
| 250 | + |
| 251 | + /** |
| 252 | + * The height of the chart in grid units. |
| 253 | + * @return value or {@code null} for none |
| 254 | + */ |
| 255 | + public java.lang.Integer getHeight() { |
| 256 | + return height; |
| 257 | + } |
| 258 | + |
| 259 | + /** |
| 260 | + * The height of the chart in grid units. |
| 261 | + * @param height height or {@code null} for none |
| 262 | + */ |
| 263 | + public GoogleCloudContactcenterinsightsV1Chart setHeight(java.lang.Integer height) { |
| 264 | + this.height = height; |
| 265 | + return this; |
| 266 | + } |
| 267 | + |
| 268 | + /** |
| 269 | + * Identifier. Chart resource name. Format: |
| 270 | + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} |
| 271 | + * @return value or {@code null} for none |
| 272 | + */ |
| 273 | + public java.lang.String getName() { |
| 274 | + return name; |
| 275 | + } |
| 276 | + |
| 277 | + /** |
| 278 | + * Identifier. Chart resource name. Format: |
| 279 | + * projects/{project}/locations/{location}/dashboards/{dashboard}/charts/{chart} |
| 280 | + * @param name name or {@code null} for none |
| 281 | + */ |
| 282 | + public GoogleCloudContactcenterinsightsV1Chart setName(java.lang.String name) { |
| 283 | + this.name = name; |
| 284 | + return this; |
| 285 | + } |
| 286 | + |
| 287 | + /** |
| 288 | + * Output only. Chart last update time. |
| 289 | + * @return value or {@code null} for none |
| 290 | + */ |
| 291 | + public String getUpdateTime() { |
| 292 | + return updateTime; |
| 293 | + } |
| 294 | + |
| 295 | + /** |
| 296 | + * Output only. Chart last update time. |
| 297 | + * @param updateTime updateTime or {@code null} for none |
| 298 | + */ |
| 299 | + public GoogleCloudContactcenterinsightsV1Chart setUpdateTime(String updateTime) { |
| 300 | + this.updateTime = updateTime; |
| 301 | + return this; |
| 302 | + } |
| 303 | + |
| 304 | + /** |
| 305 | + * The width of the chart in grid units. |
| 306 | + * @return value or {@code null} for none |
| 307 | + */ |
| 308 | + public java.lang.Integer getWidth() { |
| 309 | + return width; |
| 310 | + } |
| 311 | + |
| 312 | + /** |
| 313 | + * The width of the chart in grid units. |
| 314 | + * @param width width or {@code null} for none |
| 315 | + */ |
| 316 | + public GoogleCloudContactcenterinsightsV1Chart setWidth(java.lang.Integer width) { |
| 317 | + this.width = width; |
| 318 | + return this; |
| 319 | + } |
| 320 | + |
| 321 | + @Override |
| 322 | + public GoogleCloudContactcenterinsightsV1Chart set(String fieldName, Object value) { |
| 323 | + return (GoogleCloudContactcenterinsightsV1Chart) super.set(fieldName, value); |
| 324 | + } |
| 325 | + |
| 326 | + @Override |
| 327 | + public GoogleCloudContactcenterinsightsV1Chart clone() { |
| 328 | + return (GoogleCloudContactcenterinsightsV1Chart) super.clone(); |
| 329 | + } |
| 330 | + |
| 331 | +} |
0 commit comments