Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-solar/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-solar</artifactId>
<version>v1-rev20261001-2.9.2</version>
<version>v1-rev20261028-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-solar:v1-rev20261001-2.9.2'
implementation 'com.google.apis:google-api-services-solar:v1-rev20261028-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
@SuppressWarnings("javadoc")
public final class BuildingInsightsDetectedArrays extends com.google.api.client.json.GenericJson {

/**
* A list of solar arrays detected on the building.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<BuildingInsightsDetectedArraysSolarArray> arrays;

/**
* Indicates the detection status of solar arrays for this building.
* The value may be {@code null}.
Expand All @@ -43,6 +50,23 @@ public final class BuildingInsightsDetectedArrays extends com.google.api.client.
@com.google.api.client.util.Key
private Date latestCaptureDate;

/**
* A list of solar arrays detected on the building.
* @return value or {@code null} for none
*/
public java.util.List<BuildingInsightsDetectedArraysSolarArray> getArrays() {
return arrays;
}

/**
* A list of solar arrays detected on the building.
* @param arrays arrays or {@code null} for none
*/
public BuildingInsightsDetectedArrays setArrays(java.util.List<BuildingInsightsDetectedArraysSolarArray> arrays) {
this.arrays = arrays;
return this;
}

/**
* Indicates the detection status of solar arrays for this building.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*
* 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.solar.v1.model;

/**
* Details of a single detected solar array.
*
* <p> 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 Solar API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class BuildingInsightsDetectedArraysSolarArray extends com.google.api.client.json.GenericJson {

/**
* A GeoJSON representation of the building area where solar panels were detected. The GeoJSON
* data must be in RFC 7946 format and represent a Polygon for a single contiguous area. The
* Polygon will be represented by several loops when it contains holes. Example: { "type":
* "Polygon", "coordinates": [ [ [-1, -1], [-1, 0], [0, 0], [-1, -1] ] ] }
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.Object> polygonGeojson;

/**
* A GeoJSON representation of the building area where solar panels were detected. The GeoJSON
* data must be in RFC 7946 format and represent a Polygon for a single contiguous area. The
* Polygon will be represented by several loops when it contains holes. Example: { "type":
* "Polygon", "coordinates": [ [ [-1, -1], [-1, 0], [0, 0], [-1, -1] ] ] }
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.Object> getPolygonGeojson() {
return polygonGeojson;
}

/**
* A GeoJSON representation of the building area where solar panels were detected. The GeoJSON
* data must be in RFC 7946 format and represent a Polygon for a single contiguous area. The
* Polygon will be represented by several loops when it contains holes. Example: { "type":
* "Polygon", "coordinates": [ [ [-1, -1], [-1, 0], [0, 0], [-1, -1] ] ] }
* @param polygonGeojson polygonGeojson or {@code null} for none
*/
public BuildingInsightsDetectedArraysSolarArray setPolygonGeojson(java.util.Map<String, java.lang.Object> polygonGeojson) {
this.polygonGeojson = polygonGeojson;
return this;
}

@Override
public BuildingInsightsDetectedArraysSolarArray set(String fieldName, Object value) {
return (BuildingInsightsDetectedArraysSolarArray) super.set(fieldName, value);
}

@Override
public BuildingInsightsDetectedArraysSolarArray clone() {
return (BuildingInsightsDetectedArraysSolarArray) super.clone();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-solar/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-solar</artifactId>
<version>v1-rev20261001-2.9.2</version>
<name>Solar API v1-rev20261001-2.9.2</name>
<version>v1-rev20261028-2.9.2</version>
<name>Solar API v1-rev20261028-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-solar/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-solar</artifactId>
<version>v1-rev20261001-2.9.2</version>
<version>v1-rev20261028-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-solar:v1-rev20261001-2.9.2'
implementation 'com.google.apis:google-api-services-solar:v1-rev20261028-2.9.2'
}
```

Expand Down
Loading