Package com.datadog.api.client.v2.model
Class ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition
java.lang.Object
com.datadog.api.client.v2.model.ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition
extends Object
A nullable range within a file defined by a start and end position, along with the file name.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEnd()A specific position (line and column) within a source file.The name or path of the file containing this location.getRole()The semantic role associated with this file location.getStart()A specific position (line and column) within a source file.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetFileName(String fileName) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_END
- See Also:
-
JSON_PROPERTY_FILE_NAME
- See Also:
-
JSON_PROPERTY_ROLE
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
-
Constructor Details
-
ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition
public ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition()
-
-
Method Details
-
end
-
getEnd
A specific position (line and column) within a source file.- Returns:
- end
-
setEnd
-
fileName
public ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition fileName(String fileName) -
getFileName
The name or path of the file containing this location.- Returns:
- fileName
-
setFileName
-
role
-
getRole
The semantic role associated with this file location.- Returns:
- role
-
setRole
-
start
-
getStart
A specific position (line and column) within a source file.- Returns:
- start
-
setStart
-
putAdditionalProperty
public ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition putAdditionalProperty(String key, Object value) 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:
- ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition
-
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 ScaRequestDataAttributesDependenciesItemsLocationsItemsNullableFilePosition object is equal to o. -
hashCode
public int hashCode() -
toString
-