All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.symphonyoss.symphony.agent.model.V4Payload Maven / Gradle / Ivy
/*
* Agent API
* This document refers to Symphony API calls to send and receive messages and content. They need the on-premise Agent installed to perform decryption/encryption of content. - sessionToken and keyManagerToken can be obtained by calling the authenticationAPI on the symphony back end and the key manager respectively. Refer to the methods described in authenticatorAPI.yaml. - Actions are defined to be atomic, ie will succeed in their entirety or fail and have changed nothing. - If it returns a 40X status then it will have sent no message to any stream even if a request to aome subset of the requested streams would have succeeded. - If this contract cannot be met for any reason then this is an error and the response code will be 50X. - MessageML is a markup language for messages. See reference here: https://developers.symphony.com/documentation/message_format_reference
*
* OpenAPI spec version: 1.48.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package org.symphonyoss.symphony.agent.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.symphonyoss.symphony.agent.model.V4ConnectionAccepted;
import org.symphonyoss.symphony.agent.model.V4ConnectionRequested;
import org.symphonyoss.symphony.agent.model.V4InstantMessageCreated;
import org.symphonyoss.symphony.agent.model.V4MessageSent;
import org.symphonyoss.symphony.agent.model.V4MessageSuppressed;
import org.symphonyoss.symphony.agent.model.V4RoomCreated;
import org.symphonyoss.symphony.agent.model.V4RoomDeactivated;
import org.symphonyoss.symphony.agent.model.V4RoomMemberDemotedFromOwner;
import org.symphonyoss.symphony.agent.model.V4RoomMemberPromotedToOwner;
import org.symphonyoss.symphony.agent.model.V4RoomReactivated;
import org.symphonyoss.symphony.agent.model.V4RoomUpdated;
import org.symphonyoss.symphony.agent.model.V4SharedPost;
import org.symphonyoss.symphony.agent.model.V4UserJoinedRoom;
import org.symphonyoss.symphony.agent.model.V4UserLeftRoom;
/**
* V4Payload
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2017-10-14T03:33:40.723-04:00")
public class V4Payload {
@JsonProperty("messageSent")
private V4MessageSent messageSent = null;
@JsonProperty("sharedPost")
private V4SharedPost sharedPost = null;
@JsonProperty("instantMessageCreated")
private V4InstantMessageCreated instantMessageCreated = null;
@JsonProperty("roomCreated")
private V4RoomCreated roomCreated = null;
@JsonProperty("roomUpdated")
private V4RoomUpdated roomUpdated = null;
@JsonProperty("roomDeactivated")
private V4RoomDeactivated roomDeactivated = null;
@JsonProperty("roomReactivated")
private V4RoomReactivated roomReactivated = null;
@JsonProperty("userJoinedRoom")
private V4UserJoinedRoom userJoinedRoom = null;
@JsonProperty("userLeftRoom")
private V4UserLeftRoom userLeftRoom = null;
@JsonProperty("roomMemberPromotedToOwner")
private V4RoomMemberPromotedToOwner roomMemberPromotedToOwner = null;
@JsonProperty("roomMemberDemotedFromOwner")
private V4RoomMemberDemotedFromOwner roomMemberDemotedFromOwner = null;
@JsonProperty("connectionRequested")
private V4ConnectionRequested connectionRequested = null;
@JsonProperty("connectionAccepted")
private V4ConnectionAccepted connectionAccepted = null;
@JsonProperty("messageSuppressed")
private V4MessageSuppressed messageSuppressed = null;
public V4Payload messageSent(V4MessageSent messageSent) {
this.messageSent = messageSent;
return this;
}
/**
* Get messageSent
* @return messageSent
**/
@ApiModelProperty(example = "null", value = "")
public V4MessageSent getMessageSent() {
return messageSent;
}
public void setMessageSent(V4MessageSent messageSent) {
this.messageSent = messageSent;
}
public V4Payload sharedPost(V4SharedPost sharedPost) {
this.sharedPost = sharedPost;
return this;
}
/**
* Get sharedPost
* @return sharedPost
**/
@ApiModelProperty(example = "null", value = "")
public V4SharedPost getSharedPost() {
return sharedPost;
}
public void setSharedPost(V4SharedPost sharedPost) {
this.sharedPost = sharedPost;
}
public V4Payload instantMessageCreated(V4InstantMessageCreated instantMessageCreated) {
this.instantMessageCreated = instantMessageCreated;
return this;
}
/**
* Get instantMessageCreated
* @return instantMessageCreated
**/
@ApiModelProperty(example = "null", value = "")
public V4InstantMessageCreated getInstantMessageCreated() {
return instantMessageCreated;
}
public void setInstantMessageCreated(V4InstantMessageCreated instantMessageCreated) {
this.instantMessageCreated = instantMessageCreated;
}
public V4Payload roomCreated(V4RoomCreated roomCreated) {
this.roomCreated = roomCreated;
return this;
}
/**
* Get roomCreated
* @return roomCreated
**/
@ApiModelProperty(example = "null", value = "")
public V4RoomCreated getRoomCreated() {
return roomCreated;
}
public void setRoomCreated(V4RoomCreated roomCreated) {
this.roomCreated = roomCreated;
}
public V4Payload roomUpdated(V4RoomUpdated roomUpdated) {
this.roomUpdated = roomUpdated;
return this;
}
/**
* Get roomUpdated
* @return roomUpdated
**/
@ApiModelProperty(example = "null", value = "")
public V4RoomUpdated getRoomUpdated() {
return roomUpdated;
}
public void setRoomUpdated(V4RoomUpdated roomUpdated) {
this.roomUpdated = roomUpdated;
}
public V4Payload roomDeactivated(V4RoomDeactivated roomDeactivated) {
this.roomDeactivated = roomDeactivated;
return this;
}
/**
* Get roomDeactivated
* @return roomDeactivated
**/
@ApiModelProperty(example = "null", value = "")
public V4RoomDeactivated getRoomDeactivated() {
return roomDeactivated;
}
public void setRoomDeactivated(V4RoomDeactivated roomDeactivated) {
this.roomDeactivated = roomDeactivated;
}
public V4Payload roomReactivated(V4RoomReactivated roomReactivated) {
this.roomReactivated = roomReactivated;
return this;
}
/**
* Get roomReactivated
* @return roomReactivated
**/
@ApiModelProperty(example = "null", value = "")
public V4RoomReactivated getRoomReactivated() {
return roomReactivated;
}
public void setRoomReactivated(V4RoomReactivated roomReactivated) {
this.roomReactivated = roomReactivated;
}
public V4Payload userJoinedRoom(V4UserJoinedRoom userJoinedRoom) {
this.userJoinedRoom = userJoinedRoom;
return this;
}
/**
* Get userJoinedRoom
* @return userJoinedRoom
**/
@ApiModelProperty(example = "null", value = "")
public V4UserJoinedRoom getUserJoinedRoom() {
return userJoinedRoom;
}
public void setUserJoinedRoom(V4UserJoinedRoom userJoinedRoom) {
this.userJoinedRoom = userJoinedRoom;
}
public V4Payload userLeftRoom(V4UserLeftRoom userLeftRoom) {
this.userLeftRoom = userLeftRoom;
return this;
}
/**
* Get userLeftRoom
* @return userLeftRoom
**/
@ApiModelProperty(example = "null", value = "")
public V4UserLeftRoom getUserLeftRoom() {
return userLeftRoom;
}
public void setUserLeftRoom(V4UserLeftRoom userLeftRoom) {
this.userLeftRoom = userLeftRoom;
}
public V4Payload roomMemberPromotedToOwner(V4RoomMemberPromotedToOwner roomMemberPromotedToOwner) {
this.roomMemberPromotedToOwner = roomMemberPromotedToOwner;
return this;
}
/**
* Get roomMemberPromotedToOwner
* @return roomMemberPromotedToOwner
**/
@ApiModelProperty(example = "null", value = "")
public V4RoomMemberPromotedToOwner getRoomMemberPromotedToOwner() {
return roomMemberPromotedToOwner;
}
public void setRoomMemberPromotedToOwner(V4RoomMemberPromotedToOwner roomMemberPromotedToOwner) {
this.roomMemberPromotedToOwner = roomMemberPromotedToOwner;
}
public V4Payload roomMemberDemotedFromOwner(V4RoomMemberDemotedFromOwner roomMemberDemotedFromOwner) {
this.roomMemberDemotedFromOwner = roomMemberDemotedFromOwner;
return this;
}
/**
* Get roomMemberDemotedFromOwner
* @return roomMemberDemotedFromOwner
**/
@ApiModelProperty(example = "null", value = "")
public V4RoomMemberDemotedFromOwner getRoomMemberDemotedFromOwner() {
return roomMemberDemotedFromOwner;
}
public void setRoomMemberDemotedFromOwner(V4RoomMemberDemotedFromOwner roomMemberDemotedFromOwner) {
this.roomMemberDemotedFromOwner = roomMemberDemotedFromOwner;
}
public V4Payload connectionRequested(V4ConnectionRequested connectionRequested) {
this.connectionRequested = connectionRequested;
return this;
}
/**
* Get connectionRequested
* @return connectionRequested
**/
@ApiModelProperty(example = "null", value = "")
public V4ConnectionRequested getConnectionRequested() {
return connectionRequested;
}
public void setConnectionRequested(V4ConnectionRequested connectionRequested) {
this.connectionRequested = connectionRequested;
}
public V4Payload connectionAccepted(V4ConnectionAccepted connectionAccepted) {
this.connectionAccepted = connectionAccepted;
return this;
}
/**
* Get connectionAccepted
* @return connectionAccepted
**/
@ApiModelProperty(example = "null", value = "")
public V4ConnectionAccepted getConnectionAccepted() {
return connectionAccepted;
}
public void setConnectionAccepted(V4ConnectionAccepted connectionAccepted) {
this.connectionAccepted = connectionAccepted;
}
public V4Payload messageSuppressed(V4MessageSuppressed messageSuppressed) {
this.messageSuppressed = messageSuppressed;
return this;
}
/**
* Get messageSuppressed
* @return messageSuppressed
**/
@ApiModelProperty(example = "null", value = "")
public V4MessageSuppressed getMessageSuppressed() {
return messageSuppressed;
}
public void setMessageSuppressed(V4MessageSuppressed messageSuppressed) {
this.messageSuppressed = messageSuppressed;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V4Payload v4Payload = (V4Payload) o;
return Objects.equals(this.messageSent, v4Payload.messageSent) &&
Objects.equals(this.sharedPost, v4Payload.sharedPost) &&
Objects.equals(this.instantMessageCreated, v4Payload.instantMessageCreated) &&
Objects.equals(this.roomCreated, v4Payload.roomCreated) &&
Objects.equals(this.roomUpdated, v4Payload.roomUpdated) &&
Objects.equals(this.roomDeactivated, v4Payload.roomDeactivated) &&
Objects.equals(this.roomReactivated, v4Payload.roomReactivated) &&
Objects.equals(this.userJoinedRoom, v4Payload.userJoinedRoom) &&
Objects.equals(this.userLeftRoom, v4Payload.userLeftRoom) &&
Objects.equals(this.roomMemberPromotedToOwner, v4Payload.roomMemberPromotedToOwner) &&
Objects.equals(this.roomMemberDemotedFromOwner, v4Payload.roomMemberDemotedFromOwner) &&
Objects.equals(this.connectionRequested, v4Payload.connectionRequested) &&
Objects.equals(this.connectionAccepted, v4Payload.connectionAccepted) &&
Objects.equals(this.messageSuppressed, v4Payload.messageSuppressed);
}
@Override
public int hashCode() {
return Objects.hash(messageSent, sharedPost, instantMessageCreated, roomCreated, roomUpdated, roomDeactivated, roomReactivated, userJoinedRoom, userLeftRoom, roomMemberPromotedToOwner, roomMemberDemotedFromOwner, connectionRequested, connectionAccepted, messageSuppressed);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V4Payload {\n");
sb.append(" messageSent: ").append(toIndentedString(messageSent)).append("\n");
sb.append(" sharedPost: ").append(toIndentedString(sharedPost)).append("\n");
sb.append(" instantMessageCreated: ").append(toIndentedString(instantMessageCreated)).append("\n");
sb.append(" roomCreated: ").append(toIndentedString(roomCreated)).append("\n");
sb.append(" roomUpdated: ").append(toIndentedString(roomUpdated)).append("\n");
sb.append(" roomDeactivated: ").append(toIndentedString(roomDeactivated)).append("\n");
sb.append(" roomReactivated: ").append(toIndentedString(roomReactivated)).append("\n");
sb.append(" userJoinedRoom: ").append(toIndentedString(userJoinedRoom)).append("\n");
sb.append(" userLeftRoom: ").append(toIndentedString(userLeftRoom)).append("\n");
sb.append(" roomMemberPromotedToOwner: ").append(toIndentedString(roomMemberPromotedToOwner)).append("\n");
sb.append(" roomMemberDemotedFromOwner: ").append(toIndentedString(roomMemberDemotedFromOwner)).append("\n");
sb.append(" connectionRequested: ").append(toIndentedString(connectionRequested)).append("\n");
sb.append(" connectionAccepted: ").append(toIndentedString(connectionAccepted)).append("\n");
sb.append(" messageSuppressed: ").append(toIndentedString(messageSuppressed)).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 ");
}
}