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

com.symphony.api.model.V1DLPStream Maven / Gradle / Ivy

package com.symphony.api.model;

import io.swagger.v3.oas.annotations.media.Schema;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.annotation.JsonCreator;

/**
  * Room details in the context of violation.
 **/
@Schema(description="Room details in the context of violation.")
public class V1DLPStream   {
  
  @Schema(description = "Name of the Stream/Room.")
 /**
   * Name of the Stream/Room.  
  **/
  private String name = null;
  
  @Schema(description = "Name of the creator of the Room.")
 /**
   * Name of the creator of the Room.  
  **/
  private String creatorPrettyName = null;
  
  @Schema(description = "Is this a public room?")
 /**
   * Is this a public room?  
  **/
  private Boolean publicRoom = null;
  
  @Schema(description = "Is this a cross pod scenario?")
 /**
   * Is this a cross pod scenario?  
  **/
  private Boolean crossPod = null;
  
  @Schema(description = "Is external messaging allowed")
 /**
   * Is external messaging allowed  
  **/
  private Boolean allowExternal = null;
  
  @Schema(description = "Id of the creator of the Room.")
 /**
   * Id of the creator of the Room.  
  **/
  private String creatorId = null;
  
  @Schema(description = "Description of the Room.")
 /**
   * Description of the Room.  
  **/
  private String roomDescription = null;
  
  @Schema(description = "ThreadId of the Room.")
 /**
   * ThreadId of the Room.  
  **/
  private String streamId = null;
  
  @Schema(description = "State of the Room (example CREATED etc)")
 /**
   * State of the Room (example CREATED etc)  
  **/
  private String state = null;
  
  @Schema(description = "Type of the Room (example ROOM (or IM or Wall))")
 /**
   * Type of the Room (example ROOM (or IM or Wall))  
  **/
  private String type = null;
  
  @Schema(description = "Timestamp of last time the room is Disabled")
 /**
   * Timestamp of last time the room is Disabled  
  **/
  private Long lastDisabled = null;
  
  @Schema(description = "Is memberAddUserEnabled")
 /**
   * Is memberAddUserEnabled  
  **/
  private Boolean memberAddUserEnabled = null;
  
  @Schema(description = "Is Room Active")
 /**
   * Is Room Active  
  **/
  private Boolean active = null;
  
  @Schema(description = "Is Room discoverable")
 /**
   * Is Room discoverable  
  **/
  private Boolean discoverable = null;
  
  @Schema(description = "Is Room read-only")
 /**
   * Is Room read-only  
  **/
  private Boolean readOnly = null;
  
  @Schema(description = "Is Room copyDisabled")
 /**
   * Is Room copyDisabled  
  **/
  private Boolean copyDisabled = null;
  
  @Schema(description = "Is Room externalOwned")
 /**
   * Is Room externalOwned  
  **/
  private Boolean externalOwned = null;
  
  @Schema(description = "Is sendMessage Disabled for this Room")
 /**
   * Is sendMessage Disabled for this Room  
  **/
  private Boolean sendMessageDisabled = null;
  
  @Schema(description = "Is room moderated")
 /**
   * Is room moderated  
  **/
  private Boolean moderated = null;
  
  @Schema(description = "Is room shareHistoryEnabled")
 /**
   * Is room shareHistoryEnabled  
  **/
  private Boolean shareHistoryEnabled = null;
  
  @Schema(description = "A diagnostic message containing an error message in the event that the stream retrieval failed. May also be present in the case of a successful call if there is useful narrative to return. ")
 /**
   * A diagnostic message containing an error message in the event that the stream retrieval failed. May also be present in the case of a successful call if there is useful narrative to return.   
  **/
  private String diagnostic = null;
 /**
   * Name of the Stream/Room.
   * @return name
  **/
  @JsonProperty("name")
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public V1DLPStream name(String name) {
    this.name = name;
    return this;
  }

 /**
   * Name of the creator of the Room.
   * @return creatorPrettyName
  **/
  @JsonProperty("creatorPrettyName")
  public String getCreatorPrettyName() {
    return creatorPrettyName;
  }

  public void setCreatorPrettyName(String creatorPrettyName) {
    this.creatorPrettyName = creatorPrettyName;
  }

  public V1DLPStream creatorPrettyName(String creatorPrettyName) {
    this.creatorPrettyName = creatorPrettyName;
    return this;
  }

 /**
   * Is this a public room?
   * @return publicRoom
  **/
  @JsonProperty("publicRoom")
  public Boolean isPublicRoom() {
    return publicRoom;
  }

  public void setPublicRoom(Boolean publicRoom) {
    this.publicRoom = publicRoom;
  }

  public V1DLPStream publicRoom(Boolean publicRoom) {
    this.publicRoom = publicRoom;
    return this;
  }

 /**
   * Is this a cross pod scenario?
   * @return crossPod
  **/
  @JsonProperty("crossPod")
  public Boolean isCrossPod() {
    return crossPod;
  }

  public void setCrossPod(Boolean crossPod) {
    this.crossPod = crossPod;
  }

  public V1DLPStream crossPod(Boolean crossPod) {
    this.crossPod = crossPod;
    return this;
  }

 /**
   * Is external messaging allowed
   * @return allowExternal
  **/
  @JsonProperty("allowExternal")
  public Boolean isAllowExternal() {
    return allowExternal;
  }

  public void setAllowExternal(Boolean allowExternal) {
    this.allowExternal = allowExternal;
  }

  public V1DLPStream allowExternal(Boolean allowExternal) {
    this.allowExternal = allowExternal;
    return this;
  }

 /**
   * Id of the creator of the Room.
   * @return creatorId
  **/
  @JsonProperty("creatorId")
  public String getCreatorId() {
    return creatorId;
  }

  public void setCreatorId(String creatorId) {
    this.creatorId = creatorId;
  }

  public V1DLPStream creatorId(String creatorId) {
    this.creatorId = creatorId;
    return this;
  }

 /**
   * Description of the Room.
   * @return roomDescription
  **/
  @JsonProperty("roomDescription")
  public String getRoomDescription() {
    return roomDescription;
  }

  public void setRoomDescription(String roomDescription) {
    this.roomDescription = roomDescription;
  }

  public V1DLPStream roomDescription(String roomDescription) {
    this.roomDescription = roomDescription;
    return this;
  }

 /**
   * ThreadId of the Room.
   * @return streamId
  **/
  @JsonProperty("streamId")
  public String getStreamId() {
    return streamId;
  }

  public void setStreamId(String streamId) {
    this.streamId = streamId;
  }

  public V1DLPStream streamId(String streamId) {
    this.streamId = streamId;
    return this;
  }

