com.bitmovin.api.sdk.model.AdaptationSet Maven / Gradle / Ivy
package com.bitmovin.api.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.bitmovin.api.sdk.model.Accessibility;
import com.bitmovin.api.sdk.model.AdaptationSetRole;
import com.bitmovin.api.sdk.model.BitmovinResponse;
import com.bitmovin.api.sdk.model.CustomAttribute;
import com.bitmovin.api.sdk.model.Label;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
/**
* AdaptationSet
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", visible = false, defaultImpl = AdaptationSet.class)
@JsonSubTypes({
@JsonSubTypes.Type(value = VideoAdaptationSet.class, name = "VIDEO"),
@JsonSubTypes.Type(value = AudioAdaptationSet.class, name = "AUDIO"),
@JsonSubTypes.Type(value = ImageAdaptationSet.class, name = "IMAGE"),
@JsonSubTypes.Type(value = SubtitleAdaptationSet.class, name = "SUBTITLE"),
})
public class AdaptationSet extends BitmovinResponse {
@JsonProperty("customAttributes")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List customAttributes = new ArrayList();
@JsonProperty("roles")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List roles = new ArrayList();
@JsonProperty("accessibilities")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List accessibilities = new ArrayList();
@JsonProperty("labels")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List