Skip to content

Commit

Permalink
Regenerate client from commit dcc3176b of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Aug 14, 2024
1 parent 74a7b0f commit c05898c
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-14 20:10:54.615672",
"spec_repo_commit": "fafdefa8"
"regenerated": "2024-08-14 20:56:49.865065",
"spec_repo_commit": "dcc3176b"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-14 20:10:54.633408",
"spec_repo_commit": "fafdefa8"
"regenerated": "2024-08-14 20:56:49.890636",
"spec_repo_commit": "dcc3176b"
}
}
}
7 changes: 7 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8061,6 +8061,10 @@ components:
FastlyAccounResponseAttributes:
description: Attributes object of a Fastly account.
properties:
api_key:
description: The FastlyAccounResponseAttributes api_key.
type: string
writeOnly: true
name:
description: The name of the Fastly account.
example: test-name
Expand Down Expand Up @@ -8158,6 +8162,9 @@ components:
description: The API key of the Fastly account.
example: ABCDEFG123
type: string
name:
description: The FastlyAccountUpdateRequestAttributes name.
type: string
type: object
FastlyAccountUpdateRequestData:
description: Data object for updating a Fastly account.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@

/** Attributes object of a Fastly account. */
@JsonPropertyOrder({
FastlyAccounResponseAttributes.JSON_PROPERTY_API_KEY,
FastlyAccounResponseAttributes.JSON_PROPERTY_NAME,
FastlyAccounResponseAttributes.JSON_PROPERTY_SERVICES
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FastlyAccounResponseAttributes {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_API_KEY = "api_key";
private String apiKey;

public static final String JSON_PROPERTY_NAME = "name";
private String name;

Expand All @@ -42,6 +46,27 @@ public FastlyAccounResponseAttributes(
this.name = name;
}

public FastlyAccounResponseAttributes apiKey(String apiKey) {
this.apiKey = apiKey;
return this;
}

/**
* The FastlyAccounResponseAttributes api_key.
*
* @return apiKey
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_API_KEY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getApiKey() {
return apiKey;
}

public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}

public FastlyAccounResponseAttributes name(String name) {
this.name = name;
return this;
Expand Down Expand Up @@ -152,21 +177,23 @@ public boolean equals(Object o) {
}
FastlyAccounResponseAttributes fastlyAccounResponseAttributes =
(FastlyAccounResponseAttributes) o;
return Objects.equals(this.name, fastlyAccounResponseAttributes.name)
return Objects.equals(this.apiKey, fastlyAccounResponseAttributes.apiKey)
&& Objects.equals(this.name, fastlyAccounResponseAttributes.name)
&& Objects.equals(this.services, fastlyAccounResponseAttributes.services)
&& Objects.equals(
this.additionalProperties, fastlyAccounResponseAttributes.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(name, services, additionalProperties);
return Objects.hash(apiKey, name, services, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FastlyAccounResponseAttributes {\n");
sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" services: ").append(toIndentedString(services)).append("\n");
sb.append(" additionalProperties: ")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@
import java.util.Objects;

/** Attributes object for updating a Fastly account. */
@JsonPropertyOrder({FastlyAccountUpdateRequestAttributes.JSON_PROPERTY_API_KEY})
@JsonPropertyOrder({
FastlyAccountUpdateRequestAttributes.JSON_PROPERTY_API_KEY,
FastlyAccountUpdateRequestAttributes.JSON_PROPERTY_NAME
})
@jakarta.annotation.Generated(
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FastlyAccountUpdateRequestAttributes {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_API_KEY = "api_key";
private String apiKey;

public static final String JSON_PROPERTY_NAME = "name";
private String name;

public FastlyAccountUpdateRequestAttributes apiKey(String apiKey) {
this.apiKey = apiKey;
return this;
Expand All @@ -46,6 +52,27 @@ public void setApiKey(String apiKey) {
this.apiKey = apiKey;
}

public FastlyAccountUpdateRequestAttributes name(String name) {
this.name = name;
return this;
}

/**
* The FastlyAccountUpdateRequestAttributes name.
*
* @return name
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
Expand Down Expand Up @@ -104,20 +131,22 @@ public boolean equals(Object o) {
FastlyAccountUpdateRequestAttributes fastlyAccountUpdateRequestAttributes =
(FastlyAccountUpdateRequestAttributes) o;
return Objects.equals(this.apiKey, fastlyAccountUpdateRequestAttributes.apiKey)
&& Objects.equals(this.name, fastlyAccountUpdateRequestAttributes.name)
&& Objects.equals(
this.additionalProperties, fastlyAccountUpdateRequestAttributes.additionalProperties);
}

@Override
public int hashCode() {
return Objects.hash(apiKey, additionalProperties);
return Objects.hash(apiKey, name, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class FastlyAccountUpdateRequestAttributes {\n");
sb.append(" apiKey: ").append(toIndentedString(apiKey)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
Expand Down

0 comments on commit c05898c

Please sign in to comment.