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

com.google.api.services.realtimebidding.v1.model.UrlRestriction Maven / Gradle / Ivy

There is a newer version: v1-rev20240930-2.0.0
Show newest version
/*
 * 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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.realtimebidding.v1.model;

/**
 * Deprecated. This will be removed in October 2023. For more information, see the release notes:
 * https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Represents
 * the URL restriction (for the URL captured by the pixel callback) for a user list.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Real-time Bidding API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class UrlRestriction extends com.google.api.client.json.GenericJson { /** * End date (if specified) of the URL restriction. End date should be later than the start date * for the date range to be valid. * The value may be {@code null}. */ @com.google.api.client.util.Key private Date endDate; /** * The restriction type for the specified URL. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String restrictionType; /** * Start date (if specified) of the URL restriction. * The value may be {@code null}. */ @com.google.api.client.util.Key private Date startDate; /** * Required. The URL to use for applying the restriction on the user list. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String url; /** * End date (if specified) of the URL restriction. End date should be later than the start date * for the date range to be valid. * @return value or {@code null} for none */ public Date getEndDate() { return endDate; } /** * End date (if specified) of the URL restriction. End date should be later than the start date * for the date range to be valid. * @param endDate endDate or {@code null} for none */ public UrlRestriction setEndDate(Date endDate) { this.endDate = endDate; return this; } /** * The restriction type for the specified URL. * @return value or {@code null} for none */ public java.lang.String getRestrictionType() { return restrictionType; } /** * The restriction type for the specified URL. * @param restrictionType restrictionType or {@code null} for none */ public UrlRestriction setRestrictionType(java.lang.String restrictionType) { this.restrictionType = restrictionType; return this; } /** * Start date (if specified) of the URL restriction. * @return value or {@code null} for none */ public Date getStartDate() { return startDate; } /** * Start date (if specified) of the URL restriction. * @param startDate startDate or {@code null} for none */ public UrlRestriction setStartDate(Date startDate) { this.startDate = startDate; return this; } /** * Required. The URL to use for applying the restriction on the user list. * @return value or {@code null} for none */ public java.lang.String getUrl() { return url; } /** * Required. The URL to use for applying the restriction on the user list. * @param url url or {@code null} for none */ public UrlRestriction setUrl(java.lang.String url) { this.url = url; return this; } @Override public UrlRestriction set(String fieldName, Object value) { return (UrlRestriction) super.set(fieldName, value); } @Override public UrlRestriction clone() { return (UrlRestriction) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy