// Copyright 2017 Google Inc. All Rights Reserved. // // 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. package com.google.api.ads.dfp.jaxws.v201702; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * * A {@code ProductPackageItem} represents a product item in a package. * * * <p>Java class for ProductPackageItem complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ProductPackageItem"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="productId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="productPackageId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="isMandatory" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="archiveStatus" type="{https://www.google.com/apis/ads/publisher/v201702}ArchiveStatus" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ProductPackageItem", propOrder = { "id", "productId", "productPackageId", "isMandatory", "archiveStatus" }) public class ProductPackageItem { protected Long id; protected Long productId; protected Long productPackageId; protected Boolean isMandatory; @XmlSchemaType(name = "string") protected ArchiveStatus archiveStatus; /** * Gets the value of the id property. * * @return * possible object is * {@link Long } * */ public Long getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Long } * */ public void setId(Long value) { this.id = value; } /** * Gets the value of the productId property. * * @return * possible object is * {@link Long } * */ public Long getProductId() { return productId; } /** * Sets the value of the productId property. * * @param value * allowed object is * {@link Long } * */ public void setProductId(Long value) { this.productId = value; } /** * Gets the value of the productPackageId property. * * @return * possible object is * {@link Long } * */ public Long getProductPackageId() { return productPackageId; } /** * Sets the value of the productPackageId property. * * @param value * allowed object is * {@link Long } * */ public void setProductPackageId(Long value) { this.productPackageId = value; } /** * Gets the value of the isMandatory property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsMandatory() { return isMandatory; } /** * Sets the value of the isMandatory property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsMandatory(Boolean value) { this.isMandatory = value; } /** * Gets the value of the archiveStatus property. * * @return * possible object is * {@link ArchiveStatus } * */ public ArchiveStatus getArchiveStatus() { return archiveStatus; } /** * Sets the value of the archiveStatus property. * * @param value * allowed object is * {@link ArchiveStatus } * */ public void setArchiveStatus(ArchiveStatus value) { this.archiveStatus = value; } }