toggle menu
sarif
jvm
switch theme
search in API
sarif
/
com.jetbrains.qodana.sarif.model
/
Replacement
Replacement
open
class
Replacement
:
PropertyOwner
The replacement of a single region of an artifact.
Members
Constructors
Replacement
Link copied to clipboard
constructor
(
)
No args constructor for use in serialization
constructor
(
deletedRegion
:
Region
)
Properties
deleted
Region
Link copied to clipboard
@
SerializedName
(
value
=
"deletedRegion"
)
@
Expose
open
var
deletedRegion
:
Region
A region within an artifact where a result was detected.
inserted
Content
Link copied to clipboard
@
SerializedName
(
value
=
"insertedContent"
)
@
Expose
open
var
insertedContent
:
ArtifactContent
Represents the contents of an 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
Deleted
Region
Link copied to clipboard
open
fun
withDeletedRegion
(
deletedRegion
:
Region
)
:
Replacement
with
Inserted
Content
Link copied to clipboard
open
fun
withInsertedContent
(
insertedContent
:
ArtifactContent
)
:
Replacement
with
Properties
Link copied to clipboard
open
fun
withProperties
(
properties
:
PropertyBag
)
:
Replacement