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

nl.vpro.domain.media.update.ItemizeResponse Maven / Gradle / Ivy

Go to download

The basic domain classes for 'media', the core of POMS. Also, the 'update' XML bindings for it. It also contains some closely related domain classes like the enum to contain NICAM kijkwijzer settings.

There is a newer version: 8.3.1
Show newest version
package nl.vpro.domain.media.update;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Singular;

import java.net.URI;
import java.util.List;

import jakarta.validation.constraints.NotNull;
import jakarta.xml.bind.annotation.*;

/**
 * @author Michiel Meeuwissen
 * @since 5.6
 */
@Data
@AllArgsConstructor
@lombok.Builder(builderClassName = "Builder")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "itemizeResponseType")
@XmlRootElement(name = "itemizeResponse")
public class ItemizeResponse {


    @NotNull
    @XmlElements(value = {
        @XmlElement(name="request",
            type=ItemizeRequest.class),
        @XmlElement(name="liverequest",
            type=LiveItemizeRequest.class)
    })
    private Object request;

    @XmlAttribute
    private boolean success;

    @Singular
    @XmlElement(name = "result")
    private List results;

    private String id;


    public ItemizeResponse() {

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy