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

com.google.api.services.localservices.v1.model.GoogleAdsHomeservicesLocalservicesV1PhoneLead Maven / Gradle / Ivy

/*
 * 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.localservices.v1.model;

/**
 * Container for phone lead specific information.
 *
 * 

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 Local Services 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 GoogleAdsHomeservicesLocalservicesV1PhoneLead extends com.google.api.client.json.GenericJson { /** * Timestamp of the phone call which resulted in a charged phone lead. * The value may be {@code null}. */ @com.google.api.client.util.Key private String chargedCallTimestamp; /** * Duration of the charged phone call in seconds. * The value may be {@code null}. */ @com.google.api.client.util.Key private String chargedConnectedCallDurationSeconds; /** * Consumer phone number associated with the phone lead. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String consumerPhoneNumber; /** * Timestamp of the phone call which resulted in a charged phone lead. * @return value or {@code null} for none */ public String getChargedCallTimestamp() { return chargedCallTimestamp; } /** * Timestamp of the phone call which resulted in a charged phone lead. * @param chargedCallTimestamp chargedCallTimestamp or {@code null} for none */ public GoogleAdsHomeservicesLocalservicesV1PhoneLead setChargedCallTimestamp(String chargedCallTimestamp) { this.chargedCallTimestamp = chargedCallTimestamp; return this; } /** * Duration of the charged phone call in seconds. * @return value or {@code null} for none */ public String getChargedConnectedCallDurationSeconds() { return chargedConnectedCallDurationSeconds; } /** * Duration of the charged phone call in seconds. * @param chargedConnectedCallDurationSeconds chargedConnectedCallDurationSeconds or {@code null} for none */ public GoogleAdsHomeservicesLocalservicesV1PhoneLead setChargedConnectedCallDurationSeconds(String chargedConnectedCallDurationSeconds) { this.chargedConnectedCallDurationSeconds = chargedConnectedCallDurationSeconds; return this; } /** * Consumer phone number associated with the phone lead. * @return value or {@code null} for none */ public java.lang.String getConsumerPhoneNumber() { return consumerPhoneNumber; } /** * Consumer phone number associated with the phone lead. * @param consumerPhoneNumber consumerPhoneNumber or {@code null} for none */ public GoogleAdsHomeservicesLocalservicesV1PhoneLead setConsumerPhoneNumber(java.lang.String consumerPhoneNumber) { this.consumerPhoneNumber = consumerPhoneNumber; return this; } @Override public GoogleAdsHomeservicesLocalservicesV1PhoneLead set(String fieldName, Object value) { return (GoogleAdsHomeservicesLocalservicesV1PhoneLead) super.set(fieldName, value); } @Override public GoogleAdsHomeservicesLocalservicesV1PhoneLead clone() { return (GoogleAdsHomeservicesLocalservicesV1PhoneLead) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy