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

com.google.api.ads.dfp.axis.v201602.SetTopBoxCreative Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version
/**
 * SetTopBoxCreative.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.v201602;


/**
 * A {@code Creative} that will be served into cable set-top boxes.
 * There are no assets for this
 *             creative type, as they are hosted by external cable systems.
 */
public class SetTopBoxCreative  extends com.google.api.ads.dfp.axis.v201602.BaseVideoCreative  implements java.io.Serializable {
    /* An external asset identifier that is used in the cable system.
     * This attribute is read-only
     *                     after creation. */
    private java.lang.String externalAssetId;

    /* An identifier for the provider in the cable system. This attribute
     * is read-only after creation. */
    private java.lang.String providerId;

    /* IDs of regions where the creative is available to serve from
     * a local cable video-on-demand
     *                     server. This attribute is optional. */
    private java.lang.String[] availabilityRegionIds;

    /* The date and time that this creative can begin serving from
     * a local cable video-on-demand
     *                     server. This attribute is optional. */
    private com.google.api.ads.dfp.axis.v201602.DateTime licenseWindowStartDateTime;

    /* The date and time that this creative can no longer be served
     * from a local cable video-on-demand
     *                     server. This attribute is optional. */
    private com.google.api.ads.dfp.axis.v201602.DateTime licenseWindowEndDateTime;

    public SetTopBoxCreative() {
    }

    public SetTopBoxCreative(
           java.lang.Long advertiserId,
           java.lang.Long id,
           java.lang.String name,
           com.google.api.ads.dfp.axis.v201602.Size size,
           java.lang.String previewUrl,
           com.google.api.ads.dfp.axis.v201602.CreativePolicyViolation[] policyViolations,
           com.google.api.ads.dfp.axis.v201602.AppliedLabel[] appliedLabels,
           com.google.api.ads.dfp.axis.v201602.DateTime lastModifiedDateTime,
           com.google.api.ads.dfp.axis.v201602.BaseCustomFieldValue[] customFieldValues,
           java.lang.String destinationUrl,
           com.google.api.ads.dfp.axis.v201602.DestinationUrlType destinationUrlType,
           java.lang.Integer duration,
           java.lang.Boolean allowDurationOverride,
           com.google.api.ads.dfp.axis.v201602.ConversionEvent_TrackingUrlsMapEntry[] trackingUrls,
           long[] companionCreativeIds,
           java.lang.String customParameters,
           java.lang.String vastPreviewUrl,
           com.google.api.ads.dfp.axis.v201602.SslScanResult sslScanResult,
           com.google.api.ads.dfp.axis.v201602.SslManualOverride sslManualOverride,
           java.lang.String externalAssetId,
           java.lang.String providerId,
           java.lang.String[] availabilityRegionIds,
           com.google.api.ads.dfp.axis.v201602.DateTime licenseWindowStartDateTime,
           com.google.api.ads.dfp.axis.v201602.DateTime licenseWindowEndDateTime) {
        super(
            advertiserId,
            id,
            name,
            size,
            previewUrl,
            policyViolations,
            appliedLabels,
            lastModifiedDateTime,
            customFieldValues,
            destinationUrl,
            destinationUrlType,
            duration,
            allowDurationOverride,
            trackingUrls,
            companionCreativeIds,
            customParameters,
            vastPreviewUrl,
            sslScanResult,
            sslManualOverride);
        this.externalAssetId = externalAssetId;
        this.providerId = providerId;
        this.availabilityRegionIds = availabilityRegionIds;
        this.licenseWindowStartDateTime = licenseWindowStartDateTime;
        this.licenseWindowEndDateTime = licenseWindowEndDateTime;
    }


    /**
     * Gets the externalAssetId value for this SetTopBoxCreative.
     * 
     * @return externalAssetId   * An external asset identifier that is used in the cable system.
     * This attribute is read-only
     *                     after creation.
     */
    public java.lang.String getExternalAssetId() {
        return externalAssetId;
    }


    /**
     * Sets the externalAssetId value for this SetTopBoxCreative.
     * 
     * @param externalAssetId   * An external asset identifier that is used in the cable system.
     * This attribute is read-only
     *                     after creation.
     */
    public void setExternalAssetId(java.lang.String externalAssetId) {
        this.externalAssetId = externalAssetId;
    }


    /**
     * Gets the providerId value for this SetTopBoxCreative.
     * 
     * @return providerId   * An identifier for the provider in the cable system. This attribute
     * is read-only after creation.
     */
    public java.lang.String getProviderId() {
        return providerId;
    }


    /**
     * Sets the providerId value for this SetTopBoxCreative.
     * 
     * @param providerId   * An identifier for the provider in the cable system. This attribute
     * is read-only after creation.
     */
    public void setProviderId(java.lang.String providerId) {
        this.providerId = providerId;
    }


    /**
     * Gets the availabilityRegionIds value for this SetTopBoxCreative.
     * 
     * @return availabilityRegionIds   * IDs of regions where the creative is available to serve from
     * a local cable video-on-demand
     *                     server. This attribute is optional.
     */
    public java.lang.String[] getAvailabilityRegionIds() {
        return availabilityRegionIds;
    }


    /**
     * Sets the availabilityRegionIds value for this SetTopBoxCreative.
     * 
     * @param availabilityRegionIds   * IDs of regions where the creative is available to serve from
     * a local cable video-on-demand
     *                     server. This attribute is optional.
     */
    public void setAvailabilityRegionIds(java.lang.String[] availabilityRegionIds) {
        this.availabilityRegionIds = availabilityRegionIds;
    }

    public java.lang.String getAvailabilityRegionIds(int i) {
        return this.availabilityRegionIds[i];
    }

    public void setAvailabilityRegionIds(int i, java.lang.String _value) {
        this.availabilityRegionIds[i] = _value;
    }


    /**
     * Gets the licenseWindowStartDateTime value for this SetTopBoxCreative.
     * 
     * @return licenseWindowStartDateTime   * The date and time that this creative can begin serving from
     * a local cable video-on-demand
     *                     server. This attribute is optional.
     */
    public com.google.api.ads.dfp.axis.v201602.DateTime getLicenseWindowStartDateTime() {
        return licenseWindowStartDateTime;
    }


    /**
     * Sets the licenseWindowStartDateTime value for this SetTopBoxCreative.
     * 
     * @param licenseWindowStartDateTime   * The date and time that this creative can begin serving from
     * a local cable video-on-demand
     *                     server. This attribute is optional.
     */
    public void setLicenseWindowStartDateTime(com.google.api.ads.dfp.axis.v201602.DateTime licenseWindowStartDateTime) {
        this.licenseWindowStartDateTime = licenseWindowStartDateTime;
    }


    /**
     * Gets the licenseWindowEndDateTime value for this SetTopBoxCreative.
     * 
     * @return licenseWindowEndDateTime   * The date and time that this creative can no longer be served
     * from a local cable video-on-demand
     *                     server. This attribute is optional.
     */
    public com.google.api.ads.dfp.axis.v201602.DateTime getLicenseWindowEndDateTime() {
        return licenseWindowEndDateTime;
    }


    /**
     * Sets the licenseWindowEndDateTime value for this SetTopBoxCreative.
     * 
     * @param licenseWindowEndDateTime   * The date and time that this creative can no longer be served
     * from a local cable video-on-demand
     *                     server. This attribute is optional.
     */
    public void setLicenseWindowEndDateTime(com.google.api.ads.dfp.axis.v201602.DateTime licenseWindowEndDateTime) {
        this.licenseWindowEndDateTime = licenseWindowEndDateTime;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof SetTopBoxCreative)) return false;
        SetTopBoxCreative other = (SetTopBoxCreative) 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.externalAssetId==null && other.getExternalAssetId()==null) || 
             (this.externalAssetId!=null &&
              this.externalAssetId.equals(other.getExternalAssetId()))) &&
            ((this.providerId==null && other.getProviderId()==null) || 
             (this.providerId!=null &&
              this.providerId.equals(other.getProviderId()))) &&
            ((this.availabilityRegionIds==null && other.getAvailabilityRegionIds()==null) || 
             (this.availabilityRegionIds!=null &&
              java.util.Arrays.equals(this.availabilityRegionIds, other.getAvailabilityRegionIds()))) &&
            ((this.licenseWindowStartDateTime==null && other.getLicenseWindowStartDateTime()==null) || 
             (this.licenseWindowStartDateTime!=null &&
              this.licenseWindowStartDateTime.equals(other.getLicenseWindowStartDateTime()))) &&
            ((this.licenseWindowEndDateTime==null && other.getLicenseWindowEndDateTime()==null) || 
             (this.licenseWindowEndDateTime!=null &&
              this.licenseWindowEndDateTime.equals(other.getLicenseWindowEndDateTime())));
        __equalsCalc = null;
        return _equals;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy