io.deepsense.neptune.apiclient.model.EditJobParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neptune-api-client Show documentation
Show all versions of neptune-api-client Show documentation
Enables integration with Neptune in your Java code
/**
* Neptune API
* Neptune API
*
* OpenAPI spec version: 1.4_c9e4693-SNAPSHOT
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.deepsense.neptune.apiclient.model;
import java.util.Objects;
import com.google.gson.annotations.SerializedName;
import io.deepsense.neptune.apiclient.model.Action;
import io.deepsense.neptune.apiclient.model.Channel;
import io.deepsense.neptune.apiclient.model.Chart;
import io.deepsense.neptune.apiclient.model.KeyValueProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
/**
* EditJobParams
*/
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-12-13T15:34:20.025+01:00")
public class EditJobParams {
@SerializedName("name")
private String name = null;
@SerializedName("description")
private String description = null;
@SerializedName("project")
private String project = null;
@SerializedName("tags")
private List tags = new ArrayList();
@SerializedName("properties")
private List properties = new ArrayList();
@SerializedName("actions")
private List actions = new ArrayList();
@SerializedName("channels")
private List channels = new ArrayList();
@SerializedName("charts")
private List charts = new ArrayList();
public EditJobParams name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(example = "null", value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public EditJobParams description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@ApiModelProperty(example = "null", value = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public EditJobParams project(String project) {
this.project = project;
return this;
}
/**
* Get project
* @return project
**/
@ApiModelProperty(example = "null", value = "")
public String getProject() {
return project;
}
public void setProject(String project) {
this.project = project;
}
public EditJobParams tags(List tags) {
this.tags = tags;
return this;
}
/**
* Get tags
* @return tags
**/
@ApiModelProperty(example = "null", value = "")
public List getTags() {
return tags;
}
public void setTags(List tags) {
this.tags = tags;
}
public EditJobParams properties(List properties) {
this.properties = properties;
return this;
}
/**
* Get properties
* @return properties
**/
@ApiModelProperty(example = "null", value = "")
public List getProperties() {
return properties;
}
public void setProperties(List properties) {
this.properties = properties;
}
public EditJobParams actions(List actions) {
this.actions = actions;
return this;
}
/**
* Get actions
* @return actions
**/
@ApiModelProperty(example = "null", value = "")
public List getActions() {
return actions;
}
public void setActions(List actions) {
this.actions = actions;
}
public EditJobParams channels(List channels) {
this.channels = channels;
return this;
}
/**
* Get channels
* @return channels
**/
@ApiModelProperty(example = "null", value = "")
public List getChannels() {
return channels;
}
public void setChannels(List channels) {
this.channels = channels;
}
public EditJobParams charts(List charts) {
this.charts = charts;
return this;
}
/**
* Get charts
* @return charts
**/
@ApiModelProperty(example = "null", value = "")
public List getCharts() {
return charts;
}
public void setCharts(List charts) {
this.charts = charts;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EditJobParams editJobParams = (EditJobParams) o;
return Objects.equals(this.name, editJobParams.name) &&
Objects.equals(this.description, editJobParams.description) &&
Objects.equals(this.project, editJobParams.project) &&
Objects.equals(this.tags, editJobParams.tags) &&
Objects.equals(this.properties, editJobParams.properties) &&
Objects.equals(this.actions, editJobParams.actions) &&
Objects.equals(this.channels, editJobParams.channels) &&
Objects.equals(this.charts, editJobParams.charts);
}
@Override
public int hashCode() {
return Objects.hash(name, description, project, tags, properties, actions, channels, charts);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class EditJobParams {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" project: ").append(toIndentedString(project)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
sb.append(" properties: ").append(toIndentedString(properties)).append("\n");
sb.append(" actions: ").append(toIndentedString(actions)).append("\n");
sb.append(" channels: ").append(toIndentedString(channels)).append("\n");
sb.append(" charts: ").append(toIndentedString(charts)).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