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

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

There is a newer version: 8.0.5
Show newest version
package com.symphony.api.model;

import com.symphony.api.model.V2BaseMessage;
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;

/**
  * Generated when a room is deactivated.
 **/
@Schema(description="Generated when a room is deactivated.")
public class RoomDeactivatedMessage extends V2BaseMessage  {
  
  @Schema(description = "")
  private Long deactivatedByUserId = null;
 /**
   * Get deactivatedByUserId
   * @return deactivatedByUserId
  **/
  @JsonProperty("deactivatedByUserId")
  public Long getDeactivatedByUserId() {
    return deactivatedByUserId;
  }

  public void setDeactivatedByUserId(Long deactivatedByUserId) {
    this.deactivatedByUserId = deactivatedByUserId;
  }

  public RoomDeactivatedMessage deactivatedByUserId(Long deactivatedByUserId) {
    this.deactivatedByUserId = deactivatedByUserId;
    return this;
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class RoomDeactivatedMessage {\n");
    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
    sb.append("    deactivatedByUserId: ").append(toIndentedString(deactivatedByUserId)).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