// Copyright 2016 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.v201608; 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 Package} represents a group of proposal line items which will be sold together. * * * <p>Java class for Package complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Package"> * <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="proposalId" 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="rateCardId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="status" type="{https://www.google.com/apis/ads/publisher/v201608}PackageStatus" minOccurs="0"/> * <element name="startDateTime" type="{https://www.google.com/apis/ads/publisher/v201608}DateTime" minOccurs="0"/> * <element name="endDateTime" type="{https://www.google.com/apis/ads/publisher/v201608}DateTime" minOccurs="0"/> * <element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201608}DateTime" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Package", propOrder = { "id", "proposalId", "productPackageId", "rateCardId", "name", "comments", "status", "startDateTime", "endDateTime", "lastModifiedDateTime" }) public class Package { protected Long id; protected Long proposalId; protected Long productPackageId; protected Long rateCardId; protected String name; protected String comments; @XmlSchemaType(name = "string") protected PackageStatus status; protected DateTime startDateTime; protected DateTime endDateTime; protected DateTime lastModifiedDateTime; /** * 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 proposalId property. * * @return * possible object is * {@link Long } * */ public Long getProposalId() { return proposalId; } /** * Sets the value of the proposalId property. * * @param value * allowed object is * {@link Long } * */ public void setProposalId(Long value) { this.proposalId = 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 rateCardId property. * * @return * possible object is * {@link Long } * */ public Long getRateCardId() { return rateCardId; } /** * Sets the value of the rateCardId property. * * @param value * allowed object is * {@link Long } * */ public void setRateCardId(Long value) { this.rateCardId = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the comments property. * * @return * possible object is * {@link String } * */ public String getComments() { return comments; } /** * Sets the value of the comments property. * * @param value * allowed object is * {@link String } * */ public void setComments(String value) { this.comments = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link PackageStatus } * */ public PackageStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link PackageStatus } * */ public void setStatus(PackageStatus value) { this.status = value; } /** * Gets the value of the startDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getStartDateTime() { return startDateTime; } /** * Sets the value of the startDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setStartDateTime(DateTime value) { this.startDateTime = value; } /** * Gets the value of the endDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getEndDateTime() { return endDateTime; } /** * Sets the value of the endDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setEndDateTime(DateTime value) { this.endDateTime = value; } /** * Gets the value of the lastModifiedDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getLastModifiedDateTime() { return lastModifiedDateTime; } /** * Sets the value of the lastModifiedDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setLastModifiedDateTime(DateTime value) { this.lastModifiedDateTime = value; } }