@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-04T01:02:11.281898+03:00[Europe/Moscow]") public class DefectCreate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DefectCreate.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACTUAL_RESULT |
static String |
SERIALIZED_NAME_ATTACHMENTS |
static String |
SERIALIZED_NAME_CUSTOM_FIELD |
static String |
SERIALIZED_NAME_MILESTONE_ID |
static String |
SERIALIZED_NAME_SEVERITY |
static String |
SERIALIZED_NAME_TAGS |
static String |
SERIALIZED_NAME_TITLE |
| Constructor and Description |
|---|
DefectCreate() |
public static final String SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_ACTUAL_RESULT
public static final String SERIALIZED_NAME_SEVERITY
public static final String SERIALIZED_NAME_MILESTONE_ID
public static final String SERIALIZED_NAME_ATTACHMENTS
public static final String SERIALIZED_NAME_CUSTOM_FIELD
public static final String SERIALIZED_NAME_TAGS
public DefectCreate title(String title)
public void setTitle(String title)
public DefectCreate actualResult(String actualResult)
public void setActualResult(String actualResult)
public DefectCreate severity(Integer severity)
public void setSeverity(Integer severity)
public DefectCreate milestoneId(Long milestoneId)
public void setMilestoneId(Long milestoneId)
public DefectCreate attachments(List<String> attachments)
public DefectCreate addAttachmentsItem(String attachmentsItem)
public DefectCreate customField(Map<String,String> customField)
public DefectCreate putCustomFieldItem(String key, String customFieldItem)
@Nullable public Map<String,String> getCustomField()
public DefectCreate tags(List<String> tags)
public DefectCreate addTagsItem(String tagsItem)
public static DefectCreate fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to DefectCreatepublic String toJson()
Copyright © 2023. All rights reserved.