com.airbyte.api.models.shared.DestinationYellowbrickRequire Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
SDK enabling Java developers to easily integrate with the Airbyte API.
The newest version!
/*
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
*/
package com.airbyte.api.models.shared;
import com.airbyte.api.utils.LazySingletonValue;
import com.airbyte.api.utils.Utils;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.type.TypeReference;
import java.io.InputStream;
import java.lang.Deprecated;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Optional;
/**
* DestinationYellowbrickRequire - Require SSL mode.
*/
public class DestinationYellowbrickRequire {
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("mode")
private Optional extends DestinationYellowbrickSchemasSSLModeSSLModesMode> mode;
@JsonCreator
public DestinationYellowbrickRequire() {
this.mode = Builder._SINGLETON_VALUE_Mode.value();
}
@SuppressWarnings("unchecked")
@JsonIgnore
public Optional mode() {
return (Optional) mode;
}
public final static Builder builder() {
return new Builder();
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DestinationYellowbrickRequire other = (DestinationYellowbrickRequire) o;
return
java.util.Objects.deepEquals(this.mode, other.mode);
}
@Override
public int hashCode() {
return java.util.Objects.hash(
mode);
}
@Override
public String toString() {
return Utils.toString(DestinationYellowbrickRequire.class,
"mode", mode);
}
public final static class Builder {
private Builder() {
// force use of static builder() method
}
public DestinationYellowbrickRequire build() {
return new DestinationYellowbrickRequire(
);
}
private static final LazySingletonValue> _SINGLETON_VALUE_Mode =
new LazySingletonValue<>(
"mode",
"\"require\"",
new TypeReference>() {});
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy