-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: regenerate paymentsresellersubscription client (#18110)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
c5aa63e
commit b5f1fea
Showing
5 changed files
with
213 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91 changes: 91 additions & 0 deletions
91
...rsubscription/v1/model/GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
/* | ||
* 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.paymentsresellersubscription.v1.model; | ||
|
||
/** | ||
* Details for a bundle product. | ||
* | ||
* <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 Payments Reseller Subscription 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 GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* The individual products that are included in the bundle. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.util.List<GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement> bundleElements; | ||
|
||
/** | ||
* The entitlement mode of the bundle product. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String entitlementMode; | ||
|
||
/** | ||
* The individual products that are included in the bundle. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.util.List<GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement> getBundleElements() { | ||
return bundleElements; | ||
} | ||
|
||
/** | ||
* The individual products that are included in the bundle. | ||
* @param bundleElements bundleElements or {@code null} for none | ||
*/ | ||
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails setBundleElements(java.util.List<GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement> bundleElements) { | ||
this.bundleElements = bundleElements; | ||
return this; | ||
} | ||
|
||
/** | ||
* The entitlement mode of the bundle product. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getEntitlementMode() { | ||
return entitlementMode; | ||
} | ||
|
||
/** | ||
* The entitlement mode of the bundle product. | ||
* @param entitlementMode entitlementMode or {@code null} for none | ||
*/ | ||
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails setEntitlementMode(java.lang.String entitlementMode) { | ||
this.entitlementMode = entitlementMode; | ||
return this; | ||
} | ||
|
||
@Override | ||
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails set(String fieldName, Object value) { | ||
return (GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails clone() { | ||
return (GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails) super.clone(); | ||
} | ||
|
||
} |
70 changes: 70 additions & 0 deletions
70
.../v1/model/GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* | ||
* 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.paymentsresellersubscription.v1.model; | ||
|
||
/** | ||
* The individual product that is included in the bundle. | ||
* | ||
* <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 Payments Reseller Subscription 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 GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Required. Output only. Product resource name that identifies the bundle element. The format is | ||
* 'partners/{partner_id}/products/{product_id}'. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.String product; | ||
|
||
/** | ||
* Required. Output only. Product resource name that identifies the bundle element. The format is | ||
* 'partners/{partner_id}/products/{product_id}'. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.String getProduct() { | ||
return product; | ||
} | ||
|
||
/** | ||
* Required. Output only. Product resource name that identifies the bundle element. The format is | ||
* 'partners/{partner_id}/products/{product_id}'. | ||
* @param product product or {@code null} for none | ||
*/ | ||
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement setProduct(java.lang.String product) { | ||
this.product = product; | ||
return this; | ||
} | ||
|
||
@Override | ||
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement set(String fieldName, Object value) { | ||
return (GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement clone() { | ||
return (GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement) super.clone(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters