|
| 1 | +/* |
| 2 | + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. |
| 3 | + * This product includes software developed at Datadog (https://www.datadoghq.com/). |
| 4 | + * Copyright 2019-Present Datadog, Inc. |
| 5 | + * |
| 6 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 7 | + * https://openapi-generator.tech |
| 8 | + * Do not edit the class manually. |
| 9 | + */ |
| 10 | + |
| 11 | +package com.datadog.api.v1.client.model; |
| 12 | + |
| 13 | +import com.fasterxml.jackson.annotation.JsonIgnore; |
| 14 | +import com.fasterxml.jackson.annotation.JsonInclude; |
| 15 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 16 | +import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| 17 | +import io.swagger.annotations.ApiModel; |
| 18 | +import io.swagger.annotations.ApiModelProperty; |
| 19 | +import java.util.Objects; |
| 20 | + |
| 21 | +/** Description of the CI pipeline. */ |
| 22 | +@ApiModel(description = "Description of the CI pipeline.") |
| 23 | +@JsonPropertyOrder({SyntheticsCIBatchMetadataPipeline.JSON_PROPERTY_URL}) |
| 24 | +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") |
| 25 | +public class SyntheticsCIBatchMetadataPipeline { |
| 26 | + @JsonIgnore public boolean unparsed = false; |
| 27 | + public static final String JSON_PROPERTY_URL = "url"; |
| 28 | + private String url; |
| 29 | + |
| 30 | + public SyntheticsCIBatchMetadataPipeline url(String url) { |
| 31 | + this.url = url; |
| 32 | + return this; |
| 33 | + } |
| 34 | + |
| 35 | + /** |
| 36 | + * URL of the pipeline. |
| 37 | + * |
| 38 | + * @return url |
| 39 | + */ |
| 40 | + @javax.annotation.Nullable |
| 41 | + @ApiModelProperty(value = "URL of the pipeline.") |
| 42 | + @JsonProperty(JSON_PROPERTY_URL) |
| 43 | + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) |
| 44 | + public String getUrl() { |
| 45 | + return url; |
| 46 | + } |
| 47 | + |
| 48 | + public void setUrl(String url) { |
| 49 | + this.url = url; |
| 50 | + } |
| 51 | + |
| 52 | + /** Return true if this SyntheticsCIBatchMetadataPipeline object is equal to o. */ |
| 53 | + @Override |
| 54 | + public boolean equals(Object o) { |
| 55 | + if (this == o) { |
| 56 | + return true; |
| 57 | + } |
| 58 | + if (o == null || getClass() != o.getClass()) { |
| 59 | + return false; |
| 60 | + } |
| 61 | + SyntheticsCIBatchMetadataPipeline syntheticsCIBatchMetadataPipeline = |
| 62 | + (SyntheticsCIBatchMetadataPipeline) o; |
| 63 | + return Objects.equals(this.url, syntheticsCIBatchMetadataPipeline.url); |
| 64 | + } |
| 65 | + |
| 66 | + @Override |
| 67 | + public int hashCode() { |
| 68 | + return Objects.hash(url); |
| 69 | + } |
| 70 | + |
| 71 | + @Override |
| 72 | + public String toString() { |
| 73 | + StringBuilder sb = new StringBuilder(); |
| 74 | + sb.append("class SyntheticsCIBatchMetadataPipeline {\n"); |
| 75 | + sb.append(" url: ").append(toIndentedString(url)).append("\n"); |
| 76 | + sb.append("}"); |
| 77 | + return sb.toString(); |
| 78 | + } |
| 79 | + |
| 80 | + /** |
| 81 | + * Convert the given object to string with each line indented by 4 spaces (except the first line). |
| 82 | + */ |
| 83 | + private String toIndentedString(Object o) { |
| 84 | + if (o == null) { |
| 85 | + return "null"; |
| 86 | + } |
| 87 | + return o.toString().replace("\n", "\n "); |
| 88 | + } |
| 89 | +} |
0 commit comments