Skip to content
Open
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

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ public static TypeEnum fromValue(@Nonnull final String value) {
@JsonProperty("config")
private AzureContentSafetyInput config;

@JsonProperty("target_selector")
private InputFilterTargetSelector targetSelector;

@JsonAnySetter @JsonAnyGetter
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();

Expand Down Expand Up @@ -164,40 +161,6 @@ public void setConfig(@Nullable final AzureContentSafetyInput config) {
this.config = config;
}

/**
* Set the targetSelector of this {@link AzureContentSafetyInputFilterConfig} instance and return
* the same instance.
*
* @param targetSelector The targetSelector of this {@link AzureContentSafetyInputFilterConfig}
* @return The same instance of this {@link AzureContentSafetyInputFilterConfig} class
*/
@Nonnull
public AzureContentSafetyInputFilterConfig targetSelector(
@Nullable final InputFilterTargetSelector targetSelector) {
this.targetSelector = targetSelector;
return this;
}

/**
* Get targetSelector
*
* @return targetSelector The targetSelector of this {@link AzureContentSafetyInputFilterConfig}
* instance.
*/
@Nonnull
public InputFilterTargetSelector getTargetSelector() {
return targetSelector;
}

/**
* Set the targetSelector of this {@link AzureContentSafetyInputFilterConfig} instance.
*
* @param targetSelector The targetSelector of this {@link AzureContentSafetyInputFilterConfig}
*/
public void setTargetSelector(@Nullable final InputFilterTargetSelector targetSelector) {
this.targetSelector = targetSelector;
}

/**
* Get the names of the unrecognizable properties of the {@link
* AzureContentSafetyInputFilterConfig}.
Expand Down Expand Up @@ -241,7 +204,6 @@ public Map<String, Object> toMap() {
final Map<String, Object> declaredFields = new LinkedHashMap<>(cloudSdkCustomFields);
if (type != null) declaredFields.put("type", type);
if (config != null) declaredFields.put("config", config);
if (targetSelector != null) declaredFields.put("targetSelector", targetSelector);
return declaredFields;
}

Expand Down Expand Up @@ -271,13 +233,12 @@ public boolean equals(@Nullable final java.lang.Object o) {
return Objects.equals(
this.cloudSdkCustomFields, azureContentSafetyInputFilterConfig.cloudSdkCustomFields)
&& Objects.equals(this.type, azureContentSafetyInputFilterConfig.type)
&& Objects.equals(this.config, azureContentSafetyInputFilterConfig.config)
&& Objects.equals(this.targetSelector, azureContentSafetyInputFilterConfig.targetSelector);
&& Objects.equals(this.config, azureContentSafetyInputFilterConfig.config);
}

@Override
public int hashCode() {
return Objects.hash(type, config, targetSelector, cloudSdkCustomFields);
return Objects.hash(type, config, cloudSdkCustomFields);
}

@Override
Expand All @@ -287,7 +248,6 @@ public String toString() {
sb.append("class AzureContentSafetyInputFilterConfig {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" config: ").append(toIndentedString(config)).append("\n");
sb.append(" targetSelector: ").append(toIndentedString(targetSelector)).append("\n");
cloudSdkCustomFields.forEach(
(k, v) ->
sb.append(" ").append(k).append(": ").append(toIndentedString(v)).append("\n"));
Expand Down
Loading
Loading