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();
}
}