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

com.github.alexeylapin.m3u8.model.PlaylistVariable Maven / Gradle / Ivy

package com.github.alexeylapin.m3u8.model;

import org.immutables.value.Value;

import java.util.Optional;

@Value.Immutable
public interface PlaylistVariable {
    Optional name();
    Optional value();
    Optional importAttribute();

    static Builder builder() {
        return new Builder();
    }

    class Builder extends PlaylistVariableBuilder { }

    static PlaylistVariable of(String name, String value) {
        return PlaylistVariable.builder()
                .name(name)
                .value(value)
                .build();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy