nl.vpro.nep.sam.model.StreamAccessAttributes 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 java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
/**
* StreamAccessAttributes
*/
@JsonPropertyOrder({
StreamAccessAttributes.JSON_PROPERTY_VIEWER,
StreamAccessAttributes.JSON_PROPERTY_IP,
StreamAccessAttributes.JSON_PROPERTY_DURATION,
StreamAccessAttributes.JSON_PROPERTY_OPTIONS,
StreamAccessAttributes.JSON_PROPERTY_META_INFO
})
@JsonTypeName("StreamAccess_attributes")
@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 StreamAccessAttributes {
public static final String JSON_PROPERTY_VIEWER = "viewer";
private String viewer;
public static final String JSON_PROPERTY_IP = "ip";
private String ip;
public static final String JSON_PROPERTY_DURATION = "duration";
private Integer duration;
/**
* Gets or Sets options
*/
public enum OptionsEnum {
DEFAULT("default"),
STARTOVER("startOver");
private String value;
OptionsEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static OptionsEnum fromValue(String value) {
for (OptionsEnum b : OptionsEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
public static final String JSON_PROPERTY_OPTIONS = "options";
private OptionsEnum options;
public static final String JSON_PROPERTY_META_INFO = "metaInfo";
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy