com.google.api.services.content.model.TransitTableTransitTimeRowTransitTimeValue 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.content.model;
/**
* Model definition for TransitTableTransitTimeRowTransitTimeValue.
*
* 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 Content API for Shopping. 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 TransitTableTransitTimeRowTransitTimeValue extends com.google.api.client.json.GenericJson {
/**
* Must be greater than or equal to `minTransitTimeInDays`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Long maxTransitTimeInDays;
/**
* Transit time range (min-max) in business days. 0 means same day delivery, 1 means next day
* delivery.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Long minTransitTimeInDays;
/**
* Must be greater than or equal to `minTransitTimeInDays`.
* @return value or {@code null} for none
*/
public java.lang.Long getMaxTransitTimeInDays() {
return maxTransitTimeInDays;
}
/**
* Must be greater than or equal to `minTransitTimeInDays`.
* @param maxTransitTimeInDays maxTransitTimeInDays or {@code null} for none
*/
public TransitTableTransitTimeRowTransitTimeValue setMaxTransitTimeInDays(java.lang.Long maxTransitTimeInDays) {
this.maxTransitTimeInDays = maxTransitTimeInDays;
return this;
}
/**
* Transit time range (min-max) in business days. 0 means same day delivery, 1 means next day
* delivery.
* @return value or {@code null} for none
*/
public java.lang.Long getMinTransitTimeInDays() {
return minTransitTimeInDays;
}
/**
* Transit time range (min-max) in business days. 0 means same day delivery, 1 means next day
* delivery.
* @param minTransitTimeInDays minTransitTimeInDays or {@code null} for none
*/
public TransitTableTransitTimeRowTransitTimeValue setMinTransitTimeInDays(java.lang.Long minTransitTimeInDays) {
this.minTransitTimeInDays = minTransitTimeInDays;
return this;
}
@Override
public TransitTableTransitTimeRowTransitTimeValue set(String fieldName, Object value) {
return (TransitTableTransitTimeRowTransitTimeValue) super.set(fieldName, value);
}
@Override
public TransitTableTransitTimeRowTransitTimeValue clone() {
return (TransitTableTransitTimeRowTransitTimeValue) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy