// 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.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * * Returns the URL at which the report file can be downloaded, and allows for customization * of the downloaded report. * <p> * By default, the report will be generated as a gzip archive, containing the report file itself. * This can be changed by setting {@link ReportDownloadOptions#useGzipCompression} to false. * * @param reportJobId the ID of the {@link ReportJob} * @param reportDownloadOptions the {@link ReportDownloadOptions} for the request * @return the URL for report file download * * * <p>Java class for getReportDownloadUrlWithOptions element declaration. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <element name="getReportDownloadUrlWithOptions"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="reportJobId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="reportDownloadOptions" type="{https://www.google.com/apis/ads/publisher/v201702}ReportDownloadOptions" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "reportJobId", "reportDownloadOptions" }) @XmlRootElement(name = "getReportDownloadUrlWithOptions") public class ReportServiceInterfacegetReportDownloadUrlWithOptions { protected Long reportJobId; protected ReportDownloadOptions reportDownloadOptions; /** * Gets the value of the reportJobId property. * * @return * possible object is * {@link Long } * */ public Long getReportJobId() { return reportJobId; } /** * Sets the value of the reportJobId property. * * @param value * allowed object is * {@link Long } * */ public void setReportJobId(Long value) { this.reportJobId = value; } /** * Gets the value of the reportDownloadOptions property. * * @return * possible object is * {@link ReportDownloadOptions } * */ public ReportDownloadOptions getReportDownloadOptions() { return reportDownloadOptions; } /** * Sets the value of the reportDownloadOptions property. * * @param value * allowed object is * {@link ReportDownloadOptions } * */ public void setReportDownloadOptions(ReportDownloadOptions value) { this.reportDownloadOptions = value; } }