Package com.datadog.api.client.v2.model
Class SyntheticsTestVersionDiffPatches
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestVersionDiffPatches
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestVersionDiffPatches
extends Object
Object describing a patch in the diff.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDiffsItem(SyntheticsTestVersionDiffPatchDiff diffsItem) booleanReturn true if this SyntheticsTestVersionDiffPatches object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getDiffs()List of individual diff operations.Length of the original text segment.Length of the modified text segment.Start position in the original text.Start position in the modified text.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetLength1(Long length1) voidsetLength2(Long length2) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DIFFS
- See Also:
-
JSON_PROPERTY_LENGTH1
- See Also:
-
JSON_PROPERTY_LENGTH2
- See Also:
-
JSON_PROPERTY_START1
- See Also:
-
JSON_PROPERTY_START2
- See Also:
-
-
Constructor Details
-
SyntheticsTestVersionDiffPatches
public SyntheticsTestVersionDiffPatches()
-
-
Method Details
-
diffs
-
addDiffsItem
-
getDiffs
List of individual diff operations.- Returns:
- diffs
-
setDiffs
-
length1
-
getLength1
Length of the original text segment.- Returns:
- length1
-
setLength1
-
length2
-
getLength2
Length of the modified text segment.- Returns:
- length2
-
setLength2
-
start1
-
getStart1
Start position in the original text.- Returns:
- start1
-
setStart1
-
start2
-
getStart2
Start position in the modified text.- Returns:
- start2
-
setStart2
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SyntheticsTestVersionDiffPatches
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SyntheticsTestVersionDiffPatches object is equal to o. -
hashCode
public int hashCode() -
toString
-