nl.vpro.nep.sam.model.StreamFlatReadOnlyProperties 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 com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
/**
* StreamFlatReadOnlyProperties
*/
@JsonPropertyOrder({
StreamFlatReadOnlyProperties.JSON_PROPERTY_ARCHIVED_AT,
StreamFlatReadOnlyProperties.JSON_PROPERTY_DELETE_AT
})
@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 StreamFlatReadOnlyProperties {
public static final String JSON_PROPERTY_ARCHIVED_AT = "archivedAt";
private String archivedAt;
public static final String JSON_PROPERTY_DELETE_AT = "deleteAt";
private String deleteAt;
public StreamFlatReadOnlyProperties() {
}
public StreamFlatReadOnlyProperties archivedAt(String archivedAt) {
this.archivedAt = archivedAt;
return this;
}
/**
* Date at which the stream was archived
* @return archivedAt
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARCHIVED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getArchivedAt() {
return archivedAt;
}
@JsonProperty(JSON_PROPERTY_ARCHIVED_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArchivedAt(String archivedAt) {
this.archivedAt = archivedAt;
}
public StreamFlatReadOnlyProperties deleteAt(String deleteAt) {
this.deleteAt = deleteAt;
return this;
}
/**
* Date at which the stream is to be deleted
* @return deleteAt
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DELETE_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDeleteAt() {
return deleteAt;
}
@JsonProperty(JSON_PROPERTY_DELETE_AT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeleteAt(String deleteAt) {
this.deleteAt = deleteAt;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
StreamFlatReadOnlyProperties streamFlatReadOnlyProperties = (StreamFlatReadOnlyProperties) o;
return Objects.equals(this.archivedAt, streamFlatReadOnlyProperties.archivedAt) &&
Objects.equals(this.deleteAt, streamFlatReadOnlyProperties.deleteAt);
}
@Override
public int hashCode() {
return Objects.hash(archivedAt, deleteAt);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StreamFlatReadOnlyProperties {\n");
sb.append(" archivedAt: ").append(toIndentedString(archivedAt)).append("\n");
sb.append(" deleteAt: ").append(toIndentedString(deleteAt)).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