
com.google.api.ads.admanager.axis.v202308.YieldPartner Maven / Gradle / Ivy
// Copyright 2023 Google LLC
//
// 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.
/**
* YieldPartner.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.admanager.axis.v202308;
public class YieldPartner implements java.io.Serializable {
private java.lang.Long companyId;
private com.google.api.ads.admanager.axis.v202308.YieldPartnerSettings[] settings;
public YieldPartner() {
}
public YieldPartner(
java.lang.Long companyId,
com.google.api.ads.admanager.axis.v202308.YieldPartnerSettings[] settings) {
this.companyId = companyId;
this.settings = settings;
}
@Override
public String toString() {
return com.google.common.base.MoreObjects.toStringHelper(this.getClass())
.omitNullValues()
.add("companyId", getCompanyId())
.add("settings", getSettings())
.toString();
}
/**
* Gets the companyId value for this YieldPartner.
*
* @return companyId
*/
public java.lang.Long getCompanyId() {
return companyId;
}
/**
* Sets the companyId value for this YieldPartner.
*
* @param companyId
*/
public void setCompanyId(java.lang.Long companyId) {
this.companyId = companyId;
}
/**
* Gets the settings value for this YieldPartner.
*
* @return settings
*/
public com.google.api.ads.admanager.axis.v202308.YieldPartnerSettings[] getSettings() {
return settings;
}
/**
* Sets the settings value for this YieldPartner.
*
* @param settings
*/
public void setSettings(com.google.api.ads.admanager.axis.v202308.YieldPartnerSettings[] settings) {
this.settings = settings;
}
public com.google.api.ads.admanager.axis.v202308.YieldPartnerSettings getSettings(int i) {
return this.settings[i];
}
public void setSettings(int i, com.google.api.ads.admanager.axis.v202308.YieldPartnerSettings _value) {
this.settings[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof YieldPartner)) return false;
YieldPartner other = (YieldPartner) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.companyId==null && other.getCompanyId()==null) ||
(this.companyId!=null &&
this.companyId.equals(other.getCompanyId()))) &&
((this.settings==null && other.getSettings()==null) ||
(this.settings!=null &&
java.util.Arrays.equals(this.settings, other.getSettings())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getCompanyId() != null) {
_hashCode += getCompanyId().hashCode();
}
if (getSettings() != null) {
for (int i=0;
i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy