diff --git a/clients/google-api-services-recommender/v1/2.0.0/README.md b/clients/google-api-services-recommender/v1/2.0.0/README.md
index d32afa8cdb0..3b1ee6d5c6a 100644
--- a/clients/google-api-services-recommender/v1/2.0.0/README.md
+++ b/clients/google-api-services-recommender/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1ContentChunk extends com.google.api.client.json.GenericJson { + + /** + * Table with headers and rows content for the content chunk. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudRecommendationsRecommendersDatabasesV1Table table; + + /** + * Table with headers and rows content for the content chunk. + * @return value or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Table getTable() { + return table; + } + + /** + * Table with headers and rows content for the content chunk. + * @param table table or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1ContentChunk setTable(CloudRecommendationsRecommendersDatabasesV1Table table) { + this.table = table; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1ContentChunk set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1ContentChunk) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1ContentChunk clone() { + return (CloudRecommendationsRecommendersDatabasesV1ContentChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1CtaConfig.java b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1CtaConfig.java new file mode 100644 index 00000000000..fa442207f2e --- /dev/null +++ b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1CtaConfig.java @@ -0,0 +1,108 @@ +/* + * 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.recommender.v1.model; + +/** + * Model definition for CloudRecommendationsRecommendersDatabasesV1CtaConfig. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1CtaConfig extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isPrimary; + + /** + * Enum used to map to the string to be shown in the UI for the button. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String redirectPage; + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsPrimary() { + return isPrimary; + } + + /** + * @param isPrimary isPrimary or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1CtaConfig setIsPrimary(java.lang.Boolean isPrimary) { + this.isPrimary = isPrimary; + return this; + } + + /** + * Enum used to map to the string to be shown in the UI for the button. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Enum used to map to the string to be shown in the UI for the button. + * @param label label or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1CtaConfig setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRedirectPage() { + return redirectPage; + } + + /** + * @param redirectPage redirectPage or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1CtaConfig setRedirectPage(java.lang.String redirectPage) { + this.redirectPage = redirectPage; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1CtaConfig set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1CtaConfig) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1CtaConfig clone() { + return (CloudRecommendationsRecommendersDatabasesV1CtaConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1DatabasesPresentationConfig.java b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1DatabasesPresentationConfig.java new file mode 100644 index 00000000000..cad3fc39319 --- /dev/null +++ b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1DatabasesPresentationConfig.java @@ -0,0 +1,252 @@ +/* + * 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.recommender.v1.model; + +/** + * Presentational config that maps to the UI components of templatized issue subtasks. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1DatabasesPresentationConfig extends com.google.api.client.json.GenericJson { + + /** + * Call to action buttons for the issue. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1Description extends com.google.api.client.json.GenericJson { + + /** + * Enum used to map to the html template to be shown in the UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String descriptionEnum; + + /** + * Enum used to map to the html template to be shown in the UI. + * @return value or {@code null} for none + */ + public java.lang.String getDescriptionEnum() { + return descriptionEnum; + } + + /** + * Enum used to map to the html template to be shown in the UI. + * @param descriptionEnum descriptionEnum or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Description setDescriptionEnum(java.lang.String descriptionEnum) { + this.descriptionEnum = descriptionEnum; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1Description set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1Description) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1Description clone() { + return (CloudRecommendationsRecommendersDatabasesV1Description) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1Link.java b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1Link.java new file mode 100644 index 00000000000..e09d37d3e97 --- /dev/null +++ b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1Link.java @@ -0,0 +1,114 @@ +/* + * 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.recommender.v1.model; + +/** + * Model definition for CloudRecommendationsRecommendersDatabasesV1Link. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1Link extends com.google.api.client.json.GenericJson { + + /** + * String label for the link. This value is not translated + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Enum used to map to the redirect page for the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String redirectPage; + + /** + * Resource name for the table cell. This is used to construct the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * String label for the link. This value is not translated + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * String label for the link. This value is not translated + * @param label label or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Link setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Enum used to map to the redirect page for the link. + * @return value or {@code null} for none + */ + public java.lang.String getRedirectPage() { + return redirectPage; + } + + /** + * Enum used to map to the redirect page for the link. + * @param redirectPage redirectPage or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Link setRedirectPage(java.lang.String redirectPage) { + this.redirectPage = redirectPage; + return this; + } + + /** + * Resource name for the table cell. This is used to construct the link. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Resource name for the table cell. This is used to construct the link. + * @param resourceName resourceName or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Link setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1Link set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1Link) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1Link clone() { + return (CloudRecommendationsRecommendersDatabasesV1Link) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1PlaybookLink.java b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1PlaybookLink.java new file mode 100644 index 00000000000..6ec9d4e62ef --- /dev/null +++ b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1PlaybookLink.java @@ -0,0 +1,87 @@ +/* + * 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.recommender.v1.model; + +/** + * Model definition for CloudRecommendationsRecommendersDatabasesV1PlaybookLink. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1PlaybookLink extends com.google.api.client.json.GenericJson { + + /** + * Enum used to map to the string to be shown in the UI for the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String link; + + /** + * Enum used to map to the string to be shown in the UI for the link. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Enum used to map to the string to be shown in the UI for the link. + * @param label label or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1PlaybookLink setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLink() { + return link; + } + + /** + * @param link link or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1PlaybookLink setLink(java.lang.String link) { + this.link = link; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1PlaybookLink set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1PlaybookLink) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1PlaybookLink clone() { + return (CloudRecommendationsRecommendersDatabasesV1PlaybookLink) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1SimpleValue.java b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1SimpleValue.java new file mode 100644 index 00000000000..fc4ce795195 --- /dev/null +++ b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1SimpleValue.java @@ -0,0 +1,165 @@ +/* + * 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.recommender.v1.model; + +/** + * Model definition for CloudRecommendationsRecommendersDatabasesV1SimpleValue. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1SimpleValue extends com.google.api.client.json.GenericJson { + + /** + * Enum value for the table cell. This should be used when value MUST be translated and represents + * common status/field like Enabled, Disabled, Success, Failure, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String enumValue; + + /** + * Link value for the table cell. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudRecommendationsRecommendersDatabasesV1Link linkValue; + + /** + * Number value for the table cell. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double numberValue; + + /** + * String value for the table cell. This should be used when value doesn't need to be translated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * Timestamp value for the table cell. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String timestampValue; + + /** + * Enum value for the table cell. This should be used when value MUST be translated and represents + * common status/field like Enabled, Disabled, Success, Failure, etc. + * @return value or {@code null} for none + */ + public java.lang.String getEnumValue() { + return enumValue; + } + + /** + * Enum value for the table cell. This should be used when value MUST be translated and represents + * common status/field like Enabled, Disabled, Success, Failure, etc. + * @param enumValue enumValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setEnumValue(java.lang.String enumValue) { + this.enumValue = enumValue; + return this; + } + + /** + * Link value for the table cell. + * @return value or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Link getLinkValue() { + return linkValue; + } + + /** + * Link value for the table cell. + * @param linkValue linkValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setLinkValue(CloudRecommendationsRecommendersDatabasesV1Link linkValue) { + this.linkValue = linkValue; + return this; + } + + /** + * Number value for the table cell. + * @return value or {@code null} for none + */ + public java.lang.Double getNumberValue() { + return numberValue; + } + + /** + * Number value for the table cell. + * @param numberValue numberValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setNumberValue(java.lang.Double numberValue) { + this.numberValue = numberValue; + return this; + } + + /** + * String value for the table cell. This should be used when value doesn't need to be translated. + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * String value for the table cell. This should be used when value doesn't need to be translated. + * @param stringValue stringValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + /** + * Timestamp value for the table cell. + * @return value or {@code null} for none + */ + public String getTimestampValue() { + return timestampValue; + } + + /** + * Timestamp value for the table cell. + * @param timestampValue timestampValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setTimestampValue(String timestampValue) { + this.timestampValue = timestampValue; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1SimpleValue set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1SimpleValue) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1SimpleValue clone() { + return (CloudRecommendationsRecommendersDatabasesV1SimpleValue) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1Table.java b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1Table.java new file mode 100644 index 00000000000..cc47ad2da67 --- /dev/null +++ b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1Table.java @@ -0,0 +1,96 @@ +/* + * 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.recommender.v1.model; + +/** + * Field for adding custom complex table + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1Table extends com.google.api.client.json.GenericJson { + + /** + * Headers for the table. IMPORTANT: Each header defines a column and its title. All Headers must + * be unique and shouldn't be used more than once within the same list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1TableField extends com.google.api.client.json.GenericJson { + + /** + * Enum used to map to the string to be shown in the UI for the field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Number value for the table field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double numberValue; + + /** + * String value for the table field. Note that this string won't be translated. It is advised to + * provide values that don't require translation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * Timestamp value for the table field. Timestamp will be shown in the user's timezone with the + * format: "Feb 27, 2009 3:22:54 PM". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String timestampValue; + + /** + * Enum used to map to the string to be shown in the UI for the field. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Enum used to map to the string to be shown in the UI for the field. + * @param key key or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1TableField setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** + * Number value for the table field. + * @return value or {@code null} for none + */ + public java.lang.Double getNumberValue() { + return numberValue; + } + + /** + * Number value for the table field. + * @param numberValue numberValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1TableField setNumberValue(java.lang.Double numberValue) { + this.numberValue = numberValue; + return this; + } + + /** + * String value for the table field. Note that this string won't be translated. It is advised to + * provide values that don't require translation. + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * String value for the table field. Note that this string won't be translated. It is advised to + * provide values that don't require translation. + * @param stringValue stringValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1TableField setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + /** + * Timestamp value for the table field. Timestamp will be shown in the user's timezone with the + * format: "Feb 27, 2009 3:22:54 PM". + * @return value or {@code null} for none + */ + public String getTimestampValue() { + return timestampValue; + } + + /** + * Timestamp value for the table field. Timestamp will be shown in the user's timezone with the + * format: "Feb 27, 2009 3:22:54 PM". + * @param timestampValue timestampValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1TableField setTimestampValue(String timestampValue) { + this.timestampValue = timestampValue; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1TableField set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1TableField) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1TableField clone() { + return (CloudRecommendationsRecommendersDatabasesV1TableField) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1TableRow.java b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1TableRow.java new file mode 100644 index 00000000000..bfdda4e289a --- /dev/null +++ b/clients/google-api-services-recommender/v1/2.0.0/com/google/api/services/recommender/v1/model/CloudRecommendationsRecommendersDatabasesV1TableRow.java @@ -0,0 +1,72 @@ +/* + * 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.recommender.v1.model; + +/** + * Table row for a table + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1TableRow extends com.google.api.client.json.GenericJson { + + /** + * Table cells for the table row. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1ContentChunk extends com.google.api.client.json.GenericJson { + + /** + * Table with headers and rows content for the content chunk. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudRecommendationsRecommendersDatabasesV1Table table; + + /** + * Table with headers and rows content for the content chunk. + * @return value or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Table getTable() { + return table; + } + + /** + * Table with headers and rows content for the content chunk. + * @param table table or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1ContentChunk setTable(CloudRecommendationsRecommendersDatabasesV1Table table) { + this.table = table; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1ContentChunk set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1ContentChunk) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1ContentChunk clone() { + return (CloudRecommendationsRecommendersDatabasesV1ContentChunk) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1CtaConfig.java b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1CtaConfig.java new file mode 100644 index 00000000000..42cefadea77 --- /dev/null +++ b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1CtaConfig.java @@ -0,0 +1,108 @@ +/* + * 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.recommender.v1beta1.model; + +/** + * Model definition for CloudRecommendationsRecommendersDatabasesV1CtaConfig. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1CtaConfig extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean isPrimary; + + /** + * Enum used to map to the string to be shown in the UI for the button. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String redirectPage; + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getIsPrimary() { + return isPrimary; + } + + /** + * @param isPrimary isPrimary or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1CtaConfig setIsPrimary(java.lang.Boolean isPrimary) { + this.isPrimary = isPrimary; + return this; + } + + /** + * Enum used to map to the string to be shown in the UI for the button. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Enum used to map to the string to be shown in the UI for the button. + * @param label label or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1CtaConfig setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getRedirectPage() { + return redirectPage; + } + + /** + * @param redirectPage redirectPage or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1CtaConfig setRedirectPage(java.lang.String redirectPage) { + this.redirectPage = redirectPage; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1CtaConfig set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1CtaConfig) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1CtaConfig clone() { + return (CloudRecommendationsRecommendersDatabasesV1CtaConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1DatabasesPresentationConfig.java b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1DatabasesPresentationConfig.java new file mode 100644 index 00000000000..7c0b2e9ab61 --- /dev/null +++ b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1DatabasesPresentationConfig.java @@ -0,0 +1,252 @@ +/* + * 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.recommender.v1beta1.model; + +/** + * Presentational config that maps to the UI components of templatized issue subtasks. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1DatabasesPresentationConfig extends com.google.api.client.json.GenericJson { + + /** + * Call to action buttons for the issue. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1Description extends com.google.api.client.json.GenericJson { + + /** + * Enum used to map to the html template to be shown in the UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String descriptionEnum; + + /** + * Enum used to map to the html template to be shown in the UI. + * @return value or {@code null} for none + */ + public java.lang.String getDescriptionEnum() { + return descriptionEnum; + } + + /** + * Enum used to map to the html template to be shown in the UI. + * @param descriptionEnum descriptionEnum or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Description setDescriptionEnum(java.lang.String descriptionEnum) { + this.descriptionEnum = descriptionEnum; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1Description set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1Description) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1Description clone() { + return (CloudRecommendationsRecommendersDatabasesV1Description) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1Link.java b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1Link.java new file mode 100644 index 00000000000..4f946a948d1 --- /dev/null +++ b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1Link.java @@ -0,0 +1,114 @@ +/* + * 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.recommender.v1beta1.model; + +/** + * Model definition for CloudRecommendationsRecommendersDatabasesV1Link. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1Link extends com.google.api.client.json.GenericJson { + + /** + * String label for the link. This value is not translated + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Enum used to map to the redirect page for the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String redirectPage; + + /** + * Resource name for the table cell. This is used to construct the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceName; + + /** + * String label for the link. This value is not translated + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * String label for the link. This value is not translated + * @param label label or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Link setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Enum used to map to the redirect page for the link. + * @return value or {@code null} for none + */ + public java.lang.String getRedirectPage() { + return redirectPage; + } + + /** + * Enum used to map to the redirect page for the link. + * @param redirectPage redirectPage or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Link setRedirectPage(java.lang.String redirectPage) { + this.redirectPage = redirectPage; + return this; + } + + /** + * Resource name for the table cell. This is used to construct the link. + * @return value or {@code null} for none + */ + public java.lang.String getResourceName() { + return resourceName; + } + + /** + * Resource name for the table cell. This is used to construct the link. + * @param resourceName resourceName or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Link setResourceName(java.lang.String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1Link set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1Link) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1Link clone() { + return (CloudRecommendationsRecommendersDatabasesV1Link) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1PlaybookLink.java b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1PlaybookLink.java new file mode 100644 index 00000000000..a704298d5db --- /dev/null +++ b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1PlaybookLink.java @@ -0,0 +1,87 @@ +/* + * 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.recommender.v1beta1.model; + +/** + * Model definition for CloudRecommendationsRecommendersDatabasesV1PlaybookLink. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1PlaybookLink extends com.google.api.client.json.GenericJson { + + /** + * Enum used to map to the string to be shown in the UI for the link. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String link; + + /** + * Enum used to map to the string to be shown in the UI for the link. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Enum used to map to the string to be shown in the UI for the link. + * @param label label or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1PlaybookLink setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getLink() { + return link; + } + + /** + * @param link link or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1PlaybookLink setLink(java.lang.String link) { + this.link = link; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1PlaybookLink set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1PlaybookLink) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1PlaybookLink clone() { + return (CloudRecommendationsRecommendersDatabasesV1PlaybookLink) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1SimpleValue.java b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1SimpleValue.java new file mode 100644 index 00000000000..7ca1771e461 --- /dev/null +++ b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1SimpleValue.java @@ -0,0 +1,165 @@ +/* + * 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.recommender.v1beta1.model; + +/** + * Model definition for CloudRecommendationsRecommendersDatabasesV1SimpleValue. + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1SimpleValue extends com.google.api.client.json.GenericJson { + + /** + * Enum value for the table cell. This should be used when value MUST be translated and represents + * common status/field like Enabled, Disabled, Success, Failure, etc. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String enumValue; + + /** + * Link value for the table cell. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CloudRecommendationsRecommendersDatabasesV1Link linkValue; + + /** + * Number value for the table cell. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double numberValue; + + /** + * String value for the table cell. This should be used when value doesn't need to be translated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * Timestamp value for the table cell. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String timestampValue; + + /** + * Enum value for the table cell. This should be used when value MUST be translated and represents + * common status/field like Enabled, Disabled, Success, Failure, etc. + * @return value or {@code null} for none + */ + public java.lang.String getEnumValue() { + return enumValue; + } + + /** + * Enum value for the table cell. This should be used when value MUST be translated and represents + * common status/field like Enabled, Disabled, Success, Failure, etc. + * @param enumValue enumValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setEnumValue(java.lang.String enumValue) { + this.enumValue = enumValue; + return this; + } + + /** + * Link value for the table cell. + * @return value or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1Link getLinkValue() { + return linkValue; + } + + /** + * Link value for the table cell. + * @param linkValue linkValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setLinkValue(CloudRecommendationsRecommendersDatabasesV1Link linkValue) { + this.linkValue = linkValue; + return this; + } + + /** + * Number value for the table cell. + * @return value or {@code null} for none + */ + public java.lang.Double getNumberValue() { + return numberValue; + } + + /** + * Number value for the table cell. + * @param numberValue numberValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setNumberValue(java.lang.Double numberValue) { + this.numberValue = numberValue; + return this; + } + + /** + * String value for the table cell. This should be used when value doesn't need to be translated. + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * String value for the table cell. This should be used when value doesn't need to be translated. + * @param stringValue stringValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + /** + * Timestamp value for the table cell. + * @return value or {@code null} for none + */ + public String getTimestampValue() { + return timestampValue; + } + + /** + * Timestamp value for the table cell. + * @param timestampValue timestampValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1SimpleValue setTimestampValue(String timestampValue) { + this.timestampValue = timestampValue; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1SimpleValue set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1SimpleValue) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1SimpleValue clone() { + return (CloudRecommendationsRecommendersDatabasesV1SimpleValue) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1Table.java b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1Table.java new file mode 100644 index 00000000000..23c41cb9546 --- /dev/null +++ b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1Table.java @@ -0,0 +1,96 @@ +/* + * 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.recommender.v1beta1.model; + +/** + * Field for adding custom complex table + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1Table extends com.google.api.client.json.GenericJson { + + /** + * Headers for the table. IMPORTANT: Each header defines a column and its title. All Headers must + * be unique and shouldn't be used more than once within the same list. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1TableField extends com.google.api.client.json.GenericJson { + + /** + * Enum used to map to the string to be shown in the UI for the field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String key; + + /** + * Number value for the table field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double numberValue; + + /** + * String value for the table field. Note that this string won't be translated. It is advised to + * provide values that don't require translation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String stringValue; + + /** + * Timestamp value for the table field. Timestamp will be shown in the user's timezone with the + * format: "Feb 27, 2009 3:22:54 PM". + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String timestampValue; + + /** + * Enum used to map to the string to be shown in the UI for the field. + * @return value or {@code null} for none + */ + public java.lang.String getKey() { + return key; + } + + /** + * Enum used to map to the string to be shown in the UI for the field. + * @param key key or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1TableField setKey(java.lang.String key) { + this.key = key; + return this; + } + + /** + * Number value for the table field. + * @return value or {@code null} for none + */ + public java.lang.Double getNumberValue() { + return numberValue; + } + + /** + * Number value for the table field. + * @param numberValue numberValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1TableField setNumberValue(java.lang.Double numberValue) { + this.numberValue = numberValue; + return this; + } + + /** + * String value for the table field. Note that this string won't be translated. It is advised to + * provide values that don't require translation. + * @return value or {@code null} for none + */ + public java.lang.String getStringValue() { + return stringValue; + } + + /** + * String value for the table field. Note that this string won't be translated. It is advised to + * provide values that don't require translation. + * @param stringValue stringValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1TableField setStringValue(java.lang.String stringValue) { + this.stringValue = stringValue; + return this; + } + + /** + * Timestamp value for the table field. Timestamp will be shown in the user's timezone with the + * format: "Feb 27, 2009 3:22:54 PM". + * @return value or {@code null} for none + */ + public String getTimestampValue() { + return timestampValue; + } + + /** + * Timestamp value for the table field. Timestamp will be shown in the user's timezone with the + * format: "Feb 27, 2009 3:22:54 PM". + * @param timestampValue timestampValue or {@code null} for none + */ + public CloudRecommendationsRecommendersDatabasesV1TableField setTimestampValue(String timestampValue) { + this.timestampValue = timestampValue; + return this; + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1TableField set(String fieldName, Object value) { + return (CloudRecommendationsRecommendersDatabasesV1TableField) super.set(fieldName, value); + } + + @Override + public CloudRecommendationsRecommendersDatabasesV1TableField clone() { + return (CloudRecommendationsRecommendersDatabasesV1TableField) super.clone(); + } + +} diff --git a/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1TableRow.java b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1TableRow.java new file mode 100644 index 00000000000..8d4e928f38b --- /dev/null +++ b/clients/google-api-services-recommender/v1beta1/2.0.0/com/google/api/services/recommender/v1beta1/model/CloudRecommendationsRecommendersDatabasesV1TableRow.java @@ -0,0 +1,72 @@ +/* + * 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.recommender.v1beta1.model; + +/** + * Table row for a table + * + *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 Recommender API. 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 CloudRecommendationsRecommendersDatabasesV1TableRow extends com.google.api.client.json.GenericJson { + + /** + * Table cells for the table row. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List