From 6eb2c7c437cb6a4bffb16f759bcb358e8698fefe Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Tue, 4 Aug 2026 18:05:51 -0700
Subject: [PATCH] chore: regenerate homegraph client
---
.../v1/2.0.0/README.md | 4 +-
.../v1/model/CameraEventStreamTrait.java | 42 ++
.../v1/model/CommonEventDataStruct.java | 114 +++
.../homegraph/v1/model/DeviceBlameStruct.java | 66 ++
.../homegraph/v1/model/EveUtilityTrait.java | 696 ++++++++++++++++++
.../homegraph/v1/model/MediaUrlsStruct.java | 138 ++++
.../homegraph/v1/model/MotionEvent.java | 111 +++
.../v1/model/PartnerPresenceSignalTrait.java | 43 ++
.../homegraph/v1/model/PersonEvent.java | 111 +++
.../StructurePresenceStateChangeEvent.java | 90 +++
...ucturePresenceStateChangeReasonStruct.java | 90 +++
.../v1/model/ThermostatFanControlTrait.java | 105 +++
.../homegraph/v1/model/UserBlameStruct.java | 90 +++
.../homegraph/v1/model/ZoneStruct.java | 90 +++
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
16 files changed, 1792 insertions(+), 6 deletions(-)
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/CameraEventStreamTrait.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/CommonEventDataStruct.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/DeviceBlameStruct.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/EveUtilityTrait.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/MediaUrlsStruct.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/MotionEvent.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/PartnerPresenceSignalTrait.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/PersonEvent.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/StructurePresenceStateChangeEvent.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/StructurePresenceStateChangeReasonStruct.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/ThermostatFanControlTrait.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/UserBlameStruct.java
create mode 100644 clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/ZoneStruct.java
diff --git a/clients/google-api-services-homegraph/v1/2.0.0/README.md b/clients/google-api-services-homegraph/v1/2.0.0/README.md
index 211649c1e4e..9e68bab04ff 100644
--- a/clients/google-api-services-homegraph/v1/2.0.0/README.md
+++ b/clients/google-api-services-homegraph/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 HomeGraph 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 CameraEventStreamTrait extends com.google.api.client.json.GenericJson { + + @Override + public CameraEventStreamTrait set(String fieldName, Object value) { + return (CameraEventStreamTrait) super.set(fieldName, value); + } + + @Override + public CameraEventStreamTrait clone() { + return (CameraEventStreamTrait) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/CommonEventDataStruct.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/CommonEventDataStruct.java new file mode 100644 index 00000000000..34d4e13a7af --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/CommonEventDataStruct.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.homegraph.v1.model; + +/** + * Common camera event data. + * + *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 HomeGraph 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 CommonEventDataStruct extends com.google.api.client.json.GenericJson { + + /** + * Contains media urls for the event + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MediaUrlsStruct mediaUrls; + + /** + * Camera event session id. Used for identifying a unique event session + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sessionId; + + /** + * Id of the track this object belongs to + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trackId; + + /** + * Contains media urls for the event + * @return value or {@code null} for none + */ + public MediaUrlsStruct getMediaUrls() { + return mediaUrls; + } + + /** + * Contains media urls for the event + * @param mediaUrls mediaUrls or {@code null} for none + */ + public CommonEventDataStruct setMediaUrls(MediaUrlsStruct mediaUrls) { + this.mediaUrls = mediaUrls; + return this; + } + + /** + * Camera event session id. Used for identifying a unique event session + * @return value or {@code null} for none + */ + public java.lang.String getSessionId() { + return sessionId; + } + + /** + * Camera event session id. Used for identifying a unique event session + * @param sessionId sessionId or {@code null} for none + */ + public CommonEventDataStruct setSessionId(java.lang.String sessionId) { + this.sessionId = sessionId; + return this; + } + + /** + * Id of the track this object belongs to + * @return value or {@code null} for none + */ + public java.lang.String getTrackId() { + return trackId; + } + + /** + * Id of the track this object belongs to + * @param trackId trackId or {@code null} for none + */ + public CommonEventDataStruct setTrackId(java.lang.String trackId) { + this.trackId = trackId; + return this; + } + + @Override + public CommonEventDataStruct set(String fieldName, Object value) { + return (CommonEventDataStruct) super.set(fieldName, value); + } + + @Override + public CommonEventDataStruct clone() { + return (CommonEventDataStruct) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/DeviceBlameStruct.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/DeviceBlameStruct.java new file mode 100644 index 00000000000..70b92def10c --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/DeviceBlameStruct.java @@ -0,0 +1,66 @@ +/* + * 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.homegraph.v1.model; + +/** + * Contains metadata about the cause of presence state change attributed to a device. + * + *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 HomeGraph 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 DeviceBlameStruct extends com.google.api.client.json.GenericJson { + + /** + * Required. Specifies the device blame type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String blameType; + + /** + * Required. Specifies the device blame type. + * @return value or {@code null} for none + */ + public java.lang.String getBlameType() { + return blameType; + } + + /** + * Required. Specifies the device blame type. + * @param blameType blameType or {@code null} for none + */ + public DeviceBlameStruct setBlameType(java.lang.String blameType) { + this.blameType = blameType; + return this; + } + + @Override + public DeviceBlameStruct set(String fieldName, Object value) { + return (DeviceBlameStruct) super.set(fieldName, value); + } + + @Override + public DeviceBlameStruct clone() { + return (DeviceBlameStruct) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/EveUtilityTrait.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/EveUtilityTrait.java new file mode 100644 index 00000000000..912dd0e14f1 --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/EveUtilityTrait.java @@ -0,0 +1,696 @@ +/* + * 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.homegraph.v1.model; + +/** + * Model definition for EveUtilityTrait. + * + *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 HomeGraph 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 EveUtilityTrait extends com.google.api.client.json.GenericJson { + + /** + * Required. Output only. Accepted command list for this trait + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List+ * The value is encoded Base64 or {@code null} for none. + *
+ * + * @since 1.14 + */ + public EveUtilityTrait encodeGetConfig(byte[] getConfig) { + this.getConfig = com.google.api.client.util.Base64.encodeBase64URLSafeString(getConfig); + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getHoldPosition() { + return holdPosition; + } + + /** + * @param holdPosition holdPosition or {@code null} for none + */ + public EveUtilityTrait setHoldPosition(java.lang.Boolean holdPosition) { + this.holdPosition = holdPosition; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Long getLastEventTime() { + return lastEventTime; + } + + /** + * @param lastEventTime lastEventTime or {@code null} for none + */ + public EveUtilityTrait setLastEventTime(java.lang.Long lastEventTime) { + this.lastEventTime = lastEventTime; + return this; + } + + /** + * @see #decodeLoggingControlPoint() + * @return value or {@code null} for none + */ + public java.lang.String getLoggingControlPoint() { + return loggingControlPoint; + } + + /** + + * @see #getLoggingControlPoint() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeLoggingControlPoint() { + return com.google.api.client.util.Base64.decodeBase64(loggingControlPoint); + } + + /** + * @see #encodeLoggingControlPoint() + * @param loggingControlPoint loggingControlPoint or {@code null} for none + */ + public EveUtilityTrait setLoggingControlPoint(java.lang.String loggingControlPoint) { + this.loggingControlPoint = loggingControlPoint; + return this; + } + + /** + + * @see #setLoggingControlPoint() + * + *+ * The value is encoded Base64 or {@code null} for none. + *
+ * + * @since 1.14 + */ + public EveUtilityTrait encodeLoggingControlPoint(byte[] loggingControlPoint) { + this.loggingControlPoint = com.google.api.client.util.Base64.encodeBase64URLSafeString(loggingControlPoint); + return this; + } + + /** + * @see #decodeLoggingData() + * @return value or {@code null} for none + */ + public java.lang.String getLoggingData() { + return loggingData; + } + + /** + + * @see #getLoggingData() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeLoggingData() { + return com.google.api.client.util.Base64.decodeBase64(loggingData); + } + + /** + * @see #encodeLoggingData() + * @param loggingData loggingData or {@code null} for none + */ + public EveUtilityTrait setLoggingData(java.lang.String loggingData) { + this.loggingData = loggingData; + return this; + } + + /** + + * @see #setLoggingData() + * + *+ * The value is encoded Base64 or {@code null} for none. + *
+ * + * @since 1.14 + */ + public EveUtilityTrait encodeLoggingData(byte[] loggingData) { + this.loggingData = com.google.api.client.util.Base64.encodeBase64URLSafeString(loggingData); + return this; + } + + /** + * @see #decodeLoggingMetadata() + * @return value or {@code null} for none + */ + public java.lang.String getLoggingMetadata() { + return loggingMetadata; + } + + /** + + * @see #getLoggingMetadata() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeLoggingMetadata() { + return com.google.api.client.util.Base64.decodeBase64(loggingMetadata); + } + + /** + * @see #encodeLoggingMetadata() + * @param loggingMetadata loggingMetadata or {@code null} for none + */ + public EveUtilityTrait setLoggingMetadata(java.lang.String loggingMetadata) { + this.loggingMetadata = loggingMetadata; + return this; + } + + /** + + * @see #setLoggingMetadata() + * + *+ * The value is encoded Base64 or {@code null} for none. + *
+ * + * @since 1.14 + */ + public EveUtilityTrait encodeLoggingMetadata(byte[] loggingMetadata) { + this.loggingMetadata = com.google.api.client.util.Base64.encodeBase64URLSafeString(loggingMetadata); + return this; + } + + /** + * @see #decodeLoggingTime() + * @return value or {@code null} for none + */ + public java.lang.String getLoggingTime() { + return loggingTime; + } + + /** + + * @see #getLoggingTime() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeLoggingTime() { + return com.google.api.client.util.Base64.decodeBase64(loggingTime); + } + + /** + * @see #encodeLoggingTime() + * @param loggingTime loggingTime or {@code null} for none + */ + public EveUtilityTrait setLoggingTime(java.lang.String loggingTime) { + this.loggingTime = loggingTime; + return this; + } + + /** + + * @see #setLoggingTime() + * + *+ * The value is encoded Base64 or {@code null} for none. + *
+ * + * @since 1.14 + */ + public EveUtilityTrait encodeLoggingTime(byte[] loggingTime) { + this.loggingTime = com.google.api.client.util.Base64.encodeBase64URLSafeString(loggingTime); + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getMotionSensitivity() { + return motionSensitivity; + } + + /** + * @param motionSensitivity motionSensitivity or {@code null} for none + */ + public EveUtilityTrait setMotionSensitivity(java.lang.Integer motionSensitivity) { + this.motionSensitivity = motionSensitivity; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Boolean getObstructionDetected() { + return obstructionDetected; + } + + /** + * @param obstructionDetected obstructionDetected or {@code null} for none + */ + public EveUtilityTrait setObstructionDetected(java.lang.Boolean obstructionDetected) { + this.obstructionDetected = obstructionDetected; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Long getOpenCount() { + return openCount; + } + + /** + * @param openCount openCount or {@code null} for none + */ + public EveUtilityTrait setOpenCount(java.lang.Long openCount) { + this.openCount = openCount; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getRloc16() { + return rloc16; + } + + /** + * @param rloc16 rloc16 or {@code null} for none + */ + public EveUtilityTrait setRloc16(java.lang.Integer rloc16) { + this.rloc16 = rloc16; + return this; + } + + /** + * @see #decodeSetConfig() + * @return value or {@code null} for none + */ + public java.lang.String getSetConfig() { + return setConfig; + } + + /** + + * @see #getSetConfig() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeSetConfig() { + return com.google.api.client.util.Base64.decodeBase64(setConfig); + } + + /** + * @see #encodeSetConfig() + * @param setConfig setConfig or {@code null} for none + */ + public EveUtilityTrait setSetConfig(java.lang.String setConfig) { + this.setConfig = setConfig; + return this; + } + + /** + + * @see #setSetConfig() + * + *+ * The value is encoded Base64 or {@code null} for none. + *
+ * + * @since 1.14 + */ + public EveUtilityTrait encodeSetConfig(byte[] setConfig) { + this.setConfig = com.google.api.client.util.Base64.encodeBase64URLSafeString(setConfig); + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getStatusFault() { + return statusFault; + } + + /** + * @param statusFault statusFault or {@code null} for none + */ + public EveUtilityTrait setStatusFault(java.lang.Integer statusFault) { + this.statusFault = statusFault; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Double getVoltage() { + return voltage; + } + + /** + * @param voltage voltage or {@code null} for none + */ + public EveUtilityTrait setVoltage(java.lang.Double voltage) { + this.voltage = voltage; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Double getWatt() { + return watt; + } + + /** + * @param watt watt or {@code null} for none + */ + public EveUtilityTrait setWatt(java.lang.Double watt) { + this.watt = watt; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Double getWattAccumulated() { + return wattAccumulated; + } + + /** + * @param wattAccumulated wattAccumulated or {@code null} for none + */ + public EveUtilityTrait setWattAccumulated(java.lang.Double wattAccumulated) { + this.wattAccumulated = wattAccumulated; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Integer getWeatherTrend() { + return weatherTrend; + } + + /** + * @param weatherTrend weatherTrend or {@code null} for none + */ + public EveUtilityTrait setWeatherTrend(java.lang.Integer weatherTrend) { + this.weatherTrend = weatherTrend; + return this; + } + + @Override + public EveUtilityTrait set(String fieldName, Object value) { + return (EveUtilityTrait) super.set(fieldName, value); + } + + @Override + public EveUtilityTrait clone() { + return (EveUtilityTrait) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/MediaUrlsStruct.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/MediaUrlsStruct.java new file mode 100644 index 00000000000..6ee825ed518 --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/MediaUrlsStruct.java @@ -0,0 +1,138 @@ +/* + * 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.homegraph.v1.model; + +/** + * Model definition for MediaUrlsStruct. + * + *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 HomeGraph 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 MediaUrlsStruct extends com.google.api.client.json.GenericJson { + + /** + * URL for a dash manifest for playback + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dashManifestUrl; + + /** + * URL for a hls master playlist for playback + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hlsMasterPlaylistUrl; + + /** + * URL for animated preview clip representing the event session + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String previewUrl; + + /** + * URL for thumbnail image representing the event session + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String thumbnailUrl; + + /** + * URL for a dash manifest for playback + * @return value or {@code null} for none + */ + public java.lang.String getDashManifestUrl() { + return dashManifestUrl; + } + + /** + * URL for a dash manifest for playback + * @param dashManifestUrl dashManifestUrl or {@code null} for none + */ + public MediaUrlsStruct setDashManifestUrl(java.lang.String dashManifestUrl) { + this.dashManifestUrl = dashManifestUrl; + return this; + } + + /** + * URL for a hls master playlist for playback + * @return value or {@code null} for none + */ + public java.lang.String getHlsMasterPlaylistUrl() { + return hlsMasterPlaylistUrl; + } + + /** + * URL for a hls master playlist for playback + * @param hlsMasterPlaylistUrl hlsMasterPlaylistUrl or {@code null} for none + */ + public MediaUrlsStruct setHlsMasterPlaylistUrl(java.lang.String hlsMasterPlaylistUrl) { + this.hlsMasterPlaylistUrl = hlsMasterPlaylistUrl; + return this; + } + + /** + * URL for animated preview clip representing the event session + * @return value or {@code null} for none + */ + public java.lang.String getPreviewUrl() { + return previewUrl; + } + + /** + * URL for animated preview clip representing the event session + * @param previewUrl previewUrl or {@code null} for none + */ + public MediaUrlsStruct setPreviewUrl(java.lang.String previewUrl) { + this.previewUrl = previewUrl; + return this; + } + + /** + * URL for thumbnail image representing the event session + * @return value or {@code null} for none + */ + public java.lang.String getThumbnailUrl() { + return thumbnailUrl; + } + + /** + * URL for thumbnail image representing the event session + * @param thumbnailUrl thumbnailUrl or {@code null} for none + */ + public MediaUrlsStruct setThumbnailUrl(java.lang.String thumbnailUrl) { + this.thumbnailUrl = thumbnailUrl; + return this; + } + + @Override + public MediaUrlsStruct set(String fieldName, Object value) { + return (MediaUrlsStruct) super.set(fieldName, value); + } + + @Override + public MediaUrlsStruct clone() { + return (MediaUrlsStruct) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/MotionEvent.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/MotionEvent.java new file mode 100644 index 00000000000..78d8a3ccfe0 --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/MotionEvent.java @@ -0,0 +1,111 @@ +/* + * 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.homegraph.v1.model; + +/** + * Represents a newly detected motion event. + * + *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 HomeGraph 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 MotionEvent extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CommonEventDataStruct commonEventData; + + /** + * Zones where events are detected in. + * 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 HomeGraph 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 PartnerPresenceSignalTrait extends com.google.api.client.json.GenericJson { + + @Override + public PartnerPresenceSignalTrait set(String fieldName, Object value) { + return (PartnerPresenceSignalTrait) super.set(fieldName, value); + } + + @Override + public PartnerPresenceSignalTrait clone() { + return (PartnerPresenceSignalTrait) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/PersonEvent.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/PersonEvent.java new file mode 100644 index 00000000000..5e1470913d5 --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/PersonEvent.java @@ -0,0 +1,111 @@ +/* + * 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.homegraph.v1.model; + +/** + * Represents a newly detected person event. + * + *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 HomeGraph 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 PersonEvent extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private CommonEventDataStruct commonEventData; + + /** + * Zones where events are detected in. + * 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 HomeGraph 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 StructurePresenceStateChangeEvent extends com.google.api.client.json.GenericJson { + + /** + * Required. Specifies the presence state. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String presenceState; + + /** + * Optional. Specifies the presence state change reason. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private StructurePresenceStateChangeReasonStruct reason; + + /** + * Required. Specifies the presence state. + * @return value or {@code null} for none + */ + public java.lang.String getPresenceState() { + return presenceState; + } + + /** + * Required. Specifies the presence state. + * @param presenceState presenceState or {@code null} for none + */ + public StructurePresenceStateChangeEvent setPresenceState(java.lang.String presenceState) { + this.presenceState = presenceState; + return this; + } + + /** + * Optional. Specifies the presence state change reason. + * @return value or {@code null} for none + */ + public StructurePresenceStateChangeReasonStruct getReason() { + return reason; + } + + /** + * Optional. Specifies the presence state change reason. + * @param reason reason or {@code null} for none + */ + public StructurePresenceStateChangeEvent setReason(StructurePresenceStateChangeReasonStruct reason) { + this.reason = reason; + return this; + } + + @Override + public StructurePresenceStateChangeEvent set(String fieldName, Object value) { + return (StructurePresenceStateChangeEvent) super.set(fieldName, value); + } + + @Override + public StructurePresenceStateChangeEvent clone() { + return (StructurePresenceStateChangeEvent) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/StructurePresenceStateChangeReasonStruct.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/StructurePresenceStateChangeReasonStruct.java new file mode 100644 index 00000000000..77acafb9a42 --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/StructurePresenceStateChangeReasonStruct.java @@ -0,0 +1,90 @@ +/* + * 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.homegraph.v1.model; + +/** + * Contains the metadata about the cause of the structure presence state change. + * + *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 HomeGraph 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 StructurePresenceStateChangeReasonStruct extends com.google.api.client.json.GenericJson { + + /** + * Optional. Contains metadata about the cause of presence state change attributed to a device. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DeviceBlameStruct deviceBlame; + + /** + * Optional. Contains metadata about the cause of presence state change attributed to a user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private UserBlameStruct userBlame; + + /** + * Optional. Contains metadata about the cause of presence state change attributed to a device. + * @return value or {@code null} for none + */ + public DeviceBlameStruct getDeviceBlame() { + return deviceBlame; + } + + /** + * Optional. Contains metadata about the cause of presence state change attributed to a device. + * @param deviceBlame deviceBlame or {@code null} for none + */ + public StructurePresenceStateChangeReasonStruct setDeviceBlame(DeviceBlameStruct deviceBlame) { + this.deviceBlame = deviceBlame; + return this; + } + + /** + * Optional. Contains metadata about the cause of presence state change attributed to a user. + * @return value or {@code null} for none + */ + public UserBlameStruct getUserBlame() { + return userBlame; + } + + /** + * Optional. Contains metadata about the cause of presence state change attributed to a user. + * @param userBlame userBlame or {@code null} for none + */ + public StructurePresenceStateChangeReasonStruct setUserBlame(UserBlameStruct userBlame) { + this.userBlame = userBlame; + return this; + } + + @Override + public StructurePresenceStateChangeReasonStruct set(String fieldName, Object value) { + return (StructurePresenceStateChangeReasonStruct) super.set(fieldName, value); + } + + @Override + public StructurePresenceStateChangeReasonStruct clone() { + return (StructurePresenceStateChangeReasonStruct) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/ThermostatFanControlTrait.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/ThermostatFanControlTrait.java new file mode 100644 index 00000000000..4e4435cf09d --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/ThermostatFanControlTrait.java @@ -0,0 +1,105 @@ +/* + * 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.homegraph.v1.model; + +/** + * This cluster provides fan control capabilities for thermostats. + * + *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 HomeGraph 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 ThermostatFanControlTrait extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long timerDuration; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long timerEnd; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String timerSpeed; + + /** + * @return value or {@code null} for none + */ + public java.lang.Long getTimerDuration() { + return timerDuration; + } + + /** + * @param timerDuration timerDuration or {@code null} for none + */ + public ThermostatFanControlTrait setTimerDuration(java.lang.Long timerDuration) { + this.timerDuration = timerDuration; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.Long getTimerEnd() { + return timerEnd; + } + + /** + * @param timerEnd timerEnd or {@code null} for none + */ + public ThermostatFanControlTrait setTimerEnd(java.lang.Long timerEnd) { + this.timerEnd = timerEnd; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getTimerSpeed() { + return timerSpeed; + } + + /** + * @param timerSpeed timerSpeed or {@code null} for none + */ + public ThermostatFanControlTrait setTimerSpeed(java.lang.String timerSpeed) { + this.timerSpeed = timerSpeed; + return this; + } + + @Override + public ThermostatFanControlTrait set(String fieldName, Object value) { + return (ThermostatFanControlTrait) super.set(fieldName, value); + } + + @Override + public ThermostatFanControlTrait clone() { + return (ThermostatFanControlTrait) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/UserBlameStruct.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/UserBlameStruct.java new file mode 100644 index 00000000000..510e5ffba96 --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/UserBlameStruct.java @@ -0,0 +1,90 @@ +/* + * 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.homegraph.v1.model; + +/** + * Contains metadata about the cause of presence state change attributed to a user. + * + *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 HomeGraph 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 UserBlameStruct extends com.google.api.client.json.GenericJson { + + /** + * Required. Specifies the user blame type. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String blameType; + + /** + * Required. Specifies the email of the user. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userEmail; + + /** + * Required. Specifies the user blame type. + * @return value or {@code null} for none + */ + public java.lang.String getBlameType() { + return blameType; + } + + /** + * Required. Specifies the user blame type. + * @param blameType blameType or {@code null} for none + */ + public UserBlameStruct setBlameType(java.lang.String blameType) { + this.blameType = blameType; + return this; + } + + /** + * Required. Specifies the email of the user. + * @return value or {@code null} for none + */ + public java.lang.String getUserEmail() { + return userEmail; + } + + /** + * Required. Specifies the email of the user. + * @param userEmail userEmail or {@code null} for none + */ + public UserBlameStruct setUserEmail(java.lang.String userEmail) { + this.userEmail = userEmail; + return this; + } + + @Override + public UserBlameStruct set(String fieldName, Object value) { + return (UserBlameStruct) super.set(fieldName, value); + } + + @Override + public UserBlameStruct clone() { + return (UserBlameStruct) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/ZoneStruct.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/ZoneStruct.java new file mode 100644 index 00000000000..9ea6c411af6 --- /dev/null +++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/ZoneStruct.java @@ -0,0 +1,90 @@ +/* + * 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.homegraph.v1.model; + +/** + * Model definition for ZoneStruct. + * + *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 HomeGraph 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 ZoneStruct extends com.google.api.client.json.GenericJson { + + /** + * Name of the zone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + + /** + * Id of the zone + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long zoneId; + + /** + * Name of the zone. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Name of the zone. + * @param label label or {@code null} for none + */ + public ZoneStruct setLabel(java.lang.String label) { + this.label = label; + return this; + } + + /** + * Id of the zone + * @return value or {@code null} for none + */ + public java.lang.Long getZoneId() { + return zoneId; + } + + /** + * Id of the zone + * @param zoneId zoneId or {@code null} for none + */ + public ZoneStruct setZoneId(java.lang.Long zoneId) { + this.zoneId = zoneId; + return this; + } + + @Override + public ZoneStruct set(String fieldName, Object value) { + return (ZoneStruct) super.set(fieldName, value); + } + + @Override + public ZoneStruct clone() { + return (ZoneStruct) super.clone(); + } + +} diff --git a/clients/google-api-services-homegraph/v1/2.0.0/pom.xml b/clients/google-api-services-homegraph/v1/2.0.0/pom.xml index 37253e91e6b..9270c33b55b 100644 --- a/clients/google-api-services-homegraph/v1/2.0.0/pom.xml +++ b/clients/google-api-services-homegraph/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@