// 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.v201611; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * An error that occurs for an internal DFP process that happens in the background. For example, * {@link Proposal} workflows can have background tasks that may have offline errors. * * * <p>Java class for OfflineError complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="OfflineError"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="fieldPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="trigger" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="errorTime" type="{https://www.google.com/apis/ads/publisher/v201611}DateTime" minOccurs="0"/> * <element name="reason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OfflineError", propOrder = { "fieldPath", "trigger", "errorTime", "reason" }) public class OfflineError { protected String fieldPath; protected String trigger; protected DateTime errorTime; protected String reason; /** * Gets the value of the fieldPath property. * * @return * possible object is * {@link String } * */ public String getFieldPath() { return fieldPath; } /** * Sets the value of the fieldPath property. * * @param value * allowed object is * {@link String } * */ public void setFieldPath(String value) { this.fieldPath = value; } /** * Gets the value of the trigger property. * * @return * possible object is * {@link String } * */ public String getTrigger() { return trigger; } /** * Sets the value of the trigger property. * * @param value * allowed object is * {@link String } * */ public void setTrigger(String value) { this.trigger = value; } /** * Gets the value of the errorTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getErrorTime() { return errorTime; } /** * Sets the value of the errorTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setErrorTime(DateTime value) { this.errorTime = value; } /** * Gets the value of the reason property. * * @return * possible object is * {@link String } * */ public String getReason() { return reason; } /** * Sets the value of the reason property. * * @param value * allowed object is * {@link String } * */ public void setReason(String value) { this.reason = value; } }