com.mypurecloud.sdk.model.ScreenRecordingSession Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-client Show documentation
Show all versions of platform-client Show documentation
The official Java SDK for the PureCloud Platform API SDK
The newest version!
package com.mypurecloud.sdk.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.mypurecloud.sdk.model.Conversation;
import com.mypurecloud.sdk.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.io.Serializable;
/**
* ScreenRecordingSession
*/
public class ScreenRecordingSession implements Serializable {
private String id = null;
private String name = null;
private User user = null;
private String participantId = null;
private Conversation conversation = null;
private Date startTime = null;
private String selfUri = null;
@ApiModelProperty(example = "null", value = "The globally unique identifier for the object.")
@JsonProperty("id")
public String getId() {
return id;
}
/**
**/
public ScreenRecordingSession name(String name) {
this.name = name;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
**/
public ScreenRecordingSession user(User user) {
this.user = user;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("user")
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
/**
* The id of the participant whose screen is being recorded on the conversation
**/
public ScreenRecordingSession participantId(String participantId) {
this.participantId = participantId;
return this;
}
@ApiModelProperty(example = "null", value = "The id of the participant whose screen is being recorded on the conversation")
@JsonProperty("participantId")
public String getParticipantId() {
return participantId;
}
public void setParticipantId(String participantId) {
this.participantId = participantId;
}
/**
**/
public ScreenRecordingSession conversation(Conversation conversation) {
this.conversation = conversation;
return this;
}
@ApiModelProperty(example = "null", value = "")
@JsonProperty("conversation")
public Conversation getConversation() {
return conversation;
}
public void setConversation(Conversation conversation) {
this.conversation = conversation;
}
/**
* Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
**/
public ScreenRecordingSession startTime(Date startTime) {
this.startTime = startTime;
return this;
}
@ApiModelProperty(example = "null", value = "Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ")
@JsonProperty("startTime")
public Date getStartTime() {
return startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
@ApiModelProperty(example = "null", value = "The URI for this object")
@JsonProperty("selfUri")
public String getSelfUri() {
return selfUri;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ScreenRecordingSession screenRecordingSession = (ScreenRecordingSession) o;
return Objects.equals(this.id, screenRecordingSession.id) &&
Objects.equals(this.name, screenRecordingSession.name) &&
Objects.equals(this.user, screenRecordingSession.user) &&
Objects.equals(this.participantId, screenRecordingSession.participantId) &&
Objects.equals(this.conversation, screenRecordingSession.conversation) &&
Objects.equals(this.startTime, screenRecordingSession.startTime) &&
Objects.equals(this.selfUri, screenRecordingSession.selfUri);
}
@Override
public int hashCode() {
return Objects.hash(id, name, user, participantId, conversation, startTime, selfUri);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ScreenRecordingSession {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" user: ").append(toIndentedString(user)).append("\n");
sb.append(" participantId: ").append(toIndentedString(participantId)).append("\n");
sb.append(" conversation: ").append(toIndentedString(conversation)).append("\n");
sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n");
sb.append(" selfUri: ").append(toIndentedString(selfUri)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}