Class AdditionalFilter
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.marketplacepublisher.model.AdditionalFilter
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20241201") public final class AdditionalFilter extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAdditional filters for the product
Note: Objects should always be created or deserialized using theAdditionalFilter.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
AdditionalFilter.Builder, which maintain a set of all explicitly set fields calledAdditionalFilter.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 classAdditionalFilter.Builder
-
Constructor Summary
Constructors Constructor Description AdditionalFilter(String name, String code, String usageInstructions, Boolean isMultiSelect, Boolean isMandatory, List<FilterProperty> properties)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdditionalFilter.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCode()Filter codeBooleangetIsMandatory()Is the product code mandatory or notBooleangetIsMultiSelect()Is multiselect available for product code or notStringgetName()Filter nameList<FilterProperty>getProperties()Additional filters attached to custom filterStringgetUsageInstructions()Usage instructions for the propertiesinthashCode()AdditionalFilter.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
AdditionalFilter
@Deprecated @ConstructorProperties({"name","code","usageInstructions","isMultiSelect","isMandatory","properties"}) public AdditionalFilter(String name, String code, String usageInstructions, Boolean isMultiSelect, Boolean isMandatory, List<FilterProperty> properties)
Deprecated.
-
-
Method Detail
-
builder
public static AdditionalFilter.Builder builder()
Create a new builder.
-
toBuilder
public AdditionalFilter.Builder toBuilder()
-
getName
public String getName()
Filter name- Returns:
- the value
-
getCode
public String getCode()
Filter code- Returns:
- the value
-
getUsageInstructions
public String getUsageInstructions()
Usage instructions for the properties- Returns:
- the value
-
getIsMultiSelect
public Boolean getIsMultiSelect()
Is multiselect available for product code or not- Returns:
- the value
-
getIsMandatory
public Boolean getIsMandatory()
Is the product code mandatory or not- Returns:
- the value
-
getProperties
public List<FilterProperty> getProperties()
Additional filters attached to custom filter- 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
-
-