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

com.symphony.bdk.bot.sdk.event.model.RoomUpdatedEvent Maven / Gradle / Ivy

package com.symphony.bdk.bot.sdk.event.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import model.events.RoomUpdated;

/**
 * Symphony Room updated event
 *
 * @author Marcus Secato
 */
@Data
@NoArgsConstructor
public class RoomUpdatedEvent extends BaseEvent {

  private RoomDetails room;
  private StreamDetails stream;

  public RoomUpdatedEvent(RoomUpdated event) {
    this.streamId = event.getStream().getStreamId();
    this.room = new RoomDetails(event.getNewRoomProperties());
    this.stream = new StreamDetails(event.getStream());
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy