com.google.api.services.meet.v2.model.Participant 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.meet.v2.model;
/**
* User who attended or is attending a conference.
*
* 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 Meet 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 Participant extends com.google.api.client.json.GenericJson {
/**
* Anonymous user.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AnonymousUser anonymousUser;
/**
* Output only. Time when the participant first joined the meeting.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String earliestStartTime;
/**
* Output only. Time when the participant left the meeting for the last time. This can be null if
* it's an active meeting.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String latestEndTime;
/**
* Output only. Resource name of the participant. Format:
* `conferenceRecords/{conference_record}/participants/{participant}`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* User calling from their phone.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PhoneUser phoneUser;
/**
* Signed-in user.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private SignedinUser signedinUser;
/**
* Anonymous user.
* @return value or {@code null} for none
*/
public AnonymousUser getAnonymousUser() {
return anonymousUser;
}
/**
* Anonymous user.
* @param anonymousUser anonymousUser or {@code null} for none
*/
public Participant setAnonymousUser(AnonymousUser anonymousUser) {
this.anonymousUser = anonymousUser;
return this;
}
/**
* Output only. Time when the participant first joined the meeting.
* @return value or {@code null} for none
*/
public String getEarliestStartTime() {
return earliestStartTime;
}
/**
* Output only. Time when the participant first joined the meeting.
* @param earliestStartTime earliestStartTime or {@code null} for none
*/
public Participant setEarliestStartTime(String earliestStartTime) {
this.earliestStartTime = earliestStartTime;
return this;
}
/**
* Output only. Time when the participant left the meeting for the last time. This can be null if
* it's an active meeting.
* @return value or {@code null} for none
*/
public String getLatestEndTime() {
return latestEndTime;
}
/**
* Output only. Time when the participant left the meeting for the last time. This can be null if
* it's an active meeting.
* @param latestEndTime latestEndTime or {@code null} for none
*/
public Participant setLatestEndTime(String latestEndTime) {
this.latestEndTime = latestEndTime;
return this;
}
/**
* Output only. Resource name of the participant. Format:
* `conferenceRecords/{conference_record}/participants/{participant}`
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* Output only. Resource name of the participant. Format:
* `conferenceRecords/{conference_record}/participants/{participant}`
* @param name name or {@code null} for none
*/
public Participant setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* User calling from their phone.
* @return value or {@code null} for none
*/
public PhoneUser getPhoneUser() {
return phoneUser;
}
/**
* User calling from their phone.
* @param phoneUser phoneUser or {@code null} for none
*/
public Participant setPhoneUser(PhoneUser phoneUser) {
this.phoneUser = phoneUser;
return this;
}
/**
* Signed-in user.
* @return value or {@code null} for none
*/
public SignedinUser getSignedinUser() {
return signedinUser;
}
/**
* Signed-in user.
* @param signedinUser signedinUser or {@code null} for none
*/
public Participant setSignedinUser(SignedinUser signedinUser) {
this.signedinUser = signedinUser;
return this;
}
@Override
public Participant set(String fieldName, Object value) {
return (Participant) super.set(fieldName, value);
}
@Override
public Participant clone() {
return (Participant) super.clone();
}
}