
com.google.api.ads.dfp.axis.v201505.OperatingSystemVersionTargeting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-axis Show documentation
Show all versions of dfp-axis Show documentation
Ad Manager specific Axis components.
/**
* OperatingSystemVersionTargeting.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.v201505;
/**
* Represents operating system versions that are being targeted or
* excluded by the {@link LineItem}.
*/
public class OperatingSystemVersionTargeting implements java.io.Serializable {
/* Operating system versions that are being targeted by the
* {@link LineItem}. */
private com.google.api.ads.dfp.axis.v201505.Technology[] targetedOperatingSystemVersions;
/* Operating system versions that are being excluded by the
* {@link LineItem}. */
private com.google.api.ads.dfp.axis.v201505.Technology[] excludedOperatingSystemVersions;
public OperatingSystemVersionTargeting() {
}
public OperatingSystemVersionTargeting(
com.google.api.ads.dfp.axis.v201505.Technology[] targetedOperatingSystemVersions,
com.google.api.ads.dfp.axis.v201505.Technology[] excludedOperatingSystemVersions) {
this.targetedOperatingSystemVersions = targetedOperatingSystemVersions;
this.excludedOperatingSystemVersions = excludedOperatingSystemVersions;
}
/**
* Gets the targetedOperatingSystemVersions value for this OperatingSystemVersionTargeting.
*
* @return targetedOperatingSystemVersions * Operating system versions that are being targeted by the
* {@link LineItem}.
*/
public com.google.api.ads.dfp.axis.v201505.Technology[] getTargetedOperatingSystemVersions() {
return targetedOperatingSystemVersions;
}
/**
* Sets the targetedOperatingSystemVersions value for this OperatingSystemVersionTargeting.
*
* @param targetedOperatingSystemVersions * Operating system versions that are being targeted by the
* {@link LineItem}.
*/
public void setTargetedOperatingSystemVersions(com.google.api.ads.dfp.axis.v201505.Technology[] targetedOperatingSystemVersions) {
this.targetedOperatingSystemVersions = targetedOperatingSystemVersions;
}
public com.google.api.ads.dfp.axis.v201505.Technology getTargetedOperatingSystemVersions(int i) {
return this.targetedOperatingSystemVersions[i];
}
public void setTargetedOperatingSystemVersions(int i, com.google.api.ads.dfp.axis.v201505.Technology _value) {
this.targetedOperatingSystemVersions[i] = _value;
}
/**
* Gets the excludedOperatingSystemVersions value for this OperatingSystemVersionTargeting.
*
* @return excludedOperatingSystemVersions * Operating system versions that are being excluded by the
* {@link LineItem}.
*/
public com.google.api.ads.dfp.axis.v201505.Technology[] getExcludedOperatingSystemVersions() {
return excludedOperatingSystemVersions;
}
/**
* Sets the excludedOperatingSystemVersions value for this OperatingSystemVersionTargeting.
*
* @param excludedOperatingSystemVersions * Operating system versions that are being excluded by the
* {@link LineItem}.
*/
public void setExcludedOperatingSystemVersions(com.google.api.ads.dfp.axis.v201505.Technology[] excludedOperatingSystemVersions) {
this.excludedOperatingSystemVersions = excludedOperatingSystemVersions;
}
public com.google.api.ads.dfp.axis.v201505.Technology getExcludedOperatingSystemVersions(int i) {
return this.excludedOperatingSystemVersions[i];
}
public void setExcludedOperatingSystemVersions(int i, com.google.api.ads.dfp.axis.v201505.Technology _value) {
this.excludedOperatingSystemVersions[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof OperatingSystemVersionTargeting)) return false;
OperatingSystemVersionTargeting other = (OperatingSystemVersionTargeting) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.targetedOperatingSystemVersions==null && other.getTargetedOperatingSystemVersions()==null) ||
(this.targetedOperatingSystemVersions!=null &&
java.util.Arrays.equals(this.targetedOperatingSystemVersions, other.getTargetedOperatingSystemVersions()))) &&
((this.excludedOperatingSystemVersions==null && other.getExcludedOperatingSystemVersions()==null) ||
(this.excludedOperatingSystemVersions!=null &&
java.util.Arrays.equals(this.excludedOperatingSystemVersions, other.getExcludedOperatingSystemVersions())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getTargetedOperatingSystemVersions() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy