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

com.bitmovin.api.sdk.model.StreamsLiveCreateRequest Maven / Gradle / Ivy

There is a newer version: 1.205.0
Show newest version
package com.bitmovin.api.sdk.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

/**
 * StreamsLiveCreateRequest
 */

public class StreamsLiveCreateRequest {
  @JsonProperty("title")
  private String title;

  @JsonProperty("description")
  private String description;

  @JsonProperty("domainRestrictionId")
  private String domainRestrictionId;


  /**
   * Title of the stream
   * @return title
   */
  public String getTitle() {
    return title;
  }

  /**
   * Title of the stream
   *
   * @param title
   *        Title of the stream
   */
  public void setTitle(String title) {
    this.title = title;
  }


  /**
   * Description of the stream
   * @return description
   */
  public String getDescription() {
    return description;
  }

  /**
   * Description of the stream
   *
   * @param description
   *        Description of the stream
   */
  public void setDescription(String description) {
    this.description = description;
  }


  /**
   * Id of the domain restriction config to use
   * @return domainRestrictionId
   */
  public String getDomainRestrictionId() {
    return domainRestrictionId;
  }

  /**
   * Id of the domain restriction config to use
   *
   * @param domainRestrictionId
   *        Id of the domain restriction config to use
   */
  public void setDomainRestrictionId(String domainRestrictionId) {
    this.domainRestrictionId = domainRestrictionId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    StreamsLiveCreateRequest streamsLiveCreateRequest = (StreamsLiveCreateRequest) o;
    return Objects.equals(this.title, streamsLiveCreateRequest.title) &&
        Objects.equals(this.description, streamsLiveCreateRequest.description) &&
        Objects.equals(this.domainRestrictionId, streamsLiveCreateRequest.domainRestrictionId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(title, description, domainRestrictionId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class StreamsLiveCreateRequest {\n");
    
    sb.append("    title: ").append(toIndentedString(title)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    domainRestrictionId: ").append(toIndentedString(domainRestrictionId)).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    ");
  }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy