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

nl.vpro.nep.sam.model.StreamProfileResponseItemAttributes Maven / Gradle / Ivy

There is a newer version: 8.3.1
Show newest version
/*
 * Stream Access Manager
 * Get access to a stream in order to view it
 *
 * The version of the OpenAPI document: 4.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package nl.vpro.nep.sam.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.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import nl.vpro.nep.sam.model.EncryptionTypeEnum;
import nl.vpro.nep.sam.model.ProfileTypeEnum;
import nl.vpro.nep.sam.model.ProtocolTypeEnum;
import nl.vpro.nep.sam.model.TechnicalStatusEnum;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;

/**
 * StreamProfileResponseItemAttributes
 */
@JsonPropertyOrder({
  StreamProfileResponseItemAttributes.JSON_PROPERTY_PROFILE,
  StreamProfileResponseItemAttributes.JSON_PROPERTY_VERSION,
  StreamProfileResponseItemAttributes.JSON_PROPERTY_PROTOCOL,
  StreamProfileResponseItemAttributes.JSON_PROPERTY_ENCRYPTION_TYPE,
  StreamProfileResponseItemAttributes.JSON_PROPERTY_TECHNICAL_STATUS
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T10:26:20.602909888Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class StreamProfileResponseItemAttributes {
  public static final String JSON_PROPERTY_PROFILE = "profile";
  private ProfileTypeEnum profile;

  public static final String JSON_PROPERTY_VERSION = "version";
  private Integer version;

  public static final String JSON_PROPERTY_PROTOCOL = "protocol";
  private ProtocolTypeEnum protocol;

  public static final String JSON_PROPERTY_ENCRYPTION_TYPE = "encryptionType";
  private EncryptionTypeEnum encryptionType;

  public static final String JSON_PROPERTY_TECHNICAL_STATUS = "technicalStatus";
  private TechnicalStatusEnum technicalStatus;

  public StreamProfileResponseItemAttributes() {
  }

  public StreamProfileResponseItemAttributes profile(ProfileTypeEnum profile) {
    
    this.profile = profile;
    return this;
  }

   /**
   * Get profile
   * @return profile
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_PROFILE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public ProfileTypeEnum getProfile() {
    return profile;
  }


  @JsonProperty(JSON_PROPERTY_PROFILE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setProfile(ProfileTypeEnum profile) {
    this.profile = profile;
  }

  public StreamProfileResponseItemAttributes version(Integer version) {
    
    this.version = version;
    return this;
  }

   /**
   * Get version
   * @return version
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_VERSION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getVersion() {
    return version;
  }


  @JsonProperty(JSON_PROPERTY_VERSION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setVersion(Integer version) {
    this.version = version;
  }

  public StreamProfileResponseItemAttributes protocol(ProtocolTypeEnum protocol) {
    
    this.protocol = protocol;
    return this;
  }

   /**
   * Get protocol
   * @return protocol
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_PROTOCOL)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public ProtocolTypeEnum getProtocol() {
    return protocol;
  }


  @JsonProperty(JSON_PROPERTY_PROTOCOL)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setProtocol(ProtocolTypeEnum protocol) {
    this.protocol = protocol;
  }

  public StreamProfileResponseItemAttributes encryptionType(EncryptionTypeEnum encryptionType) {
    
    this.encryptionType = encryptionType;
    return this;
  }

   /**
   * Get encryptionType
   * @return encryptionType
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_ENCRYPTION_TYPE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public EncryptionTypeEnum getEncryptionType() {
    return encryptionType;
  }


  @JsonProperty(JSON_PROPERTY_ENCRYPTION_TYPE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setEncryptionType(EncryptionTypeEnum encryptionType) {
    this.encryptionType = encryptionType;
  }

  public StreamProfileResponseItemAttributes technicalStatus(TechnicalStatusEnum technicalStatus) {
    
    this.technicalStatus = technicalStatus;
    return this;
  }

   /**
   * Get technicalStatus
   * @return technicalStatus
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_TECHNICAL_STATUS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public TechnicalStatusEnum getTechnicalStatus() {
    return technicalStatus;
  }


  @JsonProperty(JSON_PROPERTY_TECHNICAL_STATUS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setTechnicalStatus(TechnicalStatusEnum technicalStatus) {
    this.technicalStatus = technicalStatus;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    StreamProfileResponseItemAttributes streamProfileResponseItemAttributes = (StreamProfileResponseItemAttributes) o;
    return Objects.equals(this.profile, streamProfileResponseItemAttributes.profile) &&
        Objects.equals(this.version, streamProfileResponseItemAttributes.version) &&
        Objects.equals(this.protocol, streamProfileResponseItemAttributes.protocol) &&
        Objects.equals(this.encryptionType, streamProfileResponseItemAttributes.encryptionType) &&
        Objects.equals(this.technicalStatus, streamProfileResponseItemAttributes.technicalStatus);
  }

  @Override
  public int hashCode() {
    return Objects.hash(profile, version, protocol, encryptionType, technicalStatus);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class StreamProfileResponseItemAttributes {\n");
    sb.append("    profile: ").append(toIndentedString(profile)).append("\n");
    sb.append("    version: ").append(toIndentedString(version)).append("\n");
    sb.append("    protocol: ").append(toIndentedString(protocol)).append("\n");
    sb.append("    encryptionType: ").append(toIndentedString(encryptionType)).append("\n");
    sb.append("    technicalStatus: ").append(toIndentedString(technicalStatus)).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(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy