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

com.microsoft.bingads.v10.internal.bulk.entities.SiteLinkAdExtensionIdentifier Maven / Gradle / Ivy

Go to download

The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.

There is a newer version: 13.0.23.2
Show newest version
package com.microsoft.bingads.v10.internal.bulk.entities;

import com.microsoft.bingads.v10.bulk.entities.BulkSiteLinkAdExtension;
import static com.microsoft.bingads.internal.utilities.Comparer.compareNullable;

public class SiteLinkAdExtensionIdentifier extends BulkAdExtensionIdentifier {

    @Override
    public boolean equals(Object other) {
        if (!(other instanceof SiteLinkAdExtensionIdentifier)) {
            return false;
        } 
        
        SiteLinkAdExtensionIdentifier otherSiteLinkIdentity = (SiteLinkAdExtensionIdentifier)other;
        
        return compareNullable(this.getAccountId(), otherSiteLinkIdentity.getAccountId()) &&
               compareNullable(this.getAdExtensionId(), otherSiteLinkIdentity.getAdExtensionId());        
    }

    @Override
    public MultiRecordBulkEntity createEntityWithThisIdentifier() {
        return new BulkSiteLinkAdExtension(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy