com.github.twitch4j.helix.domain.Commercial Maven / Gradle / Ivy
package com.github.twitch4j.helix.domain;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Data
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
public class Commercial {
/**
* Length of the triggered commercial
*/
private Integer length;
/**
* Provides contextual information on why the request failed
*/
private String message;
/**
* Seconds until the next commercial can be served on this channel
*/
private Integer retryAfter;
}