All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.dfp.axis.v201511.ProposalLineItemConstraints Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version
/**
 * ProposalLineItemConstraints.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
 */

package com.google.api.ads.dfp.axis.v201511;


/**
 * A {@code PropoalLineItemConstraints} represents all the constraints
 * set for a
 *             {@link ProposalLineItem} and is always readonly. It comes
 * from the {@link Product},
 *             based on which the proposal line item is created.
 */
public class ProposalLineItemConstraints  implements java.io.Serializable {
    /* Allows customization of {@link CreativePlaceholder creative
     * placeholders} when creating
     *                 {@link ProposalLineItem proposal line items}.
     *                 
     *                 

This attribute is read-only. */ private java.lang.Boolean allowCreativePlaceholdersCustomization; /* The built-in {@link CreativePlaceholder creative placeholders} * for the created * {@link ProposalLineItem}. * *

This attribute is read-only. */ private com.google.api.ads.dfp.axis.v201511.CreativePlaceholder[] builtInCreativePlaceholders; /* The built-in roadblocking type for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ private com.google.api.ads.dfp.axis.v201511.RoadblockingType builtInRoadblockingType; /* The built-in delivery rate type for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ private com.google.api.ads.dfp.axis.v201511.DeliveryRateType builtInDeliveryRateType; /* The built-in creative rotation type for the created {@link * ProposalLineItem}. * *

This attribute is read-only. */ private com.google.api.ads.dfp.axis.v201511.CreativeRotationType builtInCreativeRotationType; /* The built-in companion delivery option for the created {@link * ProposalLineItem}. * *

This attribute is read-only. */ private com.google.api.ads.dfp.axis.v201511.CompanionDeliveryOption builtInCompanionDeliveryOption; /* The built-in frequency caps for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ private com.google.api.ads.dfp.axis.v201511.FrequencyCap[] builtInFrequencyCaps; /* Built-in targeting for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ private com.google.api.ads.dfp.axis.v201511.Targeting productBuiltInTargeting; /* Specifies what targeting or attributes for the created {@link * ProposalLineItem} * are customizable. * *

This attribute is read-only. */ private com.google.api.ads.dfp.axis.v201511.CustomizableAttributes customizableAttributes; public ProposalLineItemConstraints() { } public ProposalLineItemConstraints( java.lang.Boolean allowCreativePlaceholdersCustomization, com.google.api.ads.dfp.axis.v201511.CreativePlaceholder[] builtInCreativePlaceholders, com.google.api.ads.dfp.axis.v201511.RoadblockingType builtInRoadblockingType, com.google.api.ads.dfp.axis.v201511.DeliveryRateType builtInDeliveryRateType, com.google.api.ads.dfp.axis.v201511.CreativeRotationType builtInCreativeRotationType, com.google.api.ads.dfp.axis.v201511.CompanionDeliveryOption builtInCompanionDeliveryOption, com.google.api.ads.dfp.axis.v201511.FrequencyCap[] builtInFrequencyCaps, com.google.api.ads.dfp.axis.v201511.Targeting productBuiltInTargeting, com.google.api.ads.dfp.axis.v201511.CustomizableAttributes customizableAttributes) { this.allowCreativePlaceholdersCustomization = allowCreativePlaceholdersCustomization; this.builtInCreativePlaceholders = builtInCreativePlaceholders; this.builtInRoadblockingType = builtInRoadblockingType; this.builtInDeliveryRateType = builtInDeliveryRateType; this.builtInCreativeRotationType = builtInCreativeRotationType; this.builtInCompanionDeliveryOption = builtInCompanionDeliveryOption; this.builtInFrequencyCaps = builtInFrequencyCaps; this.productBuiltInTargeting = productBuiltInTargeting; this.customizableAttributes = customizableAttributes; } /** * Gets the allowCreativePlaceholdersCustomization value for this ProposalLineItemConstraints. * * @return allowCreativePlaceholdersCustomization * Allows customization of {@link CreativePlaceholder creative * placeholders} when creating * {@link ProposalLineItem proposal line items}. * *

This attribute is read-only. */ public java.lang.Boolean getAllowCreativePlaceholdersCustomization() { return allowCreativePlaceholdersCustomization; } /** * Sets the allowCreativePlaceholdersCustomization value for this ProposalLineItemConstraints. * * @param allowCreativePlaceholdersCustomization * Allows customization of {@link CreativePlaceholder creative * placeholders} when creating * {@link ProposalLineItem proposal line items}. * *

This attribute is read-only. */ public void setAllowCreativePlaceholdersCustomization(java.lang.Boolean allowCreativePlaceholdersCustomization) { this.allowCreativePlaceholdersCustomization = allowCreativePlaceholdersCustomization; } /** * Gets the builtInCreativePlaceholders value for this ProposalLineItemConstraints. * * @return builtInCreativePlaceholders * The built-in {@link CreativePlaceholder creative placeholders} * for the created * {@link ProposalLineItem}. * *

This attribute is read-only. */ public com.google.api.ads.dfp.axis.v201511.CreativePlaceholder[] getBuiltInCreativePlaceholders() { return builtInCreativePlaceholders; } /** * Sets the builtInCreativePlaceholders value for this ProposalLineItemConstraints. * * @param builtInCreativePlaceholders * The built-in {@link CreativePlaceholder creative placeholders} * for the created * {@link ProposalLineItem}. * *

This attribute is read-only. */ public void setBuiltInCreativePlaceholders(com.google.api.ads.dfp.axis.v201511.CreativePlaceholder[] builtInCreativePlaceholders) { this.builtInCreativePlaceholders = builtInCreativePlaceholders; } public com.google.api.ads.dfp.axis.v201511.CreativePlaceholder getBuiltInCreativePlaceholders(int i) { return this.builtInCreativePlaceholders[i]; } public void setBuiltInCreativePlaceholders(int i, com.google.api.ads.dfp.axis.v201511.CreativePlaceholder _value) { this.builtInCreativePlaceholders[i] = _value; } /** * Gets the builtInRoadblockingType value for this ProposalLineItemConstraints. * * @return builtInRoadblockingType * The built-in roadblocking type for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ public com.google.api.ads.dfp.axis.v201511.RoadblockingType getBuiltInRoadblockingType() { return builtInRoadblockingType; } /** * Sets the builtInRoadblockingType value for this ProposalLineItemConstraints. * * @param builtInRoadblockingType * The built-in roadblocking type for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ public void setBuiltInRoadblockingType(com.google.api.ads.dfp.axis.v201511.RoadblockingType builtInRoadblockingType) { this.builtInRoadblockingType = builtInRoadblockingType; } /** * Gets the builtInDeliveryRateType value for this ProposalLineItemConstraints. * * @return builtInDeliveryRateType * The built-in delivery rate type for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ public com.google.api.ads.dfp.axis.v201511.DeliveryRateType getBuiltInDeliveryRateType() { return builtInDeliveryRateType; } /** * Sets the builtInDeliveryRateType value for this ProposalLineItemConstraints. * * @param builtInDeliveryRateType * The built-in delivery rate type for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ public void setBuiltInDeliveryRateType(com.google.api.ads.dfp.axis.v201511.DeliveryRateType builtInDeliveryRateType) { this.builtInDeliveryRateType = builtInDeliveryRateType; } /** * Gets the builtInCreativeRotationType value for this ProposalLineItemConstraints. * * @return builtInCreativeRotationType * The built-in creative rotation type for the created {@link * ProposalLineItem}. * *

This attribute is read-only. */ public com.google.api.ads.dfp.axis.v201511.CreativeRotationType getBuiltInCreativeRotationType() { return builtInCreativeRotationType; } /** * Sets the builtInCreativeRotationType value for this ProposalLineItemConstraints. * * @param builtInCreativeRotationType * The built-in creative rotation type for the created {@link * ProposalLineItem}. * *

This attribute is read-only. */ public void setBuiltInCreativeRotationType(com.google.api.ads.dfp.axis.v201511.CreativeRotationType builtInCreativeRotationType) { this.builtInCreativeRotationType = builtInCreativeRotationType; } /** * Gets the builtInCompanionDeliveryOption value for this ProposalLineItemConstraints. * * @return builtInCompanionDeliveryOption * The built-in companion delivery option for the created {@link * ProposalLineItem}. * *

This attribute is read-only. */ public com.google.api.ads.dfp.axis.v201511.CompanionDeliveryOption getBuiltInCompanionDeliveryOption() { return builtInCompanionDeliveryOption; } /** * Sets the builtInCompanionDeliveryOption value for this ProposalLineItemConstraints. * * @param builtInCompanionDeliveryOption * The built-in companion delivery option for the created {@link * ProposalLineItem}. * *

This attribute is read-only. */ public void setBuiltInCompanionDeliveryOption(com.google.api.ads.dfp.axis.v201511.CompanionDeliveryOption builtInCompanionDeliveryOption) { this.builtInCompanionDeliveryOption = builtInCompanionDeliveryOption; } /** * Gets the builtInFrequencyCaps value for this ProposalLineItemConstraints. * * @return builtInFrequencyCaps * The built-in frequency caps for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ public com.google.api.ads.dfp.axis.v201511.FrequencyCap[] getBuiltInFrequencyCaps() { return builtInFrequencyCaps; } /** * Sets the builtInFrequencyCaps value for this ProposalLineItemConstraints. * * @param builtInFrequencyCaps * The built-in frequency caps for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ public void setBuiltInFrequencyCaps(com.google.api.ads.dfp.axis.v201511.FrequencyCap[] builtInFrequencyCaps) { this.builtInFrequencyCaps = builtInFrequencyCaps; } public com.google.api.ads.dfp.axis.v201511.FrequencyCap getBuiltInFrequencyCaps(int i) { return this.builtInFrequencyCaps[i]; } public void setBuiltInFrequencyCaps(int i, com.google.api.ads.dfp.axis.v201511.FrequencyCap _value) { this.builtInFrequencyCaps[i] = _value; } /** * Gets the productBuiltInTargeting value for this ProposalLineItemConstraints. * * @return productBuiltInTargeting * Built-in targeting for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ public com.google.api.ads.dfp.axis.v201511.Targeting getProductBuiltInTargeting() { return productBuiltInTargeting; } /** * Sets the productBuiltInTargeting value for this ProposalLineItemConstraints. * * @param productBuiltInTargeting * Built-in targeting for the created {@link ProposalLineItem}. * *

This attribute is read-only. */ public void setProductBuiltInTargeting(com.google.api.ads.dfp.axis.v201511.Targeting productBuiltInTargeting) { this.productBuiltInTargeting = productBuiltInTargeting; } /** * Gets the customizableAttributes value for this ProposalLineItemConstraints. * * @return customizableAttributes * Specifies what targeting or attributes for the created {@link * ProposalLineItem} * are customizable. * *

This attribute is read-only. */ public com.google.api.ads.dfp.axis.v201511.CustomizableAttributes getCustomizableAttributes() { return customizableAttributes; } /** * Sets the customizableAttributes value for this ProposalLineItemConstraints. * * @param customizableAttributes * Specifies what targeting or attributes for the created {@link * ProposalLineItem} * are customizable. * *

This attribute is read-only. */ public void setCustomizableAttributes(com.google.api.ads.dfp.axis.v201511.CustomizableAttributes customizableAttributes) { this.customizableAttributes = customizableAttributes; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof ProposalLineItemConstraints)) return false; ProposalLineItemConstraints other = (ProposalLineItemConstraints) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.allowCreativePlaceholdersCustomization==null && other.getAllowCreativePlaceholdersCustomization()==null) || (this.allowCreativePlaceholdersCustomization!=null && this.allowCreativePlaceholdersCustomization.equals(other.getAllowCreativePlaceholdersCustomization()))) && ((this.builtInCreativePlaceholders==null && other.getBuiltInCreativePlaceholders()==null) || (this.builtInCreativePlaceholders!=null && java.util.Arrays.equals(this.builtInCreativePlaceholders, other.getBuiltInCreativePlaceholders()))) && ((this.builtInRoadblockingType==null && other.getBuiltInRoadblockingType()==null) || (this.builtInRoadblockingType!=null && this.builtInRoadblockingType.equals(other.getBuiltInRoadblockingType()))) && ((this.builtInDeliveryRateType==null && other.getBuiltInDeliveryRateType()==null) || (this.builtInDeliveryRateType!=null && this.builtInDeliveryRateType.equals(other.getBuiltInDeliveryRateType()))) && ((this.builtInCreativeRotationType==null && other.getBuiltInCreativeRotationType()==null) || (this.builtInCreativeRotationType!=null && this.builtInCreativeRotationType.equals(other.getBuiltInCreativeRotationType()))) && ((this.builtInCompanionDeliveryOption==null && other.getBuiltInCompanionDeliveryOption()==null) || (this.builtInCompanionDeliveryOption!=null && this.builtInCompanionDeliveryOption.equals(other.getBuiltInCompanionDeliveryOption()))) && ((this.builtInFrequencyCaps==null && other.getBuiltInFrequencyCaps()==null) || (this.builtInFrequencyCaps!=null && java.util.Arrays.equals(this.builtInFrequencyCaps, other.getBuiltInFrequencyCaps()))) && ((this.productBuiltInTargeting==null && other.getProductBuiltInTargeting()==null) || (this.productBuiltInTargeting!=null && this.productBuiltInTargeting.equals(other.getProductBuiltInTargeting()))) && ((this.customizableAttributes==null && other.getCustomizableAttributes()==null) || (this.customizableAttributes!=null && this.customizableAttributes.equals(other.getCustomizableAttributes()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getAllowCreativePlaceholdersCustomization() != null) { _hashCode += getAllowCreativePlaceholdersCustomization().hashCode(); } if (getBuiltInCreativePlaceholders() != null) { for (int i=0; i





© 2015 - 2025 Weber Informatics LLC | Privacy Policy