Class LimitsIncreaseQuestionSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.limitsincrease.model.LimitsIncreaseQuestionSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251101") public final class LimitsIncreaseQuestionSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA summary of properties for a question to be asked for a certain limit.Example questions include database version for some limits in Autonomous AI Database or email domain for some limits in Email Delivery. For more information, see Creating a Limit Increase Request.
Note: Objects should always be created or deserialized using theLimitsIncreaseQuestionSummary.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 theLimitsIncreaseQuestionSummary.Builder, which maintain a set of all explicitly set fields calledLimitsIncreaseQuestionSummary.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 classLimitsIncreaseQuestionSummary.Builderstatic classLimitsIncreaseQuestionSummary.QuestionTypeThe type of question.
-
Constructor Summary
Constructors Constructor Description LimitsIncreaseQuestionSummary(String id, String service, String limitName, String questionText, LimitsIncreaseQuestionSummary.QuestionType questionType, Map<String,String> options, Boolean isRequired)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LimitsIncreaseQuestionSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetId()The OCID of the question.BooleangetIsRequired()When true, requires an answer to the question.StringgetLimitName()The name of the limit for the question (empty if the question is for the service).Map<String,String>getOptions()Set options for the question.StringgetQuestionText()The text for the question.LimitsIncreaseQuestionSummary.QuestionTypegetQuestionType()The type of question.StringgetService()The name of the service for the question.inthashCode()LimitsIncreaseQuestionSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
LimitsIncreaseQuestionSummary
@Deprecated @ConstructorProperties({"id","service","limitName","questionText","questionType","options","isRequired"}) public LimitsIncreaseQuestionSummary(String id, String service, String limitName, String questionText, LimitsIncreaseQuestionSummary.QuestionType questionType, Map<String,String> options, Boolean isRequired)
Deprecated.
-
-
Method Detail
-
builder
public static LimitsIncreaseQuestionSummary.Builder builder()
Create a new builder.
-
toBuilder
public LimitsIncreaseQuestionSummary.Builder toBuilder()
-
getService
public String getService()
The name of the service for the question.- Returns:
- the value
-
getLimitName
public String getLimitName()
The name of the limit for the question (empty if the question is for the service).- Returns:
- the value
-
getQuestionText
public String getQuestionText()
The text for the question.- Returns:
- the value
-
getQuestionType
public LimitsIncreaseQuestionSummary.QuestionType getQuestionType()
The type of question.- Returns:
- the value
-
getOptions
public Map<String,String> getOptions()
Set options for the question.Applies to questions that aren’t free text.
- Returns:
- the value
-
getIsRequired
public Boolean getIsRequired()
When true, requires an answer to the question.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-