Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.5",
"regenerated": "2023-07-21 15:03:03.943766",
"spec_repo_commit": "1b0797fc"
"regenerated": "2023-07-24 15:54:29.646001",
"spec_repo_commit": "b233d581"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-07-21 15:03:03.962411",
"spec_repo_commit": "1b0797fc"
"regenerated": "2023-07-24 15:54:29.663211",
"spec_repo_commit": "b233d581"
}
}
}
10 changes: 10 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13649,6 +13649,10 @@ components:
SensitiveDataScannerGetConfigResponseData:
description: Response data related to the scanning groups.
properties:
attributes:
additionalProperties: {}
description: Attributes of the Sensitive Data configuration.
type: object
id:
description: ID of the configuration.
type: string
Expand Down Expand Up @@ -13833,6 +13837,9 @@ components:
description: Whether or not scanned events are highlighted in Logs or RUM
for the org.
type: boolean
has_multi_pass_enabled:
description: Whether or not scanned events have multi-pass enabled.
type: boolean
is_pci_compliant:
description: Whether or not the org is compliant to the payment card industry
standard.
Expand Down Expand Up @@ -14068,6 +14075,9 @@ components:
SensitiveDataScannerStandardPatternAttributes:
description: Attributes of the Sensitive Data Scanner standard pattern.
properties:
description:
description: Description of the standard pattern.
type: string
name:
description: Name of the standard pattern.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

/** Response data related to the scanning groups. */
@JsonPropertyOrder({
SensitiveDataScannerGetConfigResponseData.JSON_PROPERTY_ATTRIBUTES,
SensitiveDataScannerGetConfigResponseData.JSON_PROPERTY_ID,
SensitiveDataScannerGetConfigResponseData.JSON_PROPERTY_RELATIONSHIPS,
SensitiveDataScannerGetConfigResponseData.JSON_PROPERTY_TYPE
Expand All @@ -26,6 +27,9 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SensitiveDataScannerGetConfigResponseData {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_ATTRIBUTES = "attributes";
private Map<String, Object> attributes = null;

public static final String JSON_PROPERTY_ID = "id";
private String id;

Expand All @@ -36,6 +40,36 @@ public class SensitiveDataScannerGetConfigResponseData {
private SensitiveDataScannerConfigurationType type =
SensitiveDataScannerConfigurationType.SENSITIVE_DATA_SCANNER_CONFIGURATIONS;

public SensitiveDataScannerGetConfigResponseData attributes(Map<String, Object> attributes) {
this.attributes = attributes;
return this;
}

public SensitiveDataScannerGetConfigResponseData putAttributesItem(
String key, Object attributesItem) {
if (this.attributes == null) {
this.attributes = new HashMap<>();
}
this.attributes.put(key, attributesItem);
return this;
}

/**
* Attributes of the Sensitive Data configuration.
*
* @return attributes
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ATTRIBUTES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Object> getAttributes() {
return attributes;
}

public void setAttributes(Map<String, Object> attributes) {
this.attributes = attributes;
}

public SensitiveDataScannerGetConfigResponseData id(String id) {
this.id = id;
return this;
Expand Down Expand Up @@ -163,7 +197,8 @@ public boolean equals(Object o) {
}
SensitiveDataScannerGetConfigResponseData sensitiveDataScannerGetConfigResponseData =
(SensitiveDataScannerGetConfigResponseData) o;
return Objects.equals(this.id, sensitiveDataScannerGetConfigResponseData.id)
return Objects.equals(this.attributes, sensitiveDataScannerGetConfigResponseData.attributes)
&& Objects.equals(this.id, sensitiveDataScannerGetConfigResponseData.id)
&& Objects.equals(
this.relationships, sensitiveDataScannerGetConfigResponseData.relationships)
&& Objects.equals(this.type, sensitiveDataScannerGetConfigResponseData.type)
Expand All @@ -174,13 +209,14 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(id, relationships, type, additionalProperties);
return Objects.hash(attributes, id, relationships, type, additionalProperties);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SensitiveDataScannerGetConfigResponseData {\n");
sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" relationships: ").append(toIndentedString(relationships)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
SensitiveDataScannerMeta.JSON_PROPERTY_COUNT_LIMIT,
SensitiveDataScannerMeta.JSON_PROPERTY_GROUP_COUNT_LIMIT,
SensitiveDataScannerMeta.JSON_PROPERTY_HAS_HIGHLIGHT_ENABLED,
SensitiveDataScannerMeta.JSON_PROPERTY_HAS_MULTI_PASS_ENABLED,
SensitiveDataScannerMeta.JSON_PROPERTY_IS_PCI_COMPLIANT,
SensitiveDataScannerMeta.JSON_PROPERTY_VERSION
})
Expand All @@ -37,6 +38,9 @@ public class SensitiveDataScannerMeta {
public static final String JSON_PROPERTY_HAS_HIGHLIGHT_ENABLED = "has_highlight_enabled";
private Boolean hasHighlightEnabled;

public static final String JSON_PROPERTY_HAS_MULTI_PASS_ENABLED = "has_multi_pass_enabled";
private Boolean hasMultiPassEnabled;

public static final String JSON_PROPERTY_IS_PCI_COMPLIANT = "is_pci_compliant";
private Boolean isPciCompliant;

Expand Down Expand Up @@ -106,6 +110,27 @@ public void setHasHighlightEnabled(Boolean hasHighlightEnabled) {
this.hasHighlightEnabled = hasHighlightEnabled;
}

public SensitiveDataScannerMeta hasMultiPassEnabled(Boolean hasMultiPassEnabled) {
this.hasMultiPassEnabled = hasMultiPassEnabled;
return this;
}

/**
* Whether or not scanned events have multi-pass enabled.
*
* @return hasMultiPassEnabled
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_MULTI_PASS_ENABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasMultiPassEnabled() {
return hasMultiPassEnabled;
}

public void setHasMultiPassEnabled(Boolean hasMultiPassEnabled) {
this.hasMultiPassEnabled = hasMultiPassEnabled;
}

public SensitiveDataScannerMeta isPciCompliant(Boolean isPciCompliant) {
this.isPciCompliant = isPciCompliant;
return this;
Expand Down Expand Up @@ -207,6 +232,7 @@ public boolean equals(Object o) {
return Objects.equals(this.countLimit, sensitiveDataScannerMeta.countLimit)
&& Objects.equals(this.groupCountLimit, sensitiveDataScannerMeta.groupCountLimit)
&& Objects.equals(this.hasHighlightEnabled, sensitiveDataScannerMeta.hasHighlightEnabled)
&& Objects.equals(this.hasMultiPassEnabled, sensitiveDataScannerMeta.hasMultiPassEnabled)
&& Objects.equals(this.isPciCompliant, sensitiveDataScannerMeta.isPciCompliant)
&& Objects.equals(this.version, sensitiveDataScannerMeta.version)
&& Objects.equals(this.additionalProperties, sensitiveDataScannerMeta.additionalProperties);
Expand All @@ -218,6 +244,7 @@ public int hashCode() {
countLimit,
groupCountLimit,
hasHighlightEnabled,
hasMultiPassEnabled,
isPciCompliant,
version,
additionalProperties);
Expand All @@ -232,6 +259,9 @@ public String toString() {
sb.append(" hasHighlightEnabled: ")
.append(toIndentedString(hasHighlightEnabled))
.append("\n");
sb.append(" hasMultiPassEnabled: ")
.append(toIndentedString(hasMultiPassEnabled))
.append("\n");
sb.append(" isPciCompliant: ").append(toIndentedString(isPciCompliant)).append("\n");
sb.append(" version: ").append(toIndentedString(version)).append("\n");
sb.append(" additionalProperties: ")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

/** Attributes of the Sensitive Data Scanner standard pattern. */
@JsonPropertyOrder({
SensitiveDataScannerStandardPatternAttributes.JSON_PROPERTY_DESCRIPTION,
SensitiveDataScannerStandardPatternAttributes.JSON_PROPERTY_NAME,
SensitiveDataScannerStandardPatternAttributes.JSON_PROPERTY_PATTERN,
SensitiveDataScannerStandardPatternAttributes.JSON_PROPERTY_TAGS
Expand All @@ -28,6 +29,9 @@
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SensitiveDataScannerStandardPatternAttributes {
@JsonIgnore public boolean unparsed = false;
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private String description;

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

Expand All @@ -37,6 +41,27 @@ public class SensitiveDataScannerStandardPatternAttributes {
public static final String JSON_PROPERTY_TAGS = "tags";
private List<String> tags = null;

public SensitiveDataScannerStandardPatternAttributes description(String description) {
this.description = description;
return this;
}

/**
* Description of the standard pattern.
*
* @return description
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DESCRIPTION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDescription() {
return description;
}

public void setDescription(String description) {
this.description = description;
}

public SensitiveDataScannerStandardPatternAttributes name(String name) {
this.name = name;
return this;
Expand Down Expand Up @@ -166,7 +191,9 @@ public boolean equals(Object o) {
}
SensitiveDataScannerStandardPatternAttributes sensitiveDataScannerStandardPatternAttributes =
(SensitiveDataScannerStandardPatternAttributes) o;
return Objects.equals(this.name, sensitiveDataScannerStandardPatternAttributes.name)
return Objects.equals(
this.description, sensitiveDataScannerStandardPatternAttributes.description)
&& Objects.equals(this.name, sensitiveDataScannerStandardPatternAttributes.name)
&& Objects.equals(this.pattern, sensitiveDataScannerStandardPatternAttributes.pattern)
&& Objects.equals(this.tags, sensitiveDataScannerStandardPatternAttributes.tags)
&& Objects.equals(
Expand All @@ -176,13 +203,14 @@ public boolean equals(Object o) {

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

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SensitiveDataScannerStandardPatternAttributes {\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" pattern: ").append(toIndentedString(pattern)).append("\n");
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
Expand Down