com.google.api.services.osconfig.v1.model.InventoryWindowsUpdatePackage Maven / Gradle / Ivy
The newest version!
/*
* 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.osconfig.v1.model;
/**
* Details related to a Windows Update package. Field data and names are taken from Windows Update
* API IUpdate Interface: https://docs.microsoft.com/en-us/windows/win32/api/_wua/ Descriptive
* fields like title, and description are localized based on the locale of the VM being updated.
*
* 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 OS Config 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 InventoryWindowsUpdatePackage extends com.google.api.client.json.GenericJson {
/**
* The categories that are associated with this update package.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List categories;
/**
* The localized description of the update package.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;
/**
* A collection of Microsoft Knowledge Base article IDs that are associated with the update
* package.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List kbArticleIds;
/**
* The last published date of the update, in (UTC) date and time.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String lastDeploymentChangeTime;
/**
* A collection of URLs that provide more information about the update package.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List moreInfoUrls;
/**
* The revision number of this update package.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer revisionNumber;
/**
* A hyperlink to the language-specific support information for the update.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String supportUrl;
/**
* The localized title of the update package.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String title;
/**
* Gets the identifier of an update package. Stays the same across revisions.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String updateId;
/**
* The categories that are associated with this update package.
* @return value or {@code null} for none
*/
public java.util.List getCategories() {
return categories;
}
/**
* The categories that are associated with this update package.
* @param categories categories or {@code null} for none
*/
public InventoryWindowsUpdatePackage setCategories(java.util.List categories) {
this.categories = categories;
return this;
}
/**
* The localized description of the update package.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}
/**
* The localized description of the update package.
* @param description description or {@code null} for none
*/
public InventoryWindowsUpdatePackage setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* A collection of Microsoft Knowledge Base article IDs that are associated with the update
* package.
* @return value or {@code null} for none
*/
public java.util.List getKbArticleIds() {
return kbArticleIds;
}
/**
* A collection of Microsoft Knowledge Base article IDs that are associated with the update
* package.
* @param kbArticleIds kbArticleIds or {@code null} for none
*/
public InventoryWindowsUpdatePackage setKbArticleIds(java.util.List kbArticleIds) {
this.kbArticleIds = kbArticleIds;
return this;
}
/**
* The last published date of the update, in (UTC) date and time.
* @return value or {@code null} for none
*/
public String getLastDeploymentChangeTime() {
return lastDeploymentChangeTime;
}
/**
* The last published date of the update, in (UTC) date and time.
* @param lastDeploymentChangeTime lastDeploymentChangeTime or {@code null} for none
*/
public InventoryWindowsUpdatePackage setLastDeploymentChangeTime(String lastDeploymentChangeTime) {
this.lastDeploymentChangeTime = lastDeploymentChangeTime;
return this;
}
/**
* A collection of URLs that provide more information about the update package.
* @return value or {@code null} for none
*/
public java.util.List getMoreInfoUrls() {
return moreInfoUrls;
}
/**
* A collection of URLs that provide more information about the update package.
* @param moreInfoUrls moreInfoUrls or {@code null} for none
*/
public InventoryWindowsUpdatePackage setMoreInfoUrls(java.util.List moreInfoUrls) {
this.moreInfoUrls = moreInfoUrls;
return this;
}
/**
* The revision number of this update package.
* @return value or {@code null} for none
*/
public java.lang.Integer getRevisionNumber() {
return revisionNumber;
}
/**
* The revision number of this update package.
* @param revisionNumber revisionNumber or {@code null} for none
*/
public InventoryWindowsUpdatePackage setRevisionNumber(java.lang.Integer revisionNumber) {
this.revisionNumber = revisionNumber;
return this;
}
/**
* A hyperlink to the language-specific support information for the update.
* @return value or {@code null} for none
*/
public java.lang.String getSupportUrl() {
return supportUrl;
}
/**
* A hyperlink to the language-specific support information for the update.
* @param supportUrl supportUrl or {@code null} for none
*/
public InventoryWindowsUpdatePackage setSupportUrl(java.lang.String supportUrl) {
this.supportUrl = supportUrl;
return this;
}
/**
* The localized title of the update package.
* @return value or {@code null} for none
*/
public java.lang.String getTitle() {
return title;
}
/**
* The localized title of the update package.
* @param title title or {@code null} for none
*/
public InventoryWindowsUpdatePackage setTitle(java.lang.String title) {
this.title = title;
return this;
}
/**
* Gets the identifier of an update package. Stays the same across revisions.
* @return value or {@code null} for none
*/
public java.lang.String getUpdateId() {
return updateId;
}
/**
* Gets the identifier of an update package. Stays the same across revisions.
* @param updateId updateId or {@code null} for none
*/
public InventoryWindowsUpdatePackage setUpdateId(java.lang.String updateId) {
this.updateId = updateId;
return this;
}
@Override
public InventoryWindowsUpdatePackage set(String fieldName, Object value) {
return (InventoryWindowsUpdatePackage) super.set(fieldName, value);
}
@Override
public InventoryWindowsUpdatePackage clone() {
return (InventoryWindowsUpdatePackage) super.clone();
}
}