Package com.oracle.bmc.aidocument.model
Class Dimensions
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.aidocument.model.Dimensions
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20221109") public final class Dimensions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe width and height of a page.
 Note: Objects should always be created or deserialized using theDimensions.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 theDimensions.Builder, which maintain a set of all explicitly set fields calledDimensions.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 SummaryNested Classes Modifier and Type Class Description static classDimensions.Builderstatic classDimensions.UnitThe unit of length.
 - 
Constructor SummaryConstructors Constructor Description Dimensions(Double width, Double height, Dimensions.Unit unit)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Dimensions.Builderbuilder()Create a new builder.booleanequals(Object o)DoublegetHeight()The height of a page.Dimensions.UnitgetUnit()The unit of length.DoublegetWidth()the width of a page.inthashCode()Dimensions.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Dimensions@Deprecated @ConstructorProperties({"width","height","unit"}) public Dimensions(Double width, Double height, Dimensions.Unit unit) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Dimensions.Builder builder() Create a new builder.
 - 
toBuilderpublic Dimensions.Builder toBuilder() 
 - 
getWidthpublic Double getWidth() the width of a page.- Returns:
- the value
 
 - 
getHeightpublic Double getHeight() The height of a page.- Returns:
- the value
 
 - 
getUnitpublic Dimensions.Unit getUnit() The unit of length.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-