// 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.express;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import com.google.api.ads.adwords.jaxws.v201609.cm.ApiException;
import com.google.api.ads.adwords.jaxws.v201609.cm.SoapHeader;
import com.google.api.ads.adwords.jaxws.v201609.cm.SoapResponseHeader;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.google.api.ads.adwords.jaxws.v201609.express package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _ApiExceptionFault_QNAME = new QName("https://adwords.google.com/api/adwords/express/v201609", "ApiExceptionFault");
private final static QName _ResponseHeader_QNAME = new QName("https://adwords.google.com/api/adwords/express/v201609", "ResponseHeader");
private final static QName _RequestHeader_QNAME = new QName("https://adwords.google.com/api/adwords/express/v201609", "RequestHeader");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.google.api.ads.adwords.jaxws.v201609.express
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link BudgetSuggestion }
*
*/
public BudgetSuggestion createBudgetSuggestion() {
return new BudgetSuggestion();
}
/**
* Create an instance of {@link BusinessHour }
*
*/
public BusinessHour createBusinessHour() {
return new BusinessHour();
}
/**
* Create an instance of {@link ExpressBusinessError }
*
*/
public ExpressBusinessError createExpressBusinessError() {
return new ExpressBusinessError();
}
/**
* Create an instance of {@link ExpressBusinessOperation }
*
*/
public ExpressBusinessOperation createExpressBusinessOperation() {
return new ExpressBusinessOperation();
}
/**
* Create an instance of {@link PromotionError }
*
*/
public PromotionError createPromotionError() {
return new PromotionError();
}
/**
* Create an instance of {@link Promotion }
*
*/
public Promotion createPromotion() {
return new Promotion();
}
/**
* Create an instance of {@link ExpressBusiness }
*
*/
public ExpressBusiness createExpressBusiness() {
return new ExpressBusiness();
}
/**
* Create an instance of {@link ExpressBusinessPage }
*
*/
public ExpressBusinessPage createExpressBusinessPage() {
return new ExpressBusinessPage();
}
/**
* Create an instance of {@link PromotionPage }
*
*/
public PromotionPage createPromotionPage() {
return new PromotionPage();
}
/**
* Create an instance of {@link ExpressSoapHeader }
*
*/
public ExpressSoapHeader createExpressSoapHeader() {
return new ExpressSoapHeader();
}
/**
* Create an instance of {@link Creative }
*
*/
public Creative createCreative() {
return new Creative();
}
/**
* Create an instance of {@link ProductService }
*
*/
public ProductService createProductService() {
return new ProductService();
}
/**
* Create an instance of {@link PromotionOperation }
*
*/
public PromotionOperation createPromotionOperation() {
return new PromotionOperation();
}
/**
* Create an instance of {@link PhoneNumber }
*
*/
public PhoneNumber createPhoneNumber() {
return new PhoneNumber();
}
/**
* Create an instance of {@link ExpandedCreative }
*
*/
public ExpandedCreative createExpandedCreative() {
return new ExpandedCreative();
}
/**
* Create an instance of {@link ProductServicePage }
*
*/
public ProductServicePage createProductServicePage() {
return new ProductServicePage();
}
/**
* Create an instance of {@link BudgetSuggestionSelector }
*
*/
public BudgetSuggestionSelector createBudgetSuggestionSelector() {
return new BudgetSuggestionSelector();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ApiException }{@code >}}
*
*/
@XmlElementDecl(namespace = "https://adwords.google.com/api/adwords/express/v201609", name = "ApiExceptionFault")
public JAXBElement<ApiException> createApiExceptionFault(ApiException value) {
return new JAXBElement<ApiException>(_ApiExceptionFault_QNAME, ApiException.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SoapResponseHeader }{@code >}}
*
*/
@XmlElementDecl(namespace = "https://adwords.google.com/api/adwords/express/v201609", name = "ResponseHeader")
public JAXBElement<SoapResponseHeader> createResponseHeader(SoapResponseHeader value) {
return new JAXBElement<SoapResponseHeader>(_ResponseHeader_QNAME, SoapResponseHeader.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SoapHeader }{@code >}}
*
*/
@XmlElementDecl(namespace = "https://adwords.google.com/api/adwords/express/v201609", name = "RequestHeader")
public JAXBElement<SoapHeader> createRequestHeader(SoapHeader value) {
return new JAXBElement<SoapHeader>(_RequestHeader_QNAME, SoapHeader.class, null, value);
}
}