com.fasterxml.jackson.annotation.JsonFilter(com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel.EXPLICITLY_SET_FILTER_NAME).
All the properties that were explicitly set by user will be serialized, even if set to null.
| Modifier and Type | Field and Description |
|---|---|
| private final Set | __explicitlySet__
A hash set that stores the names of the properties that were explicitly set by user. |
| public static final String | EXPLICITLY_SET_FILTER_NAME
The name of the explicitly set filter for usage in serialization / deserialization implementations |
| public static final String | EXPLICITLY_SET_PROPERTY_NAME
The name of the explicitly set map property for usage in serialization / deserialization implementations |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| protected void | markPropertyAsExplicitlySet(String
the name of the model property to mark as set by user. Should match the
property name exactly. propertyName)Specify that a model property was explicitly set by user. |
| public String | |
| public boolean | Returns: whether the property was explicitly specified by user.the name of the property. propertyName)Get whether a property was explicitly specified by user. |
| __explicitlySet__ | back to summary |
|---|---|
| private final Set<String> __explicitlySet__ A hash set that stores the names of the properties that were explicitly set by user. These
properties will be included in the json request even if they were set to | |
| EXPLICITLY_SET_FILTER_NAME | back to summary |
|---|---|
| public static final String EXPLICITLY_SET_FILTER_NAME The name of the explicitly set filter for usage in serialization / deserialization implementations | |
| EXPLICITLY_SET_PROPERTY_NAME | back to summary |
|---|---|
| public static final String EXPLICITLY_SET_PROPERTY_NAME The name of the explicitly set map property for usage in serialization / deserialization implementations | |
| ExplicitlySetBmcModel | back to summary |
|---|---|
| public ExplicitlySetBmcModel() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| markPropertyAsExplicitlySet | back to summary |
|---|---|
| protected void markPropertyAsExplicitlySet(String propertyName) Specify that a model property was explicitly set by user. The method should be used inside property setters.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| wasPropertyExplicitlySet | back to summary |
|---|---|
| public boolean wasPropertyExplicitlySet(String propertyName) Get whether a property was explicitly specified by user. It is highly unlikely that this is the method you want to use as a user.
| |