com.google.api.services.licensing.model.LicenseAssignment Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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/google/apis-client-generator/
* (build: 2018-10-08 17:45:39 UTC)
* on 2019-03-21 at 03:36:06 UTC
* Modify at your own risk.
*/
package com.google.api.services.licensing.model;
/**
* Template for LiscenseAssignment Resource
*
* 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 Enterprise License Manager 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 LicenseAssignment extends com.google.api.client.json.GenericJson {
/**
* ETag of the resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String etags;
/**
* Identifies the resource as a LicenseAssignment.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kind;
/**
* Id of the product.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String productId;
/**
* Display Name of the product.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String productName;
/**
* Link to this page.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
* Id of the sku of the product.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String skuId;
/**
* Display Name of the sku of the product.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String skuName;
/**
* Email id of the user.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String userId;
/**
* ETag of the resource.
* @return value or {@code null} for none
*/
public java.lang.String getEtags() {
return etags;
}
/**
* ETag of the resource.
* @param etags etags or {@code null} for none
*/
public LicenseAssignment setEtags(java.lang.String etags) {
this.etags = etags;
return this;
}
/**
* Identifies the resource as a LicenseAssignment.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
return kind;
}
/**
* Identifies the resource as a LicenseAssignment.
* @param kind kind or {@code null} for none
*/
public LicenseAssignment setKind(java.lang.String kind) {
this.kind = kind;
return this;
}
/**
* Id of the product.
* @return value or {@code null} for none
*/
public java.lang.String getProductId() {
return productId;
}
/**
* Id of the product.
* @param productId productId or {@code null} for none
*/
public LicenseAssignment setProductId(java.lang.String productId) {
this.productId = productId;
return this;
}
/**
* Display Name of the product.
* @return value or {@code null} for none
*/
public java.lang.String getProductName() {
return productName;
}
/**
* Display Name of the product.
* @param productName productName or {@code null} for none
*/
public LicenseAssignment setProductName(java.lang.String productName) {
this.productName = productName;
return this;
}
/**
* Link to this page.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
return selfLink;
}
/**
* Link to this page.
* @param selfLink selfLink or {@code null} for none
*/
public LicenseAssignment setSelfLink(java.lang.String selfLink) {
this.selfLink = selfLink;
return this;
}
/**
* Id of the sku of the product.
* @return value or {@code null} for none
*/
public java.lang.String getSkuId() {
return skuId;
}
/**
* Id of the sku of the product.
* @param skuId skuId or {@code null} for none
*/
public LicenseAssignment setSkuId(java.lang.String skuId) {
this.skuId = skuId;
return this;
}
/**
* Display Name of the sku of the product.
* @return value or {@code null} for none
*/
public java.lang.String getSkuName() {
return skuName;
}
/**
* Display Name of the sku of the product.
* @param skuName skuName or {@code null} for none
*/
public LicenseAssignment setSkuName(java.lang.String skuName) {
this.skuName = skuName;
return this;
}
/**
* Email id of the user.
* @return value or {@code null} for none
*/
public java.lang.String getUserId() {
return userId;
}
/**
* Email id of the user.
* @param userId userId or {@code null} for none
*/
public LicenseAssignment setUserId(java.lang.String userId) {
this.userId = userId;
return this;
}
@Override
public LicenseAssignment set(String fieldName, Object value) {
return (LicenseAssignment) super.set(fieldName, value);
}
@Override
public LicenseAssignment clone() {
return (LicenseAssignment) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy