
com.google.api.ads.dfp.axis.v201508.ExchangeRatePage 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.
/**
* ExchangeRatePage.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.v201508;
/**
* Captures a page of {@link ExchangeRate} objects.
*/
public class ExchangeRatePage implements java.io.Serializable {
/* The collection of exchange rates contained within this page. */
private com.google.api.ads.dfp.axis.v201508.ExchangeRate[] results;
/* The absolute index in the total result set on which this page
* begins. */
private java.lang.Integer startIndex;
/* The size of the total result set to which this page belongs. */
private java.lang.Integer totalResultSetSize;
public ExchangeRatePage() {
}
public ExchangeRatePage(
com.google.api.ads.dfp.axis.v201508.ExchangeRate[] results,
java.lang.Integer startIndex,
java.lang.Integer totalResultSetSize) {
this.results = results;
this.startIndex = startIndex;
this.totalResultSetSize = totalResultSetSize;
}
/**
* Gets the results value for this ExchangeRatePage.
*
* @return results * The collection of exchange rates contained within this page.
*/
public com.google.api.ads.dfp.axis.v201508.ExchangeRate[] getResults() {
return results;
}
/**
* Sets the results value for this ExchangeRatePage.
*
* @param results * The collection of exchange rates contained within this page.
*/
public void setResults(com.google.api.ads.dfp.axis.v201508.ExchangeRate[] results) {
this.results = results;
}
public com.google.api.ads.dfp.axis.v201508.ExchangeRate getResults(int i) {
return this.results[i];
}
public void setResults(int i, com.google.api.ads.dfp.axis.v201508.ExchangeRate _value) {
this.results[i] = _value;
}
/**
* Gets the startIndex value for this ExchangeRatePage.
*
* @return startIndex * The absolute index in the total result set on which this page
* begins.
*/
public java.lang.Integer getStartIndex() {
return startIndex;
}
/**
* Sets the startIndex value for this ExchangeRatePage.
*
* @param startIndex * The absolute index in the total result set on which this page
* begins.
*/
public void setStartIndex(java.lang.Integer startIndex) {
this.startIndex = startIndex;
}
/**
* Gets the totalResultSetSize value for this ExchangeRatePage.
*
* @return totalResultSetSize * The size of the total result set to which this page belongs.
*/
public java.lang.Integer getTotalResultSetSize() {
return totalResultSetSize;
}
/**
* Sets the totalResultSetSize value for this ExchangeRatePage.
*
* @param totalResultSetSize * The size of the total result set to which this page belongs.
*/
public void setTotalResultSetSize(java.lang.Integer totalResultSetSize) {
this.totalResultSetSize = totalResultSetSize;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof ExchangeRatePage)) return false;
ExchangeRatePage other = (ExchangeRatePage) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.results==null && other.getResults()==null) ||
(this.results!=null &&
java.util.Arrays.equals(this.results, other.getResults()))) &&
((this.startIndex==null && other.getStartIndex()==null) ||
(this.startIndex!=null &&
this.startIndex.equals(other.getStartIndex()))) &&
((this.totalResultSetSize==null && other.getTotalResultSetSize()==null) ||
(this.totalResultSetSize!=null &&
this.totalResultSetSize.equals(other.getTotalResultSetSize())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getResults() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy