
com.google.api.services.drivelabels.v2.model.GoogleAppsDriveLabelsV2FieldDateOptions 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.drivelabels.v2.model;
/**
* Options for the date field type.
*
* 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 Drive Labels 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 GoogleAppsDriveLabelsV2FieldDateOptions extends com.google.api.client.json.GenericJson {
/**
* Output only. ICU date format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String dateFormat;
/**
* Localized date formatting option. Field values are rendered in this format according to their
* locale.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String dateFormatType;
/**
* Output only. Maximum valid value (year, month, day).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleTypeDate maxValue;
/**
* Output only. Minimum valid value (year, month, day).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleTypeDate minValue;
/**
* Output only. ICU date format.
* @return value or {@code null} for none
*/
public java.lang.String getDateFormat() {
return dateFormat;
}
/**
* Output only. ICU date format.
* @param dateFormat dateFormat or {@code null} for none
*/
public GoogleAppsDriveLabelsV2FieldDateOptions setDateFormat(java.lang.String dateFormat) {
this.dateFormat = dateFormat;
return this;
}
/**
* Localized date formatting option. Field values are rendered in this format according to their
* locale.
* @return value or {@code null} for none
*/
public java.lang.String getDateFormatType() {
return dateFormatType;
}
/**
* Localized date formatting option. Field values are rendered in this format according to their
* locale.
* @param dateFormatType dateFormatType or {@code null} for none
*/
public GoogleAppsDriveLabelsV2FieldDateOptions setDateFormatType(java.lang.String dateFormatType) {
this.dateFormatType = dateFormatType;
return this;
}
/**
* Output only. Maximum valid value (year, month, day).
* @return value or {@code null} for none
*/
public GoogleTypeDate getMaxValue() {
return maxValue;
}
/**
* Output only. Maximum valid value (year, month, day).
* @param maxValue maxValue or {@code null} for none
*/
public GoogleAppsDriveLabelsV2FieldDateOptions setMaxValue(GoogleTypeDate maxValue) {
this.maxValue = maxValue;
return this;
}
/**
* Output only. Minimum valid value (year, month, day).
* @return value or {@code null} for none
*/
public GoogleTypeDate getMinValue() {
return minValue;
}
/**
* Output only. Minimum valid value (year, month, day).
* @param minValue minValue or {@code null} for none
*/
public GoogleAppsDriveLabelsV2FieldDateOptions setMinValue(GoogleTypeDate minValue) {
this.minValue = minValue;
return this;
}
@Override
public GoogleAppsDriveLabelsV2FieldDateOptions set(String fieldName, Object value) {
return (GoogleAppsDriveLabelsV2FieldDateOptions) super.set(fieldName, value);
}
@Override
public GoogleAppsDriveLabelsV2FieldDateOptions clone() {
return (GoogleAppsDriveLabelsV2FieldDateOptions) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy