com.bitmovin.api.sdk.model.AccountApiKey Maven / Gradle / Ivy
package com.bitmovin.api.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.bitmovin.api.sdk.model.BitmovinResource;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
/**
* AccountApiKey
*/
public class AccountApiKey extends BitmovinResource {
@JsonProperty("value")
private String value;
/**
* Key value for authentication with the Bitmovin API (required)
* @return value
*/
public String getValue() {
return value;
}
/**
* Key value for authentication with the Bitmovin API (required)
*
* @param value
* Key value for authentication with the Bitmovin API (required)
*/
public void setValue(String value) {
this.value = value;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AccountApiKey accountApiKey = (AccountApiKey) o;
return Objects.equals(this.value, accountApiKey.value) &&
super.equals(o);
}
@Override
public int hashCode() {
return Objects.hash(value, super.hashCode());
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AccountApiKey {\n");
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
sb.append(" value: ").append(toIndentedString(value)).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 ");
}
}