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

com.google.api.services.testing.model.SessionStateEvent Maven / Gradle / Ivy

There is a newer version: v1-rev20241231-2.0.0
Show 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.testing.model;

/**
 * A message encapsulating a series of Session states and the time that the DeviceSession first
 * entered those states.
 *
 * 

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 Cloud Testing 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 SessionStateEvent extends com.google.api.client.json.GenericJson { /** * Output only. The time that the session_state first encountered that state. * The value may be {@code null}. */ @com.google.api.client.util.Key private String eventTime; /** * Output only. The session_state tracked by this event * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String sessionState; /** * Output only. A human-readable message to explain the state. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String stateMessage; /** * Output only. The time that the session_state first encountered that state. * @return value or {@code null} for none */ public String getEventTime() { return eventTime; } /** * Output only. The time that the session_state first encountered that state. * @param eventTime eventTime or {@code null} for none */ public SessionStateEvent setEventTime(String eventTime) { this.eventTime = eventTime; return this; } /** * Output only. The session_state tracked by this event * @return value or {@code null} for none */ public java.lang.String getSessionState() { return sessionState; } /** * Output only. The session_state tracked by this event * @param sessionState sessionState or {@code null} for none */ public SessionStateEvent setSessionState(java.lang.String sessionState) { this.sessionState = sessionState; return this; } /** * Output only. A human-readable message to explain the state. * @return value or {@code null} for none */ public java.lang.String getStateMessage() { return stateMessage; } /** * Output only. A human-readable message to explain the state. * @param stateMessage stateMessage or {@code null} for none */ public SessionStateEvent setStateMessage(java.lang.String stateMessage) { this.stateMessage = stateMessage; return this; } @Override public SessionStateEvent set(String fieldName, Object value) { return (SessionStateEvent) super.set(fieldName, value); } @Override public SessionStateEvent clone() { return (SessionStateEvent) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy