Skip to content

Commit f01fb73

Browse files
chore: regenerate paymentsresellersubscription client (googleapis#24181)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent deb6719 commit f01fb73

File tree

5 files changed

+100
-6
lines changed

5 files changed

+100
-6
lines changed

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-paymentsresellersubscription</artifactId>
25-
<version>v1-rev20241110-2.0.0</version>
25+
<version>v1-rev20241211-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20241110-2.0.0'
38+
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20241211-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1Subscription.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ public final class GoogleCloudPaymentsResellerSubscriptionV1Subscription extends
8282
@com.google.api.client.util.Key
8383
private java.util.List<GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem> lineItems;
8484

85+
/**
86+
* Output only. Describes the details of the migrated subscription. Only populated if this
87+
* subscription is migrated from another system.
88+
* The value may be {@code null}.
89+
*/
90+
@com.google.api.client.util.Key
91+
private GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails migrationDetails;
92+
8593
/**
8694
* Identifier. Resource name of the subscription. It will have the format of
8795
* "partners/{partner_id}/subscriptions/{subscription_id}". This is available for authorizeAddon,
@@ -309,6 +317,25 @@ public GoogleCloudPaymentsResellerSubscriptionV1Subscription setLineItems(java.u
309317
return this;
310318
}
311319

320+
/**
321+
* Output only. Describes the details of the migrated subscription. Only populated if this
322+
* subscription is migrated from another system.
323+
* @return value or {@code null} for none
324+
*/
325+
public GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails getMigrationDetails() {
326+
return migrationDetails;
327+
}
328+
329+
/**
330+
* Output only. Describes the details of the migrated subscription. Only populated if this
331+
* subscription is migrated from another system.
332+
* @param migrationDetails migrationDetails or {@code null} for none
333+
*/
334+
public GoogleCloudPaymentsResellerSubscriptionV1Subscription setMigrationDetails(GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails migrationDetails) {
335+
this.migrationDetails = migrationDetails;
336+
return this;
337+
}
338+
312339
/**
313340
* Identifier. Resource name of the subscription. It will have the format of
314341
* "partners/{partner_id}/subscriptions/{subscription_id}". This is available for authorizeAddon,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.paymentsresellersubscription.v1.model;
18+
19+
/**
20+
* Describes the details of the migrated subscription.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Payments Reseller Subscription API. For a detailed
24+
* explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The migrated subscription id in the legacy system.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String migratedSubscriptionId;
39+
40+
/**
41+
* Output only. The migrated subscription id in the legacy system.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getMigratedSubscriptionId() {
45+
return migratedSubscriptionId;
46+
}
47+
48+
/**
49+
* Output only. The migrated subscription id in the legacy system.
50+
* @param migratedSubscriptionId migratedSubscriptionId or {@code null} for none
51+
*/
52+
public GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails setMigratedSubscriptionId(java.lang.String migratedSubscriptionId) {
53+
this.migratedSubscriptionId = migratedSubscriptionId;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails set(String fieldName, Object value) {
59+
return (GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails clone() {
64+
return (GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails) super.clone();
65+
}
66+
67+
}

clients/google-api-services-paymentsresellersubscription/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-paymentsresellersubscription</artifactId>
11-
<version>v1-rev20241110-2.0.0</version>
12-
<name>Payments Reseller Subscription API v1-rev20241110-2.0.0</name>
11+
<version>v1-rev20241211-2.0.0</version>
12+
<name>Payments Reseller Subscription API v1-rev20241211-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-paymentsresellersubscription/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-paymentsresellersubscription</artifactId>
25-
<version>v1-rev20241110-2.0.0</version>
25+
<version>v1-rev20241211-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20241110-2.0.0'
38+
implementation 'com.google.apis:google-api-services-paymentsresellersubscription:v1-rev20241211-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)