toggle menu
sarif
jvm
switch theme
search in API
sarif
/
com.jetbrains.qodana.sarif.model
/
Node
Node
open
class
Node
:
PropertyOwner
Represents a node in a graph.
Members
Constructors
Node
Link copied to clipboard
constructor
(
)
No args constructor for use in serialization
constructor
(
id
:
String
)
Properties
children
Link copied to clipboard
@
SerializedName
(
value
=
"children"
)
@
Expose
open
var
children
:
Set
<
Node
>
Array of child nodes.
id
Link copied to clipboard
@
SerializedName
(
value
=
"id"
)
@
Expose
open
var
id
:
String
A string that uniquely identifies the node 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.
location
Link copied to clipboard
@
SerializedName
(
value
=
"location"
)
@
Expose
open
var
location
:
Location
A location within a programming artifact.
properties
Link copied to clipboard
@
SerializedName
(
value
=
"properties"
)
@
Expose
open
var
properties
:
PropertyBag
Key/value pairs that provide additional information about the object.
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
Children
Link copied to clipboard
open
fun
withChildren
(
children
:
Set
<
Node
>
)
:
Node
with
Id
Link copied to clipboard
open
fun
withId
(
id
:
String
)
:
Node
with
Label
Link copied to clipboard
open
fun
withLabel
(
label
:
Message
)
:
Node
with
Location
Link copied to clipboard
open
fun
withLocation
(
location
:
Location
)
:
Node
with
Properties
Link copied to clipboard
open
fun
withProperties
(
properties
:
PropertyBag
)
:
Node