Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010 Google Inc.
   *
   * 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://code.google.com/p/google-apis-client-generator/
  * (build: 2015-07-16 18:28:29 UTC)
  * on 2015-07-30 at 21:34:56 UTC 
  * Modify at your own risk.
  */
 
 package com.google.api.services.doubleclicksearch.model;

A message containing availability data relevant to DoubleClick Search.

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 DoubleClick Search API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON

Author(s):
Google, Inc.
 
 @SuppressWarnings("javadoc")
 public final class Availability extends com.google.api.client.json.GenericJson {

  
DS advertiser ID. The value may be null.
 
   private java.lang.Long advertiserId;

  
DS agency ID. The value may be null.
 
   private java.lang.Long agencyId;

  
The time by which all conversions have been uploaded, in epoch millis UTC. The value may be null.
 
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). The value may be null.
 
   private java.lang.Long segmentationId;

  
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). The value may be null.
 
   private java.lang.String segmentationName;

  
The segmentation type that this availability is for (its default value is FLOODLIGHT). The value may be null.
 
   private java.lang.String segmentationType;

  
DS advertiser ID.

Returns:
value or null for none
 
   public java.lang.Long getAdvertiserId() {
     return ;
   }

  
DS advertiser ID.

Parameters:
advertiserId advertiserId or null for none
 
   public Availability setAdvertiserId(java.lang.Long advertiserId) {
     this. = advertiserId;
     return this;
   }

  
DS agency ID.

Returns:
value or null for none
  public java.lang.Long getAgencyId() {
    return ;
  }

  
DS agency ID.

Parameters:
agencyId agencyId or null for none
  public Availability setAgencyId(java.lang.Long agencyId) {
    this. = agencyId;
    return this;
  }

  
The time by which all conversions have been uploaded, in epoch millis UTC.

Returns:
value or null for none
    return ;
  }

  
The time by which all conversions have been uploaded, in epoch millis UTC.

Parameters:
availabilityTimestamp availabilityTimestamp or null for none
  public Availability setAvailabilityTimestamp(java.math.BigInteger availabilityTimestamp) {
    this. = availabilityTimestamp;
    return this;
  }

  
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).

Returns:
value or null for none
    return ;
  }

  
The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID).

Parameters:
segmentationId segmentationId or null for none
  public Availability setSegmentationId(java.lang.Long segmentationId) {
    this. = segmentationId;
    return this;
  }

  
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).

Returns:
value or null for none
    return ;
  }

  
The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name).

Parameters:
segmentationName segmentationName or null for none
  public Availability setSegmentationName(java.lang.String segmentationName) {
    this. = segmentationName;
    return this;
  }

  
The segmentation type that this availability is for (its default value is FLOODLIGHT).

Returns:
value or null for none
    return ;
  }

  
The segmentation type that this availability is for (its default value is FLOODLIGHT).

Parameters:
segmentationType segmentationType or null for none
  public Availability setSegmentationType(java.lang.String segmentationType) {
    this. = segmentationType;
    return this;
  }
  public Availability set(String fieldNameObject value) {
    return (Availabilitysuper.set(fieldNamevalue);
  }
  public Availability clone() {
    return (Availabilitysuper.clone();
  }
New to GrepCode? Check out our FAQ X