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.V4RoomProperties 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 java.util.ArrayList;
import java.util.List;
import org.symphonyoss.symphony.agent.model.V4KeyValuePair;
import org.symphonyoss.symphony.agent.model.V4User;
/**
* V4RoomProperties
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2017-10-14T03:33:40.723-04:00")
public class V4RoomProperties {
@JsonProperty("name")
private String name = null;
@JsonProperty("description")
private String description = null;
@JsonProperty("creatorUser")
private V4User creatorUser = null;
@JsonProperty("createdDate")
private Long createdDate = null;
@JsonProperty("external")
private Boolean external = null;
@JsonProperty("public")
private Boolean _public = null;
@JsonProperty("copyProtected")
private Boolean copyProtected = null;
@JsonProperty("readOnly")
private Boolean readOnly = null;
@JsonProperty("discoverable")
private Boolean discoverable = null;
@JsonProperty("membersCanInvite")
private Boolean membersCanInvite = null;
@JsonProperty("keywords")
private List keywords = new ArrayList();
public V4RoomProperties name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(example = "null", value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public V4RoomProperties description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@ApiModelProperty(example = "null", value = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public V4RoomProperties creatorUser(V4User creatorUser) {
this.creatorUser = creatorUser;
return this;
}
/**
* Get creatorUser
* @return creatorUser
**/
@ApiModelProperty(example = "null", value = "")
public V4User getCreatorUser() {
return creatorUser;
}
public void setCreatorUser(V4User creatorUser) {
this.creatorUser = creatorUser;
}
public V4RoomProperties createdDate(Long createdDate) {
this.createdDate = createdDate;
return this;
}
/**
* Timestamp
* @return createdDate
**/
@ApiModelProperty(example = "null", value = "Timestamp")
public Long getCreatedDate() {
return createdDate;
}
public void setCreatedDate(Long createdDate) {
this.createdDate = createdDate;
}
public V4RoomProperties external(Boolean external) {
this.external = external;
return this;
}
/**
* Get external
* @return external
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getExternal() {
return external;
}
public void setExternal(Boolean external) {
this.external = external;
}
public V4RoomProperties _public(Boolean _public) {
this._public = _public;
return this;
}
/**
* Get _public
* @return _public
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getPublic() {
return _public;
}
public void setPublic(Boolean _public) {
this._public = _public;
}
public V4RoomProperties copyProtected(Boolean copyProtected) {
this.copyProtected = copyProtected;
return this;
}
/**
* Get copyProtected
* @return copyProtected
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getCopyProtected() {
return copyProtected;
}
public void setCopyProtected(Boolean copyProtected) {
this.copyProtected = copyProtected;
}
public V4RoomProperties readOnly(Boolean readOnly) {
this.readOnly = readOnly;
return this;
}
/**
* Get readOnly
* @return readOnly
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getReadOnly() {
return readOnly;
}
public void setReadOnly(Boolean readOnly) {
this.readOnly = readOnly;
}
public V4RoomProperties discoverable(Boolean discoverable) {
this.discoverable = discoverable;
return this;
}
/**
* Get discoverable
* @return discoverable
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getDiscoverable() {
return discoverable;
}
public void setDiscoverable(Boolean discoverable) {
this.discoverable = discoverable;
}
public V4RoomProperties membersCanInvite(Boolean membersCanInvite) {
this.membersCanInvite = membersCanInvite;
return this;
}
/**
* Get membersCanInvite
* @return membersCanInvite
**/
@ApiModelProperty(example = "null", value = "")
public Boolean getMembersCanInvite() {
return membersCanInvite;
}
public void setMembersCanInvite(Boolean membersCanInvite) {
this.membersCanInvite = membersCanInvite;
}
public V4RoomProperties keywords(List keywords) {
this.keywords = keywords;
return this;
}
public V4RoomProperties addKeywordsItem(V4KeyValuePair keywordsItem) {
this.keywords.add(keywordsItem);
return this;
}
/**
* Get keywords
* @return keywords
**/
@ApiModelProperty(example = "null", value = "")
public List getKeywords() {
return keywords;
}
public void setKeywords(List keywords) {
this.keywords = keywords;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V4RoomProperties v4RoomProperties = (V4RoomProperties) o;
return Objects.equals(this.name, v4RoomProperties.name) &&
Objects.equals(this.description, v4RoomProperties.description) &&
Objects.equals(this.creatorUser, v4RoomProperties.creatorUser) &&
Objects.equals(this.createdDate, v4RoomProperties.createdDate) &&
Objects.equals(this.external, v4RoomProperties.external) &&
Objects.equals(this._public, v4RoomProperties._public) &&
Objects.equals(this.copyProtected, v4RoomProperties.copyProtected) &&
Objects.equals(this.readOnly, v4RoomProperties.readOnly) &&
Objects.equals(this.discoverable, v4RoomProperties.discoverable) &&
Objects.equals(this.membersCanInvite, v4RoomProperties.membersCanInvite) &&
Objects.equals(this.keywords, v4RoomProperties.keywords);
}
@Override
public int hashCode() {
return Objects.hash(name, description, creatorUser, createdDate, external, _public, copyProtected, readOnly, discoverable, membersCanInvite, keywords);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V4RoomProperties {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" creatorUser: ").append(toIndentedString(creatorUser)).append("\n");
sb.append(" createdDate: ").append(toIndentedString(createdDate)).append("\n");
sb.append(" external: ").append(toIndentedString(external)).append("\n");
sb.append(" _public: ").append(toIndentedString(_public)).append("\n");
sb.append(" copyProtected: ").append(toIndentedString(copyProtected)).append("\n");
sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n");
sb.append(" discoverable: ").append(toIndentedString(discoverable)).append("\n");
sb.append(" membersCanInvite: ").append(toIndentedString(membersCanInvite)).append("\n");
sb.append(" keywords: ").append(toIndentedString(keywords)).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 ");
}
}