-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'volc_observe-Java-2018-01-01-online-564-2024_06_27_15_3…
…8_12' into 'integration_2024-07-04_320633038338' feat: [development task] Volc_Observe-564-Java (711652) See merge request iaasng/volcengine-java-sdk!214
- Loading branch information
Showing
71 changed files
with
17,478 additions
and
271 deletions.
There are no files selected for viewing
2,936 changes: 2,665 additions & 271 deletions
2,936
volcengine-java-sdk-volcobserve/src/main/java/com/volcengine/volcobserve/VolcObserveApi.java
Large diffs are not rendered by default.
Oops, something went wrong.
209 changes: 209 additions & 0 deletions
209
...lcobserve/src/main/java/com/volcengine/volcobserve/model/ConditionForCreateRuleInput.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
/* | ||
* volc_observe | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: common-version | ||
* | ||
* | ||
* 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. | ||
*/ | ||
|
||
package com.volcengine.volcobserve.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import com.google.gson.TypeAdapter; | ||
import com.google.gson.annotations.JsonAdapter; | ||
import com.google.gson.annotations.SerializedName; | ||
import com.google.gson.stream.JsonReader; | ||
import com.google.gson.stream.JsonWriter; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.io.IOException; | ||
import javax.validation.constraints.*; | ||
import javax.validation.Valid; | ||
/** | ||
* ConditionForCreateRuleInput | ||
*/ | ||
|
||
|
||
|
||
public class ConditionForCreateRuleInput { | ||
@SerializedName("ComparisonOperator") | ||
private String comparisonOperator = null; | ||
|
||
@SerializedName("MetricName") | ||
private String metricName = null; | ||
|
||
@SerializedName("MetricUnit") | ||
private String metricUnit = null; | ||
|
||
@SerializedName("Period") | ||
private String period = null; | ||
|
||
@SerializedName("Statistics") | ||
private String statistics = null; | ||
|
||
@SerializedName("Threshold") | ||
private String threshold = null; | ||
|
||
public ConditionForCreateRuleInput comparisonOperator(String comparisonOperator) { | ||
this.comparisonOperator = comparisonOperator; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get comparisonOperator | ||
* @return comparisonOperator | ||
**/ | ||
@Schema(description = "") | ||
public String getComparisonOperator() { | ||
return comparisonOperator; | ||
} | ||
|
||
public void setComparisonOperator(String comparisonOperator) { | ||
this.comparisonOperator = comparisonOperator; | ||
} | ||
|
||
public ConditionForCreateRuleInput metricName(String metricName) { | ||
this.metricName = metricName; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get metricName | ||
* @return metricName | ||
**/ | ||
@Schema(description = "") | ||
public String getMetricName() { | ||
return metricName; | ||
} | ||
|
||
public void setMetricName(String metricName) { | ||
this.metricName = metricName; | ||
} | ||
|
||
public ConditionForCreateRuleInput metricUnit(String metricUnit) { | ||
this.metricUnit = metricUnit; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get metricUnit | ||
* @return metricUnit | ||
**/ | ||
@Schema(description = "") | ||
public String getMetricUnit() { | ||
return metricUnit; | ||
} | ||
|
||
public void setMetricUnit(String metricUnit) { | ||
this.metricUnit = metricUnit; | ||
} | ||
|
||
public ConditionForCreateRuleInput period(String period) { | ||
this.period = period; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get period | ||
* @return period | ||
**/ | ||
@Schema(description = "") | ||
public String getPeriod() { | ||
return period; | ||
} | ||
|
||
public void setPeriod(String period) { | ||
this.period = period; | ||
} | ||
|
||
public ConditionForCreateRuleInput statistics(String statistics) { | ||
this.statistics = statistics; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get statistics | ||
* @return statistics | ||
**/ | ||
@Schema(description = "") | ||
public String getStatistics() { | ||
return statistics; | ||
} | ||
|
||
public void setStatistics(String statistics) { | ||
this.statistics = statistics; | ||
} | ||
|
||
public ConditionForCreateRuleInput threshold(String threshold) { | ||
this.threshold = threshold; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get threshold | ||
* @return threshold | ||
**/ | ||
@Schema(description = "") | ||
public String getThreshold() { | ||
return threshold; | ||
} | ||
|
||
public void setThreshold(String threshold) { | ||
this.threshold = threshold; | ||
} | ||
|
||
|
||
@Override | ||
public boolean equals(java.lang.Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
ConditionForCreateRuleInput conditionForCreateRuleInput = (ConditionForCreateRuleInput) o; | ||
return Objects.equals(this.comparisonOperator, conditionForCreateRuleInput.comparisonOperator) && | ||
Objects.equals(this.metricName, conditionForCreateRuleInput.metricName) && | ||
Objects.equals(this.metricUnit, conditionForCreateRuleInput.metricUnit) && | ||
Objects.equals(this.period, conditionForCreateRuleInput.period) && | ||
Objects.equals(this.statistics, conditionForCreateRuleInput.statistics) && | ||
Objects.equals(this.threshold, conditionForCreateRuleInput.threshold); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(comparisonOperator, metricName, metricUnit, period, statistics, threshold); | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class ConditionForCreateRuleInput {\n"); | ||
|
||
sb.append(" comparisonOperator: ").append(toIndentedString(comparisonOperator)).append("\n"); | ||
sb.append(" metricName: ").append(toIndentedString(metricName)).append("\n"); | ||
sb.append(" metricUnit: ").append(toIndentedString(metricUnit)).append("\n"); | ||
sb.append(" period: ").append(toIndentedString(period)).append("\n"); | ||
sb.append(" statistics: ").append(toIndentedString(statistics)).append("\n"); | ||
sb.append(" threshold: ").append(toIndentedString(threshold)).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 "); | ||
} | ||
|
||
} |
186 changes: 186 additions & 0 deletions
186
...erve/src/main/java/com/volcengine/volcobserve/model/ConditionForListRulesByIdsOutput.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,186 @@ | ||
/* | ||
* volc_observe | ||
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) | ||
* | ||
* OpenAPI spec version: common-version | ||
* | ||
* | ||
* 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. | ||
*/ | ||
|
||
package com.volcengine.volcobserve.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import com.google.gson.TypeAdapter; | ||
import com.google.gson.annotations.JsonAdapter; | ||
import com.google.gson.annotations.SerializedName; | ||
import com.google.gson.stream.JsonReader; | ||
import com.google.gson.stream.JsonWriter; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.io.IOException; | ||
import javax.validation.constraints.*; | ||
import javax.validation.Valid; | ||
/** | ||
* ConditionForListRulesByIdsOutput | ||
*/ | ||
|
||
|
||
|
||
public class ConditionForListRulesByIdsOutput { | ||
@SerializedName("ComparisonOperator") | ||
private String comparisonOperator = null; | ||
|
||
@SerializedName("MetricName") | ||
private String metricName = null; | ||
|
||
@SerializedName("MetricUnit") | ||
private String metricUnit = null; | ||
|
||
@SerializedName("Statistics") | ||
private String statistics = null; | ||
|
||
@SerializedName("Threshold") | ||
private String threshold = null; | ||
|
||
public ConditionForListRulesByIdsOutput comparisonOperator(String comparisonOperator) { | ||
this.comparisonOperator = comparisonOperator; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get comparisonOperator | ||
* @return comparisonOperator | ||
**/ | ||
@Schema(description = "") | ||
public String getComparisonOperator() { | ||
return comparisonOperator; | ||
} | ||
|
||
public void setComparisonOperator(String comparisonOperator) { | ||
this.comparisonOperator = comparisonOperator; | ||
} | ||
|
||
public ConditionForListRulesByIdsOutput metricName(String metricName) { | ||
this.metricName = metricName; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get metricName | ||
* @return metricName | ||
**/ | ||
@Schema(description = "") | ||
public String getMetricName() { | ||
return metricName; | ||
} | ||
|
||
public void setMetricName(String metricName) { | ||
this.metricName = metricName; | ||
} | ||
|
||
public ConditionForListRulesByIdsOutput metricUnit(String metricUnit) { | ||
this.metricUnit = metricUnit; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get metricUnit | ||
* @return metricUnit | ||
**/ | ||
@Schema(description = "") | ||
public String getMetricUnit() { | ||
return metricUnit; | ||
} | ||
|
||
public void setMetricUnit(String metricUnit) { | ||
this.metricUnit = metricUnit; | ||
} | ||
|
||
public ConditionForListRulesByIdsOutput statistics(String statistics) { | ||
this.statistics = statistics; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get statistics | ||
* @return statistics | ||
**/ | ||
@Schema(description = "") | ||
public String getStatistics() { | ||
return statistics; | ||
} | ||
|
||
public void setStatistics(String statistics) { | ||
this.statistics = statistics; | ||
} | ||
|
||
public ConditionForListRulesByIdsOutput threshold(String threshold) { | ||
this.threshold = threshold; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get threshold | ||
* @return threshold | ||
**/ | ||
@Schema(description = "") | ||
public String getThreshold() { | ||
return threshold; | ||
} | ||
|
||
public void setThreshold(String threshold) { | ||
this.threshold = threshold; | ||
} | ||
|
||
|
||
@Override | ||
public boolean equals(java.lang.Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
ConditionForListRulesByIdsOutput conditionForListRulesByIdsOutput = (ConditionForListRulesByIdsOutput) o; | ||
return Objects.equals(this.comparisonOperator, conditionForListRulesByIdsOutput.comparisonOperator) && | ||
Objects.equals(this.metricName, conditionForListRulesByIdsOutput.metricName) && | ||
Objects.equals(this.metricUnit, conditionForListRulesByIdsOutput.metricUnit) && | ||
Objects.equals(this.statistics, conditionForListRulesByIdsOutput.statistics) && | ||
Objects.equals(this.threshold, conditionForListRulesByIdsOutput.threshold); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(comparisonOperator, metricName, metricUnit, statistics, threshold); | ||
} | ||
|
||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class ConditionForListRulesByIdsOutput {\n"); | ||
|
||
sb.append(" comparisonOperator: ").append(toIndentedString(comparisonOperator)).append("\n"); | ||
sb.append(" metricName: ").append(toIndentedString(metricName)).append("\n"); | ||
sb.append(" metricUnit: ").append(toIndentedString(metricUnit)).append("\n"); | ||
sb.append(" statistics: ").append(toIndentedString(statistics)).append("\n"); | ||
sb.append(" threshold: ").append(toIndentedString(threshold)).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 "); | ||
} | ||
|
||
} |
Oops, something went wrong.