com.google.api.services.cloudchannel.v1.model.GoogleCloudChannelV1RenewalSettings Maven / Gradle / Ivy
/*
* 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.cloudchannel.v1.model;
/**
* Renewal settings for renewable Offers.
*
* 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 Cloud Channel 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 GoogleCloudChannelV1RenewalSettings extends com.google.api.client.json.GenericJson {
/**
* If false, the plan will be completed at the end date.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean enableRenewal;
/**
* Describes how frequently the reseller will be billed, such as once per month.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudChannelV1Period paymentCycle;
/**
* Describes how a reseller will be billed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String paymentPlan;
/**
* If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the
* number of active units at renewal time.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean resizeUnitCount;
/**
* If false, the plan will be completed at the end date.
* @return value or {@code null} for none
*/
public java.lang.Boolean getEnableRenewal() {
return enableRenewal;
}
/**
* If false, the plan will be completed at the end date.
* @param enableRenewal enableRenewal or {@code null} for none
*/
public GoogleCloudChannelV1RenewalSettings setEnableRenewal(java.lang.Boolean enableRenewal) {
this.enableRenewal = enableRenewal;
return this;
}
/**
* Describes how frequently the reseller will be billed, such as once per month.
* @return value or {@code null} for none
*/
public GoogleCloudChannelV1Period getPaymentCycle() {
return paymentCycle;
}
/**
* Describes how frequently the reseller will be billed, such as once per month.
* @param paymentCycle paymentCycle or {@code null} for none
*/
public GoogleCloudChannelV1RenewalSettings setPaymentCycle(GoogleCloudChannelV1Period paymentCycle) {
this.paymentCycle = paymentCycle;
return this;
}
/**
* Describes how a reseller will be billed.
* @return value or {@code null} for none
*/
public java.lang.String getPaymentPlan() {
return paymentPlan;
}
/**
* Describes how a reseller will be billed.
* @param paymentPlan paymentPlan or {@code null} for none
*/
public GoogleCloudChannelV1RenewalSettings setPaymentPlan(java.lang.String paymentPlan) {
this.paymentPlan = paymentPlan;
return this;
}
/**
* If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the
* number of active units at renewal time.
* @return value or {@code null} for none
*/
public java.lang.Boolean getResizeUnitCount() {
return resizeUnitCount;
}
/**
* If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the
* number of active units at renewal time.
* @param resizeUnitCount resizeUnitCount or {@code null} for none
*/
public GoogleCloudChannelV1RenewalSettings setResizeUnitCount(java.lang.Boolean resizeUnitCount) {
this.resizeUnitCount = resizeUnitCount;
return this;
}
@Override
public GoogleCloudChannelV1RenewalSettings set(String fieldName, Object value) {
return (GoogleCloudChannelV1RenewalSettings) super.set(fieldName, value);
}
@Override
public GoogleCloudChannelV1RenewalSettings clone() {
return (GoogleCloudChannelV1RenewalSettings) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy