com.google.api.services.partners.model.Lead Maven / Gradle / Ivy
/*
* 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-06-30 18:20:40 UTC)
* on 2015-07-16 at 17:24:09 UTC
* Modify at your own risk.
*/
package com.google.api.services.partners.model;
/**
* A lead resource that represents an advertiser contact for a `Company`. These are usually
* generated via Google Partner Search (the advertiser portal).
*
* 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 Google Partners API. For a detailed explanation see:
* http://code.google.com/p/google-http-java-client/wiki/JSON
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Lead extends com.google.api.client.json.GenericJson {
/**
* Comments lead source gave.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String comments;
/**
* Email address of lead source.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String email;
/**
* Last name of lead source.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String familyName;
/**
* First name of lead source.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String givenName;
/**
* List of reasons for using Google Partner Search and creating a lead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List gpsMotivations;
/**
* ID of the lead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* The minimum monthly budget lead source is willing to spend.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Money minMonthlyBudget;
/**
* Phone number of lead source.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String phoneNumber;
/**
* Type of lead.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;
/**
* Website URL of lead source.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String websiteUrl;
/**
* Comments lead source gave.
* @return value or {@code null} for none
*/
public java.lang.String getComments() {
return comments;
}
/**
* Comments lead source gave.
* @param comments comments or {@code null} for none
*/
public Lead setComments(java.lang.String comments) {
this.comments = comments;
return this;
}
/**
* Email address of lead source.
* @return value or {@code null} for none
*/
public java.lang.String getEmail() {
return email;
}
/**
* Email address of lead source.
* @param email email or {@code null} for none
*/
public Lead setEmail(java.lang.String email) {
this.email = email;
return this;
}
/**
* Last name of lead source.
* @return value or {@code null} for none
*/
public java.lang.String getFamilyName() {
return familyName;
}
/**
* Last name of lead source.
* @param familyName familyName or {@code null} for none
*/
public Lead setFamilyName(java.lang.String familyName) {
this.familyName = familyName;
return this;
}
/**
* First name of lead source.
* @return value or {@code null} for none
*/
public java.lang.String getGivenName() {
return givenName;
}
/**
* First name of lead source.
* @param givenName givenName or {@code null} for none
*/
public Lead setGivenName(java.lang.String givenName) {
this.givenName = givenName;
return this;
}
/**
* List of reasons for using Google Partner Search and creating a lead.
* @return value or {@code null} for none
*/
public java.util.List getGpsMotivations() {
return gpsMotivations;
}
/**
* List of reasons for using Google Partner Search and creating a lead.
* @param gpsMotivations gpsMotivations or {@code null} for none
*/
public Lead setGpsMotivations(java.util.List gpsMotivations) {
this.gpsMotivations = gpsMotivations;
return this;
}
/**
* ID of the lead.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}
/**
* ID of the lead.
* @param id id or {@code null} for none
*/
public Lead setId(java.lang.String id) {
this.id = id;
return this;
}
/**
* The minimum monthly budget lead source is willing to spend.
* @return value or {@code null} for none
*/
public Money getMinMonthlyBudget() {
return minMonthlyBudget;
}
/**
* The minimum monthly budget lead source is willing to spend.
* @param minMonthlyBudget minMonthlyBudget or {@code null} for none
*/
public Lead setMinMonthlyBudget(Money minMonthlyBudget) {
this.minMonthlyBudget = minMonthlyBudget;
return this;
}
/**
* Phone number of lead source.
* @return value or {@code null} for none
*/
public java.lang.String getPhoneNumber() {
return phoneNumber;
}
/**
* Phone number of lead source.
* @param phoneNumber phoneNumber or {@code null} for none
*/
public Lead setPhoneNumber(java.lang.String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
/**
* Type of lead.
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}
/**
* Type of lead.
* @param type type or {@code null} for none
*/
public Lead setType(java.lang.String type) {
this.type = type;
return this;
}
/**
* Website URL of lead source.
* @return value or {@code null} for none
*/
public java.lang.String getWebsiteUrl() {
return websiteUrl;
}
/**
* Website URL of lead source.
* @param websiteUrl websiteUrl or {@code null} for none
*/
public Lead setWebsiteUrl(java.lang.String websiteUrl) {
this.websiteUrl = websiteUrl;
return this;
}
@Override
public Lead set(String fieldName, Object value) {
return (Lead) super.set(fieldName, value);
}
@Override
public Lead clone() {
return (Lead) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy