com.bitmovin.api.sdk.model.UpdateOrganizationRequest Maven / Gradle / Ivy
package com.bitmovin.api.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
/**
* UpdateOrganizationRequest
*/
public class UpdateOrganizationRequest {
@JsonProperty("name")
private String name;
@JsonProperty("description")
private String description;
@JsonProperty("labelColor")
private String labelColor;
/**
* Get name
* @return name
*/
public String getName() {
return name;
}
/**
* Set name
*
* @param name
*/
public void setName(String name) {
this.name = name;
}
/**
* Get description
* @return description
*/
public String getDescription() {
return description;
}
/**
* Set description
*
* @param description
*/
public void setDescription(String description) {
this.description = description;
}
/**
* Hexadecimal color
* @return labelColor
*/
public String getLabelColor() {
return labelColor;
}
/**
* Hexadecimal color
*
* @param labelColor
* Hexadecimal color
*/
public void setLabelColor(String labelColor) {
this.labelColor = labelColor;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UpdateOrganizationRequest updateOrganizationRequest = (UpdateOrganizationRequest) o;
return Objects.equals(this.name, updateOrganizationRequest.name) &&
Objects.equals(this.description, updateOrganizationRequest.description) &&
Objects.equals(this.labelColor, updateOrganizationRequest.labelColor);
}
@Override
public int hashCode() {
return Objects.hash(name, description, labelColor);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UpdateOrganizationRequest {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" labelColor: ").append(toIndentedString(labelColor)).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 ");
}
}