com.bitmovin.api.sdk.model.WebVttStyling Maven / Gradle / Ivy
package com.bitmovin.api.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.bitmovin.api.sdk.model.WebVttStylingMode;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
/**
* WebVttStyling
*/
public class WebVttStyling {
@JsonProperty("mode")
private WebVttStylingMode mode;
/**
* Get mode
* @return mode
*/
public WebVttStylingMode getMode() {
return mode;
}
/**
* Set mode
*
* @param mode
*/
public void setMode(WebVttStylingMode mode) {
this.mode = mode;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WebVttStyling webVttStyling = (WebVttStyling) o;
return Objects.equals(this.mode, webVttStyling.mode);
}
@Override
public int hashCode() {
return Objects.hash(mode);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WebVttStyling {\n");
sb.append(" mode: ").append(toIndentedString(mode)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}