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

com.google.api.ads.admanager.axis.v202305.SdkMediationSettings Maven / Gradle / Ivy

There is a newer version: 5.6.0
Show newest version
// 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.

/**
 * SdkMediationSettings.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.v202305;

public class SdkMediationSettings  extends com.google.api.ads.admanager.axis.v202305.AbstractDisplaySettings  implements java.io.Serializable {
    private com.google.api.ads.admanager.axis.v202305.YieldParameter_StringMapEntry[] parameters;

    private com.google.api.ads.admanager.axis.v202305.YieldIntegrationType yieldIntegrationType;

    private com.google.api.ads.admanager.axis.v202305.YieldPlatform platform;

    public SdkMediationSettings() {
    }

    public SdkMediationSettings(
           com.google.api.ads.admanager.axis.v202305.YieldParameter_StringMapEntry[] parameters,
           com.google.api.ads.admanager.axis.v202305.YieldIntegrationType yieldIntegrationType,
           com.google.api.ads.admanager.axis.v202305.YieldPlatform platform) {
        this.parameters = parameters;
        this.yieldIntegrationType = yieldIntegrationType;
        this.platform = platform;
    }

    @Override
    public String toString() {
        return com.google.common.base.MoreObjects.toStringHelper(this.getClass())
            .omitNullValues()
            .add("parameters", getParameters())
            .add("platform", getPlatform())
            .add("yieldIntegrationType", getYieldIntegrationType())
            .toString();
    }

    /**
     * Gets the parameters value for this SdkMediationSettings.
     * 
     * @return parameters
     */
    public com.google.api.ads.admanager.axis.v202305.YieldParameter_StringMapEntry[] getParameters() {
        return parameters;
    }


    /**
     * Sets the parameters value for this SdkMediationSettings.
     * 
     * @param parameters
     */
    public void setParameters(com.google.api.ads.admanager.axis.v202305.YieldParameter_StringMapEntry[] parameters) {
        this.parameters = parameters;
    }

    public com.google.api.ads.admanager.axis.v202305.YieldParameter_StringMapEntry getParameters(int i) {
        return this.parameters[i];
    }

    public void setParameters(int i, com.google.api.ads.admanager.axis.v202305.YieldParameter_StringMapEntry _value) {
        this.parameters[i] = _value;
    }


    /**
     * Gets the yieldIntegrationType value for this SdkMediationSettings.
     * 
     * @return yieldIntegrationType
     */
    public com.google.api.ads.admanager.axis.v202305.YieldIntegrationType getYieldIntegrationType() {
        return yieldIntegrationType;
    }


    /**
     * Sets the yieldIntegrationType value for this SdkMediationSettings.
     * 
     * @param yieldIntegrationType
     */
    public void setYieldIntegrationType(com.google.api.ads.admanager.axis.v202305.YieldIntegrationType yieldIntegrationType) {
        this.yieldIntegrationType = yieldIntegrationType;
    }


    /**
     * Gets the platform value for this SdkMediationSettings.
     * 
     * @return platform
     */
    public com.google.api.ads.admanager.axis.v202305.YieldPlatform getPlatform() {
        return platform;
    }


    /**
     * Sets the platform value for this SdkMediationSettings.
     * 
     * @param platform
     */
    public void setPlatform(com.google.api.ads.admanager.axis.v202305.YieldPlatform platform) {
        this.platform = platform;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof SdkMediationSettings)) return false;
        SdkMediationSettings other = (SdkMediationSettings) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = super.equals(obj) && 
            ((this.parameters==null && other.getParameters()==null) || 
             (this.parameters!=null &&
              java.util.Arrays.equals(this.parameters, other.getParameters()))) &&
            ((this.yieldIntegrationType==null && other.getYieldIntegrationType()==null) || 
             (this.yieldIntegrationType!=null &&
              this.yieldIntegrationType.equals(other.getYieldIntegrationType()))) &&
            ((this.platform==null && other.getPlatform()==null) || 
             (this.platform!=null &&
              this.platform.equals(other.getPlatform())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = super.hashCode();
        if (getParameters() != null) {
            for (int i=0;
                 i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy