
com.google.api.services.drivelabels.v2.model.GoogleAppsDriveLabelsV2LabelDisplayHints 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;
/**
* UI display hints for rendering the label.
*
* 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 GoogleAppsDriveLabelsV2LabelDisplayHints extends com.google.api.client.json.GenericJson {
/**
* Whether the label should be shown in the UI as disabled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean disabled;
/**
* This label should be hidden in the search menu when searching for Drive items.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean hiddenInSearch;
/**
* Order to display label in a list.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.lang.Long priority;
/**
* This label should be shown in the apply menu when applying values to a Drive item.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean shownInApply;
/**
* Whether the label should be shown in the UI as disabled.
* @return value or {@code null} for none
*/
public java.lang.Boolean getDisabled() {
return disabled;
}
/**
* Whether the label should be shown in the UI as disabled.
* @param disabled disabled or {@code null} for none
*/
public GoogleAppsDriveLabelsV2LabelDisplayHints setDisabled(java.lang.Boolean disabled) {
this.disabled = disabled;
return this;
}
/**
* This label should be hidden in the search menu when searching for Drive items.
* @return value or {@code null} for none
*/
public java.lang.Boolean getHiddenInSearch() {
return hiddenInSearch;
}
/**
* This label should be hidden in the search menu when searching for Drive items.
* @param hiddenInSearch hiddenInSearch or {@code null} for none
*/
public GoogleAppsDriveLabelsV2LabelDisplayHints setHiddenInSearch(java.lang.Boolean hiddenInSearch) {
this.hiddenInSearch = hiddenInSearch;
return this;
}
/**
* Order to display label in a list.
* @return value or {@code null} for none
*/
public java.lang.Long getPriority() {
return priority;
}
/**
* Order to display label in a list.
* @param priority priority or {@code null} for none
*/
public GoogleAppsDriveLabelsV2LabelDisplayHints setPriority(java.lang.Long priority) {
this.priority = priority;
return this;
}
/**
* This label should be shown in the apply menu when applying values to a Drive item.
* @return value or {@code null} for none
*/
public java.lang.Boolean getShownInApply() {
return shownInApply;
}
/**
* This label should be shown in the apply menu when applying values to a Drive item.
* @param shownInApply shownInApply or {@code null} for none
*/
public GoogleAppsDriveLabelsV2LabelDisplayHints setShownInApply(java.lang.Boolean shownInApply) {
this.shownInApply = shownInApply;
return this;
}
@Override
public GoogleAppsDriveLabelsV2LabelDisplayHints set(String fieldName, Object value) {
return (GoogleAppsDriveLabelsV2LabelDisplayHints) super.set(fieldName, value);
}
@Override
public GoogleAppsDriveLabelsV2LabelDisplayHints clone() {
return (GoogleAppsDriveLabelsV2LabelDisplayHints) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy