Class ResultAttachment
- java.lang.Object
-
- step.repositories.azure.devops.util.AutoToString
-
- step.repositories.azure.devops.rest.model.ResultAttachment
-
public class ResultAttachment extends AutoToString
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
attachmentType
java.lang.String
comment
static java.lang.String
DEFAULT_ATTACHMENT_TYPE
java.lang.String
fileName
static RequestSpecification<ResultAttachment>
SPEC
java.lang.String
stream
-
Constructor Summary
Constructors Constructor Description ResultAttachment()
ResultAttachment(java.lang.String fileName, java.lang.String comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDataFromFile(java.io.File file)
void
setDataFromString(java.lang.String text)
-
Methods inherited from class step.repositories.azure.devops.util.AutoToString
toString
-
-
-
-
Field Detail
-
DEFAULT_ATTACHMENT_TYPE
public static java.lang.String DEFAULT_ATTACHMENT_TYPE
-
SPEC
public static final RequestSpecification<ResultAttachment> SPEC
-
stream
public java.lang.String stream
-
fileName
public java.lang.String fileName
-
comment
public java.lang.String comment
-
attachmentType
public java.lang.String attachmentType
-
-