Skip to content

/AWS1/CL_CMTGETBLOBDIFRNCSOUT

GetBlobDifferencesOutput

CONSTRUCTOR

IMPORTING

Required arguments:

it_hunks TYPE /AWS1/CL_CMTDIFFHUNK=>TT_DIFFHUNKLIST TT_DIFFHUNKLIST

An ordered list of diff hunks. Each hunk represents a contiguous run of changed and adjacent context lines. The list is empty when the blobs are identical or when the content is binary. The list is also empty when a paginated request has already returned all hunks in earlier pages, in which case NextToken is also null.

iv_isbinary TYPE /AWS1/CMTCAPITALBOOLEAN /AWS1/CMTCAPITALBOOLEAN

Specifies whether the operation treated the diff content as binary. When true, the operation does not compute a line-level diff and hunks is empty.

iv_afterblobsize TYPE /AWS1/CMTOBJECTSIZE /AWS1/CMTOBJECTSIZE

The size, in bytes, of the blob identified by afterBlobId.

Optional arguments:

iv_beforeblobsize TYPE /AWS1/CMTOBJECTSIZE /AWS1/CMTOBJECTSIZE

The size, in bytes, of the blob identified by beforeBlobId. Returns 0 when you do not specify beforeBlobId.

iv_nexttoken TYPE /AWS1/CMTNEXTTOKEN /AWS1/CMTNEXTTOKEN

An enumeration token that can be used in a request to return the next batch of DiffHunk entries. null when the response contains the final page of the diff.


Queryable Attributes

hunks

An ordered list of diff hunks. Each hunk represents a contiguous run of changed and adjacent context lines. The list is empty when the blobs are identical or when the content is binary. The list is also empty when a paginated request has already returned all hunks in earlier pages, in which case NextToken is also null.

Accessible with the following methods

Method Description
GET_HUNKS() Getter for HUNKS, with configurable default
ASK_HUNKS() Getter for HUNKS w/ exceptions if field has no value
HAS_HUNKS() Determine if HUNKS has a value

isBinary

Specifies whether the operation treated the diff content as binary. When true, the operation does not compute a line-level diff and hunks is empty.

Accessible with the following methods

Method Description
GET_ISBINARY() Getter for ISBINARY, with configurable default
ASK_ISBINARY() Getter for ISBINARY w/ exceptions if field has no value
HAS_ISBINARY() Determine if ISBINARY has a value

beforeBlobSize

The size, in bytes, of the blob identified by beforeBlobId. Returns 0 when you do not specify beforeBlobId.

Accessible with the following methods

Method Description
GET_BEFOREBLOBSIZE() Getter for BEFOREBLOBSIZE

afterBlobSize

The size, in bytes, of the blob identified by afterBlobId.

Accessible with the following methods

Method Description
GET_AFTERBLOBSIZE() Getter for AFTERBLOBSIZE

NextToken

An enumeration token that can be used in a request to return the next batch of DiffHunk entries. null when the response contains the final page of the diff.

Accessible with the following methods

Method Description
GET_NEXTTOKEN() Getter for NEXTTOKEN, with configurable default
ASK_NEXTTOKEN() Getter for NEXTTOKEN w/ exceptions if field has no value
HAS_NEXTTOKEN() Determine if NEXTTOKEN has a value