nl.vpro.nep.sam.model.StreamProfileItemResponseAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-nep Show documentation
Show all versions of media-nep Show documentation
Support for the several APIs of NEP that POMS is integrating with
/*
* 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;
/**
* StreamProfileItemResponseAttributes
*/
@JsonPropertyOrder({
StreamProfileItemResponseAttributes.JSON_PROPERTY_PROFILE,
StreamProfileItemResponseAttributes.JSON_PROPERTY_VERSION,
StreamProfileItemResponseAttributes.JSON_PROPERTY_PROTOCOL,
StreamProfileItemResponseAttributes.JSON_PROPERTY_ENCRYPTION_TYPE,
StreamProfileItemResponseAttributes.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 StreamProfileItemResponseAttributes {
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 StreamProfileItemResponseAttributes() {
}
public StreamProfileItemResponseAttributes profile(ProfileTypeEnum profile) {
this.profile = profile;
return this;
}
/**
* Get profile
* @return profile
**/
@jakarta.annotation.Nonnull
@NotNull
@Valid
@JsonProperty(JSON_PROPERTY_PROFILE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public ProfileTypeEnum getProfile() {
return profile;
}
@JsonProperty(JSON_PROPERTY_PROFILE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setProfile(ProfileTypeEnum profile) {
this.profile = profile;
}
public StreamProfileItemResponseAttributes 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 StreamProfileItemResponseAttributes 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 StreamProfileItemResponseAttributes 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 StreamProfileItemResponseAttributes 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;
}
StreamProfileItemResponseAttributes streamProfileItemResponseAttributes = (StreamProfileItemResponseAttributes) o;
return Objects.equals(this.profile, streamProfileItemResponseAttributes.profile) &&
Objects.equals(this.version, streamProfileItemResponseAttributes.version) &&
Objects.equals(this.protocol, streamProfileItemResponseAttributes.protocol) &&
Objects.equals(this.encryptionType, streamProfileItemResponseAttributes.encryptionType) &&
Objects.equals(this.technicalStatus, streamProfileItemResponseAttributes.technicalStatus);
}
@Override
public int hashCode() {
return Objects.hash(profile, version, protocol, encryptionType, technicalStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StreamProfileItemResponseAttributes {\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