io.wisetime.generated.connect.AddKeywordsRequest Maven / Gradle / Ivy
package io.wisetime.generated.connect;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
import io.swagger.annotations.*;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
public class AddKeywordsRequest {
private @Valid List additionalKeywords = new ArrayList();
/**
* One or more new keywords for the tag. Keywords provided via this property will be added to the list of existing keywords for the tag. Existing keywords won't be removed.
**/
public AddKeywordsRequest additionalKeywords(List additionalKeywords) {
this.additionalKeywords = additionalKeywords;
return this;
}
@ApiModelProperty(value = "One or more new keywords for the tag. Keywords provided via this property will be added to the list of existing keywords for the tag. Existing keywords won't be removed. ")
@JsonProperty("additionalKeywords")
public List getAdditionalKeywords() {
return additionalKeywords;
}
public void setAdditionalKeywords(List additionalKeywords) {
this.additionalKeywords = additionalKeywords;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AddKeywordsRequest addKeywordsRequest = (AddKeywordsRequest) o;
return Objects.equals(additionalKeywords, addKeywordsRequest.additionalKeywords);
}
@Override
public int hashCode() {
return Objects.hash(additionalKeywords);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddKeywordsRequest {\n");
sb.append(" additionalKeywords: ").append(toIndentedString(additionalKeywords)).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 ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy