com.google.api.services.compute.model.GuestAttributes 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.compute.model;
/**
* A guest attributes entry.
*
* 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 Compute Engine 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 GuestAttributes extends com.google.api.client.json.GenericJson {
/**
* [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kind;
/**
* The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or
* a specified key ('\/\').
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String queryPath;
/**
* [Output Only] The value of the requested queried path.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GuestAttributesValue queryValue;
/**
* [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
* The key to search for.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String variableKey;
/**
* [Output Only] The value found for the requested key.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String variableValue;
/**
* [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
return kind;
}
/**
* [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
* @param kind kind or {@code null} for none
*/
public GuestAttributes setKind(java.lang.String kind) {
this.kind = kind;
return this;
}
/**
* The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or
* a specified key ('\/\').
* @return value or {@code null} for none
*/
public java.lang.String getQueryPath() {
return queryPath;
}
/**
* The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or
* a specified key ('\/\').
* @param queryPath queryPath or {@code null} for none
*/
public GuestAttributes setQueryPath(java.lang.String queryPath) {
this.queryPath = queryPath;
return this;
}
/**
* [Output Only] The value of the requested queried path.
* @return value or {@code null} for none
*/
public GuestAttributesValue getQueryValue() {
return queryValue;
}
/**
* [Output Only] The value of the requested queried path.
* @param queryValue queryValue or {@code null} for none
*/
public GuestAttributes setQueryValue(GuestAttributesValue queryValue) {
this.queryValue = queryValue;
return this;
}
/**
* [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
return selfLink;
}
/**
* [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public GuestAttributes setSelfLink(java.lang.String selfLink) {
this.selfLink = selfLink;
return this;
}
/**
* The key to search for.
* @return value or {@code null} for none
*/
public java.lang.String getVariableKey() {
return variableKey;
}
/**
* The key to search for.
* @param variableKey variableKey or {@code null} for none
*/
public GuestAttributes setVariableKey(java.lang.String variableKey) {
this.variableKey = variableKey;
return this;
}
/**
* [Output Only] The value found for the requested key.
* @return value or {@code null} for none
*/
public java.lang.String getVariableValue() {
return variableValue;
}
/**
* [Output Only] The value found for the requested key.
* @param variableValue variableValue or {@code null} for none
*/
public GuestAttributes setVariableValue(java.lang.String variableValue) {
this.variableValue = variableValue;
return this;
}
@Override
public GuestAttributes set(String fieldName, Object value) {
return (GuestAttributes) super.set(fieldName, value);
}
@Override
public GuestAttributes clone() {
return (GuestAttributes) super.clone();
}
}