All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.cloudasset.v1.model.SoftwarePackage 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.cloudasset.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 Cloud Asset 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 SoftwarePackage 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 VersionedPackage aptPackage; /** * Details of a COS package. * The value may be {@code null}. */ @com.google.api.client.util.Key private VersionedPackage 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 VersionedPackage 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 WindowsQuickFixEngineeringPackage qfePackage; /** * Details of Windows Application. * The value may be {@code null}. */ @com.google.api.client.util.Key private WindowsApplication 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 WindowsUpdatePackage 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 VersionedPackage 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 VersionedPackage 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 ZypperPatch 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 VersionedPackage 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 SoftwarePackage setAptPackage(VersionedPackage aptPackage) { this.aptPackage = aptPackage; return this; } /** * Details of a COS package. * @return value or {@code null} for none */ public VersionedPackage getCosPackage() { return cosPackage; } /** * Details of a COS package. * @param cosPackage cosPackage or {@code null} for none */ public SoftwarePackage setCosPackage(VersionedPackage 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 VersionedPackage 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 SoftwarePackage setGoogetPackage(VersionedPackage 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 WindowsQuickFixEngineeringPackage 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 SoftwarePackage setQfePackage(WindowsQuickFixEngineeringPackage qfePackage) { this.qfePackage = qfePackage; return this; } /** * Details of Windows Application. * @return value or {@code null} for none */ public WindowsApplication getWindowsApplication() { return windowsApplication; } /** * Details of Windows Application. * @param windowsApplication windowsApplication or {@code null} for none */ public SoftwarePackage setWindowsApplication(WindowsApplication 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 WindowsUpdatePackage 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 SoftwarePackage setWuaPackage(WindowsUpdatePackage 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 VersionedPackage 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 SoftwarePackage setYumPackage(VersionedPackage 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 VersionedPackage 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 SoftwarePackage setZypperPackage(VersionedPackage 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 ZypperPatch 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 SoftwarePackage setZypperPatch(ZypperPatch zypperPatch) { this.zypperPatch = zypperPatch; return this; } @Override public SoftwarePackage set(String fieldName, Object value) { return (SoftwarePackage) super.set(fieldName, value); } @Override public SoftwarePackage clone() { return (SoftwarePackage) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy