@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 the SdkLanguageOptionalParameters.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 the SdkLanguageOptionalParameters.Builder
, which maintain a
set of all explicitly set fields called SdkLanguageOptionalParameters.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
SdkLanguageOptionalParameters.Builder |
static class |
SdkLanguageOptionalParameters.InputType
The input type for this param.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SdkLanguageOptionalParameters(String paramName,
String displayName,
String description,
Boolean isRequired,
BigDecimal maxSize,
SdkLanguageOptionalParameters.InputType inputType,
List<SdkLanguageOptionalParametersAllowedValue> allowedValues)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static SdkLanguageOptionalParameters.Builder builder()
Create a new builder.
public SdkLanguageOptionalParameters.Builder toBuilder()
public String getParamName()
Name of the parameter.
public String getDisplayName()
Display name of the parameter.
public String getDescription()
Description for the parameter.
public Boolean getIsRequired()
Information on whether the parameter is required or not.
public BigDecimal getMaxSize()
Maximum size as input value for this parameter.
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.
public List<SdkLanguageOptionalParametersAllowedValue> getAllowedValues()
List of allowed input values. Example: [{"name": "name1", "description":
"description1"}, …]
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.