com.google.api.services.dialogflow.v3.model.GoogleCloudDialogflowCxV3beta1TestConfig Maven / Gradle / Ivy
The 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.dialogflow.v3.model;
/**
* Represents configurations for a test case.
*
* 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 Dialogflow 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 GoogleCloudDialogflowCxV3beta1TestConfig extends com.google.api.client.json.GenericJson {
/**
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
* is set, the test case will start with start page on the default start flow.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String flow;
/**
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
* neither is set, the test case will start with start page on the default start flow.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String page;
/**
* Session parameters to be compared when calculating differences.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List trackingParameters;
/**
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
* is set, the test case will start with start page on the default start flow.
* @return value or {@code null} for none
*/
public java.lang.String getFlow() {
return flow;
}
/**
* Flow name to start the test case with. Format: `projects//locations//agents//flows/`. Only one
* of `flow` and `page` should be set to indicate the starting point of the test case. If neither
* is set, the test case will start with start page on the default start flow.
* @param flow flow or {@code null} for none
*/
public GoogleCloudDialogflowCxV3beta1TestConfig setFlow(java.lang.String flow) {
this.flow = flow;
return this;
}
/**
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
* neither is set, the test case will start with start page on the default start flow.
* @return value or {@code null} for none
*/
public java.lang.String getPage() {
return page;
}
/**
* The page to start the test case with. Format: `projects//locations//agents//flows//pages/`.
* Only one of `flow` and `page` should be set to indicate the starting point of the test case. If
* neither is set, the test case will start with start page on the default start flow.
* @param page page or {@code null} for none
*/
public GoogleCloudDialogflowCxV3beta1TestConfig setPage(java.lang.String page) {
this.page = page;
return this;
}
/**
* Session parameters to be compared when calculating differences.
* @return value or {@code null} for none
*/
public java.util.List getTrackingParameters() {
return trackingParameters;
}
/**
* Session parameters to be compared when calculating differences.
* @param trackingParameters trackingParameters or {@code null} for none
*/
public GoogleCloudDialogflowCxV3beta1TestConfig setTrackingParameters(java.util.List trackingParameters) {
this.trackingParameters = trackingParameters;
return this;
}
@Override
public GoogleCloudDialogflowCxV3beta1TestConfig set(String fieldName, Object value) {
return (GoogleCloudDialogflowCxV3beta1TestConfig) super.set(fieldName, value);
}
@Override
public GoogleCloudDialogflowCxV3beta1TestConfig clone() {
return (GoogleCloudDialogflowCxV3beta1TestConfig) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy