com.google.api.services.osconfig.v1.model.InventorySoftwarePackage 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;
/**
* Software package information of the operating system.
*
* 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 InventorySoftwarePackage extends com.google.api.client.json.GenericJson {
/**
* Details of an APT package. For details about the apt package manager, see
* https://wiki.debian.org/Apt.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryVersionedPackage aptPackage;
/**
* Details of a COS package.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryVersionedPackage cosPackage;
/**
* Details of a Googet package. For details about the googet package manager, see
* https://github.com/google/googet.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryVersionedPackage googetPackage;
/**
* Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-
* us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix
* Engineering.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryWindowsQuickFixEngineeringPackage qfePackage;
/**
* Details of Windows Application.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryWindowsApplication windowsApplication;
/**
* Details of a Windows Update package. See https://docs.microsoft.com/en-
* us/windows/win32/api/_wua/ for information about Windows Update.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryWindowsUpdatePackage wuaPackage;
/**
* Yum package info. For details about the yum package manager, see
* https://access.redhat.com/documentation/en-
* us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryVersionedPackage yumPackage;
/**
* Details of a Zypper package. For details about the Zypper package manager, see
* https://en.opensuse.org/SDB:Zypper_manual.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryVersionedPackage zypperPackage;
/**
* Details of a Zypper patch. For details about the Zypper package manager, see
* https://en.opensuse.org/SDB:Zypper_manual.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private InventoryZypperPatch zypperPatch;
/**
* Details of an APT package. For details about the apt package manager, see
* https://wiki.debian.org/Apt.
* @return value or {@code null} for none
*/
public InventoryVersionedPackage getAptPackage() {
return aptPackage;
}
/**
* Details of an APT package. For details about the apt package manager, see
* https://wiki.debian.org/Apt.
* @param aptPackage aptPackage or {@code null} for none
*/
public InventorySoftwarePackage setAptPackage(InventoryVersionedPackage aptPackage) {
this.aptPackage = aptPackage;
return this;
}
/**
* Details of a COS package.
* @return value or {@code null} for none
*/
public InventoryVersionedPackage getCosPackage() {
return cosPackage;
}
/**
* Details of a COS package.
* @param cosPackage cosPackage or {@code null} for none
*/
public InventorySoftwarePackage setCosPackage(InventoryVersionedPackage cosPackage) {
this.cosPackage = cosPackage;
return this;
}
/**
* Details of a Googet package. For details about the googet package manager, see
* https://github.com/google/googet.
* @return value or {@code null} for none
*/
public InventoryVersionedPackage getGoogetPackage() {
return googetPackage;
}
/**
* Details of a Googet package. For details about the googet package manager, see
* https://github.com/google/googet.
* @param googetPackage googetPackage or {@code null} for none
*/
public InventorySoftwarePackage setGoogetPackage(InventoryVersionedPackage googetPackage) {
this.googetPackage = googetPackage;
return this;
}
/**
* Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-
* us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix
* Engineering.
* @return value or {@code null} for none
*/
public InventoryWindowsQuickFixEngineeringPackage getQfePackage() {
return qfePackage;
}
/**
* Details of a Windows Quick Fix engineering package. See https://docs.microsoft.com/en-
* us/windows/win32/cimwin32prov/win32-quickfixengineering for info in Windows Quick Fix
* Engineering.
* @param qfePackage qfePackage or {@code null} for none
*/
public InventorySoftwarePackage setQfePackage(InventoryWindowsQuickFixEngineeringPackage qfePackage) {
this.qfePackage = qfePackage;
return this;
}
/**
* Details of Windows Application.
* @return value or {@code null} for none
*/
public InventoryWindowsApplication getWindowsApplication() {
return windowsApplication;
}
/**
* Details of Windows Application.
* @param windowsApplication windowsApplication or {@code null} for none
*/
public InventorySoftwarePackage setWindowsApplication(InventoryWindowsApplication windowsApplication) {
this.windowsApplication = windowsApplication;
return this;
}
/**
* Details of a Windows Update package. See https://docs.microsoft.com/en-
* us/windows/win32/api/_wua/ for information about Windows Update.
* @return value or {@code null} for none
*/
public InventoryWindowsUpdatePackage getWuaPackage() {
return wuaPackage;
}
/**
* Details of a Windows Update package. See https://docs.microsoft.com/en-
* us/windows/win32/api/_wua/ for information about Windows Update.
* @param wuaPackage wuaPackage or {@code null} for none
*/
public InventorySoftwarePackage setWuaPackage(InventoryWindowsUpdatePackage wuaPackage) {
this.wuaPackage = wuaPackage;
return this;
}
/**
* Yum package info. For details about the yum package manager, see
* https://access.redhat.com/documentation/en-
* us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.
* @return value or {@code null} for none
*/
public InventoryVersionedPackage getYumPackage() {
return yumPackage;
}
/**
* Yum package info. For details about the yum package manager, see
* https://access.redhat.com/documentation/en-
* us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.
* @param yumPackage yumPackage or {@code null} for none
*/
public InventorySoftwarePackage setYumPackage(InventoryVersionedPackage yumPackage) {
this.yumPackage = yumPackage;
return this;
}
/**
* Details of a Zypper package. For details about the Zypper package manager, see
* https://en.opensuse.org/SDB:Zypper_manual.
* @return value or {@code null} for none
*/
public InventoryVersionedPackage getZypperPackage() {
return zypperPackage;
}
/**
* Details of a Zypper package. For details about the Zypper package manager, see
* https://en.opensuse.org/SDB:Zypper_manual.
* @param zypperPackage zypperPackage or {@code null} for none
*/
public InventorySoftwarePackage setZypperPackage(InventoryVersionedPackage zypperPackage) {
this.zypperPackage = zypperPackage;
return this;
}
/**
* Details of a Zypper patch. For details about the Zypper package manager, see
* https://en.opensuse.org/SDB:Zypper_manual.
* @return value or {@code null} for none
*/
public InventoryZypperPatch getZypperPatch() {
return zypperPatch;
}
/**
* Details of a Zypper patch. For details about the Zypper package manager, see
* https://en.opensuse.org/SDB:Zypper_manual.
* @param zypperPatch zypperPatch or {@code null} for none
*/
public InventorySoftwarePackage setZypperPatch(InventoryZypperPatch zypperPatch) {
this.zypperPatch = zypperPatch;
return this;
}
@Override
public InventorySoftwarePackage set(String fieldName, Object value) {
return (InventorySoftwarePackage) super.set(fieldName, value);
}
@Override
public InventorySoftwarePackage clone() {
return (InventorySoftwarePackage) super.clone();
}
}