Skip to content

Commit e8e0339

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 12104ad of spec repo (#663)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent f113a64 commit e8e0339

File tree

4 files changed

+39
-5
lines changed

4 files changed

+39
-5
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev2",
7-
"regenerated": "2021-02-17 20:11:29.045949",
8-
"spec_repo_commit": "0eff793"
7+
"regenerated": "2021-02-18 19:32:39.407572",
8+
"spec_repo_commit": "12104ad"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev2",
12-
"regenerated": "2021-02-17 20:11:39.770023",
13-
"spec_repo_commit": "0eff793"
12+
"regenerated": "2021-02-18 19:32:49.686186",
13+
"spec_repo_commit": "12104ad"
1414
}
1515
}
1616
}

api_docs/v1/UsageAttributionBody.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Usage Summary by tag for a given organization.
88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**month** | **OffsetDateTime** | Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]. | [optional]
11+
**orgName** | **String** | The name of the organization. | [optional]
1112
**publicId** | **String** | The organization public ID. | [optional]
1213
**tags** | **Map&lt;String, List&lt;String&gt;&gt;** | Usage Summary by tag name. | [optional]
1314
**updatedAt** | **String** | Shows the the most recent hour in the current months for all organizations for which all usages were calculated. | [optional]

src/main/java/com/datadog/api/v1/client/model/UsageAttributionBody.java

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
@ApiModel(description = "Usage Summary by tag for a given organization.")
3838
@JsonPropertyOrder({
3939
UsageAttributionBody.JSON_PROPERTY_MONTH,
40+
UsageAttributionBody.JSON_PROPERTY_ORG_NAME,
4041
UsageAttributionBody.JSON_PROPERTY_PUBLIC_ID,
4142
UsageAttributionBody.JSON_PROPERTY_TAGS,
4243
UsageAttributionBody.JSON_PROPERTY_UPDATED_AT,
@@ -47,6 +48,9 @@ public class UsageAttributionBody {
4748
public static final String JSON_PROPERTY_MONTH = "month";
4849
private OffsetDateTime month;
4950

51+
public static final String JSON_PROPERTY_ORG_NAME = "org_name";
52+
private String orgName;
53+
5054
public static final String JSON_PROPERTY_PUBLIC_ID = "public_id";
5155
private String publicId;
5256

@@ -84,6 +88,30 @@ public void setMonth(OffsetDateTime month) {
8488
}
8589

8690

91+
public UsageAttributionBody orgName(String orgName) {
92+
this.orgName = orgName;
93+
return this;
94+
}
95+
96+
/**
97+
* The name of the organization.
98+
* @return orgName
99+
**/
100+
@javax.annotation.Nullable
101+
@ApiModelProperty(value = "The name of the organization.")
102+
@JsonProperty(JSON_PROPERTY_ORG_NAME)
103+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
104+
105+
public String getOrgName() {
106+
return orgName;
107+
}
108+
109+
110+
public void setOrgName(String orgName) {
111+
this.orgName = orgName;
112+
}
113+
114+
87115
public UsageAttributionBody publicId(String publicId) {
88116
this.publicId = publicId;
89117
return this;
@@ -201,6 +229,7 @@ public boolean equals(Object o) {
201229
}
202230
UsageAttributionBody usageAttributionBody = (UsageAttributionBody) o;
203231
return Objects.equals(this.month, usageAttributionBody.month) &&
232+
Objects.equals(this.orgName, usageAttributionBody.orgName) &&
204233
Objects.equals(this.publicId, usageAttributionBody.publicId) &&
205234
Objects.equals(this.tags, usageAttributionBody.tags) &&
206235
Objects.equals(this.updatedAt, usageAttributionBody.updatedAt) &&
@@ -209,7 +238,7 @@ public boolean equals(Object o) {
209238

210239
@Override
211240
public int hashCode() {
212-
return Objects.hash(month, publicId, tags, updatedAt, values);
241+
return Objects.hash(month, orgName, publicId, tags, updatedAt, values);
213242
}
214243

215244

@@ -218,6 +247,7 @@ public String toString() {
218247
StringBuilder sb = new StringBuilder();
219248
sb.append("class UsageAttributionBody {\n");
220249
sb.append(" month: ").append(toIndentedString(month)).append("\n");
250+
sb.append(" orgName: ").append(toIndentedString(orgName)).append("\n");
221251
sb.append(" publicId: ").append(toIndentedString(publicId)).append("\n");
222252
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
223253
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");

src/main/java/com/datadog/api/v1/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8139,6 +8139,9 @@ components:
81398139
description: 'Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].'
81408140
format: date-time
81418141
type: string
8142+
org_name:
8143+
description: The name of the organization.
8144+
type: string
81428145
public_id:
81438146
description: The organization public ID.
81448147
type: string

0 commit comments

Comments
 (0)