 /**
   * State of the Room (example CREATED etc)
   * @return state
  **/
  @JsonProperty("state")
  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }

  public V1DLPStream state(String state) {
    this.state = state;
    return this;
  }

 /**
   * Type of the Room (example ROOM (or IM or Wall))
   * @return type
  **/
  @JsonProperty("type")
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public V1DLPStream type(String type) {
    this.type = type;
    return this;
  }

 /**
   * Timestamp of last time the room is Disabled
   * @return lastDisabled
  **/
  @JsonProperty("lastDisabled")
  public Long getLastDisabled() {
    return lastDisabled;
  }

  public void setLastDisabled(Long lastDisabled) {
    this.lastDisabled = lastDisabled;
  }

  public V1DLPStream lastDisabled(Long lastDisabled) {
    this.lastDisabled = lastDisabled;
    return this;
  }

 /**
   * Is memberAddUserEnabled
   * @return memberAddUserEnabled
  **/
  @JsonProperty("memberAddUserEnabled")
  public Boolean isMemberAddUserEnabled() {
    return memberAddUserEnabled;
  }

  public void setMemberAddUserEnabled(Boolean memberAddUserEnabled) {
    this.memberAddUserEnabled = memberAddUserEnabled;
  }

  public V1DLPStream memberAddUserEnabled(Boolean memberAddUserEnabled) {
    this.memberAddUserEnabled = memberAddUserEnabled;
    return this;
  }

 /**
   * Is Room Active
   * @return active
  **/
  @JsonProperty("active")
  public Boolean isActive() {
    return active;
  }

  public void setActive(Boolean active) {
    this.active = active;
  }

  public V1DLPStream active(Boolean active) {
    this.active = active;
    return this;
  }

 /**
   * Is Room discoverable
   * @return discoverable
  **/
  @JsonProperty("discoverable")
  public Boolean isDiscoverable() {
    return discoverable;
  }

  public void setDiscoverable(Boolean discoverable) {
    this.discoverable = discoverable;
  }

  public V1DLPStream discoverable(Boolean discoverable) {
    this.discoverable = discoverable;
    return this;
  }

 /**
   * Is Room read-only
   * @return readOnly
  **/
  @JsonProperty("readOnly")
  public Boolean isReadOnly() {
    return readOnly;
  }

  public void setReadOnly(Boolean readOnly) {
    this.readOnly = readOnly;
  }

  public V1DLPStream readOnly(Boolean readOnly) {
    this.readOnly = readOnly;
    return this;
  }

 /**
   * Is Room copyDisabled
   * @return copyDisabled
  **/
  @JsonProperty("copyDisabled")
  public Boolean isCopyDisabled() {
    return copyDisabled;
  }

  public void setCopyDisabled(Boolean copyDisabled) {
    this.copyDisabled = copyDisabled;
  }

  public V1DLPStream copyDisabled(Boolean copyDisabled) {
    this.copyDisabled = copyDisabled;
    return this;
  }

 /**
   * Is Room externalOwned
   * @return externalOwned
  **/
  @JsonProperty("externalOwned")
  public Boolean isExternalOwned() {
    return externalOwned;
  }

  public void setExternalOwned(Boolean externalOwned) {
    this.externalOwned = externalOwned;
  }

  public V1DLPStream externalOwned(Boolean externalOwned) {
    this.externalOwned = externalOwned;
    return this;
  }

 /**
   * Is sendMessage Disabled for this Room
   * @return sendMessageDisabled
  **/
  @JsonProperty("sendMessageDisabled")
  public Boolean isSendMessageDisabled() {
    return sendMessageDisabled;
  }

  public void setSendMessageDisabled(Boolean sendMessageDisabled) {
    this.sendMessageDisabled = sendMessageDisabled;
  }

  public V1DLPStream sendMessageDisabled(Boolean sendMessageDisabled) {
    this.sendMessageDisabled = sendMessageDisabled;
    return this;
  }

 /**
   * Is room moderated
   * @return moderated
  **/
  @JsonProperty("moderated")
  public Boolean isModerated() {
    return moderated;
  }

  public void setModerated(Boolean moderated) {
    this.moderated = moderated;
  }

  public V1DLPStream moderated(Boolean moderated) {
    this.moderated = moderated;
    return this;
  }

 /**
   * Is room shareHistoryEnabled
   * @return shareHistoryEnabled
  **/
  @JsonProperty("shareHistoryEnabled")
  public Boolean isShareHistoryEnabled() {
    return shareHistoryEnabled;
  }

  public void setShareHistoryEnabled(Boolean shareHistoryEnabled) {
    this.shareHistoryEnabled = shareHistoryEnabled;
  }

  public V1DLPStream shareHistoryEnabled(Boolean shareHistoryEnabled) {
    this.shareHistoryEnabled = shareHistoryEnabled;
    return this;
  }

 /**
   * A diagnostic message containing an error message in the event that the stream retrieval failed. May also be present in the case of a successful call if there is useful narrative to return. 
   * @return diagnostic
  **/
  @JsonProperty("diagnostic")
  public String getDiagnostic() {
    return diagnostic;
  }

  public void setDiagnostic(String diagnostic) {
    this.diagnostic = diagnostic;
  }

  public V1DLPStream diagnostic(String diagnostic) {
    this.diagnostic = diagnostic;
    return this;
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class V1DLPStream {\n");
    
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    creatorPrettyName: ").append(toIndentedString(creatorPrettyName)).append("\n");
    sb.append("    publicRoom: ").append(toIndentedString(publicRoom)).append("\n");
    sb.append("    crossPod: ").append(toIndentedString(crossPod)).append("\n");
    sb.append("    allowExternal: ").append(toIndentedString(allowExternal)).append("\n");
    sb.append("    creatorId: ").append(toIndentedString(creatorId)).append("\n");
    sb.append("    roomDescription: ").append(toIndentedString(roomDescription)).append("\n");
    sb.append("    streamId: ").append(toIndentedString(streamId)).append("\n");
    sb.append("    state: ").append(toIndentedString(state)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    lastDisabled: ").append(toIndentedString(lastDisabled)).append("\n");
    sb.append("    memberAddUserEnabled: ").append(toIndentedString(memberAddUserEnabled)).append("\n");
    sb.append("    active: ").append(toIndentedString(active)).append("\n");
    sb.append("    discoverable: ").append(toIndentedString(discoverable)).append("\n");
    sb.append("    readOnly: ").append(toIndentedString(readOnly)).append("\n");
    sb.append("    copyDisabled: ").append(toIndentedString(copyDisabled)).append("\n");
    sb.append("    externalOwned: ").append(toIndentedString(externalOwned)).append("\n");
    sb.append("    sendMessageDisabled: ").append(toIndentedString(sendMessageDisabled)).append("\n");
    sb.append("    moderated: ").append(toIndentedString(moderated)).append("\n");
    sb.append("    shareHistoryEnabled: ").append(toIndentedString(shareHistoryEnabled)).append("\n");
    sb.append("    diagnostic: ").append(toIndentedString(diagnostic)).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 static String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy