toggle menu
sarif
jvm
switch theme
search in API
sarif
/
com.jetbrains.qodana.sarif.model
/
Edge
Edge
open
class
Edge
:
PropertyOwner
Represents a directed edge in a graph.
Members
Constructors
Edge
Link copied to clipboard
constructor
(
)
No args constructor for use in serialization
constructor
(
id
:
String
,
sourceNodeId
:
String
,
targetNodeId
:
String
)
Properties
id
Link copied to clipboard
@
SerializedName
(
value
=
"id"
)
@
Expose
open
var
id
:
String
A string that uniquely identifies the edge within its graph.
label
Link copied to clipboard
@
SerializedName
(
value
=
"label"
)
@
Expose
open
var
label
:
Message
Encapsulates a message intended to be read by the end user.
properties
Link copied to clipboard
@
SerializedName
(
value
=
"properties"
)
@
Expose
open
var
properties
:
PropertyBag
Key/value pairs that provide additional information about the object.
source
Node
Id
Link copied to clipboard
@
SerializedName
(
value
=
"sourceNodeId"
)
@
Expose
open
var
sourceNodeId
:
String
Identifies the source node (the node at which the edge starts).
target
Node
Id
Link copied to clipboard
@
SerializedName
(
value
=
"targetNodeId"
)
@
Expose
open
var
targetNodeId
:
String
Identifies the target node (the node at which the edge ends).
Functions
equals
Link copied to clipboard
open
fun
equals
(
other
:
Any
)
:
Boolean
get
Properties
Link copied to clipboard
abstract
fun
getProperties
(
)
:
PropertyBag
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
set
Properties
Link copied to clipboard
abstract
fun
setProperties
(
<set-?>
:
PropertyBag
)
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
update
Properties
Link copied to clipboard
open
fun
updateProperties
(
mutator
:
(
in
PropertyBag
)
->
Unit
)
with
Id
Link copied to clipboard
open
fun
withId
(
id
:
String
)
:
Edge
with
Label
Link copied to clipboard
open
fun
withLabel
(
label
:
Message
)
:
Edge
with
Properties
Link copied to clipboard
open
fun
withProperties
(
properties
:
PropertyBag
)
:
Edge
with
Source
Node
Id
Link copied to clipboard
open
fun
withSourceNodeId
(
sourceNodeId
:
String
)
:
Edge
with
Target
Node
Id
Link copied to clipboard
open
fun
withTargetNodeId
(
targetNodeId
:
String
)
:
Edge