Commit 07ec02f4 authored by Spiros Koulouzis's avatar Spiros Koulouzis

change names

parent 3f8bb477
package nl.uva.sne.drip.model.cloud.storm;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
/**
* CloudCred
*/
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-12-24T17:07:10.081Z")
public class CloudCred {
@JsonProperty("cloudProvider")
private String cloudProvider = null;
@JsonProperty("credInfoFile")
private String credInfoFile = null;
public CloudCred cloudProvider(String cloudProvider) {
this.cloudProvider = cloudProvider;
return this;
}
/**
* Get cloudProvider
*
* @return cloudProvider
*
*/
@ApiModelProperty(value = "")
public String getCloudProvider() {
return cloudProvider;
}
public void setCloudProvider(String cloudProvider) {
this.cloudProvider = cloudProvider;
}
public CloudCred credInfoFile(String credInfoFile) {
this.credInfoFile = credInfoFile;
return this;
}
/**
* Get credInfoFile
*
* @return credInfoFile
*
*/
@ApiModelProperty(value = "")
public String getCredInfoFile() {
return credInfoFile;
}
public void setCredInfoFile(String credInfoFile) {
this.credInfoFile = credInfoFile;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CloudCred cloudCred = (CloudCred) o;
return Objects.equals(this.cloudProvider, cloudCred.cloudProvider)
&& Objects.equals(this.credInfoFile, cloudCred.credInfoFile);
}
@Override
public int hashCode() {
return Objects.hash(cloudProvider, credInfoFile);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class cloudCred {\n");
sb.append(" cloudProvider: ").append(toIndentedString(cloudProvider)).append("\n");
sb.append(" credInfoFile: ").append(toIndentedString(credInfoFile)).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 ");
}
}
package nl.uva.sne.drip.model.cloud.storm;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
/**
* CloudCredentials
*/
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-12-26T12:29:05.903Z")
public class CloudCredentials {
@JsonProperty("cloudCreds")
@Valid
private List<CloudCred> cloudCreds = null;
public CloudCredentials cloudCreds(List<CloudCred> cloudCreds) {
this.cloudCreds = cloudCreds;
return this;
}
public CloudCredentials addCloudCredentialItem(CloudCred cloudCredsItem) {
if (this.cloudCreds == null) {
this.cloudCreds = new ArrayList<>();
}
this.cloudCreds.add(cloudCredsItem);
return this;
}
/**
* Get cloudCreds
*
* @return cloudCreds
*
*/
@ApiModelProperty(value = "")
@Valid
public List<CloudCred> getCloudCredential() {
return cloudCreds;
}
public void setCloudCreds(List<CloudCred> cloudCreds) {
this.cloudCreds = cloudCreds;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CloudCredentials cloudCreds = (CloudCredentials) o;
return Objects.equals(this.cloudCreds, cloudCreds.cloudCreds);
}
@Override
public int hashCode() {
return Objects.hash(cloudCreds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CloudCreds {\n");
sb.append(" cloudCreds: ").append(toIndentedString(cloudCreds)).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 ");
}
}
package nl.uva.sne.drip.model.cloud.storm;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.*;
/**
* CloudDB
*/
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2019-12-11T15:13:55.016Z")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CloudDB {
@JsonProperty("cloudProvider")
private String cloudProvider = null;
@JsonProperty("dbInfoFile")
private String dbInfoFile = null;
public CloudDB cloudProvider(String cloudProvider) {
this.cloudProvider = cloudProvider;
return this;
}
/**
* Get cloudProvider
* @return cloudProvider
**/
@ApiModelProperty(value = "")
public String getCloudProvider() {
return cloudProvider;
}
public void setCloudProvider(String cloudProvider) {
this.cloudProvider = cloudProvider;
}
public CloudDB dbInfoFile(String dbInfoFile) {
this.dbInfoFile = dbInfoFile;
return this;
}
/**
* Get dbInfoFile
* @return dbInfoFile
**/
@ApiModelProperty(value = "")
public String getDbInfoFile() {
return dbInfoFile;
}
public void setDbInfoFile(String dbInfoFile) {
this.dbInfoFile = dbInfoFile;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CloudDB cloudDB = (CloudDB) o;
return Objects.equals(this.cloudProvider, cloudDB.cloudProvider) &&
Objects.equals(this.dbInfoFile, cloudDB.dbInfoFile);
}
@Override
public int hashCode() {
return Objects.hash(cloudProvider, dbInfoFile);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class CloudDB {\n");
sb.append(" cloudProvider: ").append(toIndentedString(cloudProvider)).append("\n");
sb.append(" dbInfoFile: ").append(toIndentedString(dbInfoFile)).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 ");
}
}
CloudCreds:
CloudCredentialDB:
type: "object"
properties:
cloudCreds:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment