com.mux.sdk.models.DRMConfigurationResponse Maven / Gradle / Ivy
/*
* Mux API
* Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
*
* The version of the OpenAPI document: v1
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.mux.sdk.models;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import com.mux.sdk.models.DRMConfiguration;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* DRMConfigurationResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class DRMConfigurationResponse {
public static final String SERIALIZED_NAME_DATA = "data";
@SerializedName(SERIALIZED_NAME_DATA)
private DRMConfiguration data;
public DRMConfigurationResponse data(DRMConfiguration data) {
this.data = data;
return this;
}
/**
* Get data
* @return data
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public DRMConfiguration getData() {
return data;
}
public void setData(DRMConfiguration data) {
this.data = data;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DRMConfigurationResponse drMConfigurationResponse = (DRMConfigurationResponse) o;
return Objects.equals(this.data, drMConfigurationResponse.data);
}
@Override
public int hashCode() {
return Objects.hash(data);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DRMConfigurationResponse {\n");
sb.append(" data: ").append(toIndentedString(data)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy