Package com.oracle.bmc.apigateway.model
Class SdkLanguageOptionalParameters
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apigateway.model.SdkLanguageOptionalParameters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class SdkLanguageOptionalParameters extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
List of additional applicable parameters for any given target language.
Note: Objects should always be created or deserialized using theSdkLanguageOptionalParameters.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSdkLanguageOptionalParameters.Builder
, which maintain a set of all explicitly set fields calledSdkLanguageOptionalParameters.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SdkLanguageOptionalParameters.Builder
static class
SdkLanguageOptionalParameters.InputType
The input type for this param.
-
Constructor Summary
Constructors Constructor Description SdkLanguageOptionalParameters(String paramName, String displayName, String description, Boolean isRequired, BigDecimal maxSize, SdkLanguageOptionalParameters.InputType inputType, List<SdkLanguageOptionalParametersAllowedValue> allowedValues)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SdkLanguageOptionalParameters.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<SdkLanguageOptionalParametersAllowedValue>
getAllowedValues()
List of allowed input values.String
getDescription()
Description for the parameter.String
getDisplayName()
Display name of the parameter.SdkLanguageOptionalParameters.InputType
getInputType()
The input type for this param.Boolean
getIsRequired()
Information on whether the parameter is required or not.BigDecimal
getMaxSize()
Maximum size as input value for this parameter.String
getParamName()
Name of the parameter.int
hashCode()
SdkLanguageOptionalParameters.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SdkLanguageOptionalParameters
@Deprecated @ConstructorProperties({"paramName","displayName","description","isRequired","maxSize","inputType","allowedValues"}) public SdkLanguageOptionalParameters(String paramName, String displayName, String description, Boolean isRequired, BigDecimal maxSize, SdkLanguageOptionalParameters.InputType inputType, List<SdkLanguageOptionalParametersAllowedValue> allowedValues)
Deprecated.
-
-
Method Detail
-
builder
public static SdkLanguageOptionalParameters.Builder builder()
Create a new builder.
-
toBuilder
public SdkLanguageOptionalParameters.Builder toBuilder()
-
getParamName
public String getParamName()
Name of the parameter.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Display name of the parameter.- Returns:
- the value
-
getDescription
public String getDescription()
Description for the parameter.- Returns:
- the value
-
getIsRequired
public Boolean getIsRequired()
Information on whether the parameter is required or not.- Returns:
- the value
-
getMaxSize
public BigDecimal getMaxSize()
Maximum size as input value for this parameter.- Returns:
- the value
-
getInputType
public SdkLanguageOptionalParameters.InputType getInputType()
The input type for this param.- Input type is ENUM when only specific list of input strings are allowed. - Input type is EMAIL when input type is an email ID. - Input type is URI when input type is an URI. - Input type is STRING in all other cases.
- Returns:
- the value
-
getAllowedValues
public List<SdkLanguageOptionalParametersAllowedValue> getAllowedValues()
List of allowed input values.Example: [{“name”: “name1”, “description”: “description1”}, …]
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-