toggle menu
sarif
jvm
switch theme
search in API
sarif
/
com.jetbrains.qodana.sarif.model
/
ArtifactContent
Artifact
Content
open
class
ArtifactContent
:
PropertyOwner
Represents the contents of an artifact.
Members
Constructors
Artifact
Content
Link copied to clipboard
constructor
(
)
Properties
binary
Link copied to clipboard
@
SerializedName
(
value
=
"binary"
)
@
Expose
open
var
binary
:
String
MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.
properties
Link copied to clipboard
@
SerializedName
(
value
=
"properties"
)
@
Expose
open
var
properties
:
PropertyBag
Key/value pairs that provide additional information about the object.
rendered
Link copied to clipboard
@
SerializedName
(
value
=
"rendered"
)
@
Expose
open
var
rendered
:
MultiformatMessageString
A message string or message format string rendered in multiple formats.
text
Link copied to clipboard
@
SerializedName
(
value
=
"text"
)
@
Expose
open
var
text
:
String
UTF-8-encoded content from a text artifact.
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
Binary
Link copied to clipboard
open
fun
withBinary
(
binary
:
String
)
:
ArtifactContent
with
Properties
Link copied to clipboard
open
fun
withProperties
(
properties
:
PropertyBag
)
:
ArtifactContent
with
Rendered
Link copied to clipboard
open
fun
withRendered
(
rendered
:
MultiformatMessageString
)
:
ArtifactContent
with
Text
Link copied to clipboard
open
fun
withText
(
text
:
String
)
:
ArtifactContent