@Generated(value="OracleSDKGenerator", comments="API Version: 20210101") public final class EmbeddedInputDetails extends InputDetails
The request body when byte data is provided in detect call, which is Base64 encoded. The default type of the data is CSV and can be JSON by setting the ‘contentType’.
EmbeddedInputDetails.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 EmbeddedInputDetails.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
EmbeddedInputDetails.Builder |
static class |
EmbeddedInputDetails.ContentType |
InputDetails.InputType
Constructor and Description |
---|
EmbeddedInputDetails(EmbeddedInputDetails.ContentType contentType,
byte[] content)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static EmbeddedInputDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
byte[] |
getContent() |
EmbeddedInputDetails.ContentType |
getContentType() |
int |
hashCode() |
EmbeddedInputDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public EmbeddedInputDetails(EmbeddedInputDetails.ContentType contentType, byte[] content)
public static EmbeddedInputDetails.Builder builder()
Create a new builder.
public EmbeddedInputDetails.Builder toBuilder()
public EmbeddedInputDetails.ContentType getContentType()
public byte[] getContent()
public String toString()
toString
in class InputDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class InputDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class InputDetails
public int hashCode()
hashCode
in class InputDetails
Copyright © 2016–2023. All rights reserved.