// 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.adwords.jaxws.v201609.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * An error that has occurred while asynchronously processing the promotion of a draft. * * * <p>Java class for DraftAsyncError complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="DraftAsyncError"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="baseCampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="draftId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="draftCampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="asyncError" type="{https://adwords.google.com/api/adwords/cm/v201609}ApiError" minOccurs="0"/> * <element name="baseAdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="draftAdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DraftAsyncError", propOrder = { "baseCampaignId", "draftId", "draftCampaignId", "asyncError", "baseAdGroupId", "draftAdGroupId" }) public class DraftAsyncError { protected Long baseCampaignId; protected Long draftId; protected Long draftCampaignId; protected ApiError asyncError; protected Long baseAdGroupId; protected Long draftAdGroupId; /** * Gets the value of the baseCampaignId property. * * @return * possible object is * {@link Long } * */ public Long getBaseCampaignId() { return baseCampaignId; } /** * Sets the value of the baseCampaignId property. * * @param value * allowed object is * {@link Long } * */ public void setBaseCampaignId(Long value) { this.baseCampaignId = value; } /** * Gets the value of the draftId property. * * @return * possible object is * {@link Long } * */ public Long getDraftId() { return draftId; } /** * Sets the value of the draftId property. * * @param value * allowed object is * {@link Long } * */ public void setDraftId(Long value) { this.draftId = value; } /** * Gets the value of the draftCampaignId property. * * @return * possible object is * {@link Long } * */ public Long getDraftCampaignId() { return draftCampaignId; } /** * Sets the value of the draftCampaignId property. * * @param value * allowed object is * {@link Long } * */ public void setDraftCampaignId(Long value) { this.draftCampaignId = value; } /** * Gets the value of the asyncError property. * * @return * possible object is * {@link ApiError } * */ public ApiError getAsyncError() { return asyncError; } /** * Sets the value of the asyncError property. * * @param value * allowed object is * {@link ApiError } * */ public void setAsyncError(ApiError value) { this.asyncError = value; } /** * Gets the value of the baseAdGroupId property. * * @return * possible object is * {@link Long } * */ public Long getBaseAdGroupId() { return baseAdGroupId; } /** * Sets the value of the baseAdGroupId property. * * @param value * allowed object is * {@link Long } * */ public void setBaseAdGroupId(Long value) { this.baseAdGroupId = value; } /** * Gets the value of the draftAdGroupId property. * * @return * possible object is * {@link Long } * */ public Long getDraftAdGroupId() { return draftAdGroupId; } /** * Sets the value of the draftAdGroupId property. * * @param value * allowed object is * {@link Long } * */ public void setDraftAdGroupId(Long value) { this.draftAdGroupId = value; } }