com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1ConversationLevelSilence 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.contactcenterinsights.v1.model;
/**
* Conversation-level silence data.
*
* 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 Contact Center AI Insights 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 GoogleCloudContactcenterinsightsV1ConversationLevelSilence extends com.google.api.client.json.GenericJson {
/**
* Amount of time calculated to be in silence.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String silenceDuration;
/**
* Percentage of the total conversation spent in silence.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Float silencePercentage;
/**
* Amount of time calculated to be in silence.
* @return value or {@code null} for none
*/
public String getSilenceDuration() {
return silenceDuration;
}
/**
* Amount of time calculated to be in silence.
* @param silenceDuration silenceDuration or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1ConversationLevelSilence setSilenceDuration(String silenceDuration) {
this.silenceDuration = silenceDuration;
return this;
}
/**
* Percentage of the total conversation spent in silence.
* @return value or {@code null} for none
*/
public java.lang.Float getSilencePercentage() {
return silencePercentage;
}
/**
* Percentage of the total conversation spent in silence.
* @param silencePercentage silencePercentage or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1ConversationLevelSilence setSilencePercentage(java.lang.Float silencePercentage) {
this.silencePercentage = silencePercentage;
return this;
}
@Override
public GoogleCloudContactcenterinsightsV1ConversationLevelSilence set(String fieldName, Object value) {
return (GoogleCloudContactcenterinsightsV1ConversationLevelSilence) super.set(fieldName, value);
}
@Override
public GoogleCloudContactcenterinsightsV1ConversationLevelSilence clone() {
return (GoogleCloudContactcenterinsightsV1ConversationLevelSilence) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy