@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-04T01:02:11.281898+03:00[Europe/Moscow]") public class RunCreate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RunCreate.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CASES |
static String |
SERIALIZED_NAME_CUSTOM_FIELD |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_ENVIRONMENT_ID |
static String |
SERIALIZED_NAME_INCLUDE_ALL_CASES |
static String |
SERIALIZED_NAME_IS_AUTOTEST |
static String |
SERIALIZED_NAME_MILESTONE_ID |
static String |
SERIALIZED_NAME_PLAN_ID |
static String |
SERIALIZED_NAME_TAGS |
static String |
SERIALIZED_NAME_TITLE |
| Constructor and Description |
|---|
RunCreate() |
| Modifier and Type | Method and Description |
|---|---|
RunCreate |
addCasesItem(Long casesItem) |
RunCreate |
addTagsItem(String tagsItem) |
RunCreate |
cases(List<Long> cases) |
RunCreate |
customField(Map<String,String> customField) |
RunCreate |
description(String description) |
RunCreate |
environmentId(Long environmentId) |
boolean |
equals(Object o) |
static RunCreate |
fromJson(String jsonString)
Create an instance of RunCreate given an JSON string
|
List<Long> |
getCases()
Get cases
|
Map<String,String> |
getCustomField()
A map of custom fields values (id => value)
|
String |
getDescription()
Get description
|
Long |
getEnvironmentId()
Get environmentId
minimum: 1
|
Boolean |
getIncludeAllCases()
Get includeAllCases
|
Boolean |
getIsAutotest()
Get isAutotest
|
Long |
getMilestoneId()
Get milestoneId
minimum: 1
|
Long |
getPlanId()
Get planId
minimum: 1
|
List<String> |
getTags()
Get tags
|
String |
getTitle()
Get title
|
int |
hashCode() |
RunCreate |
includeAllCases(Boolean includeAllCases) |
RunCreate |
isAutotest(Boolean isAutotest) |
RunCreate |
milestoneId(Long milestoneId) |
RunCreate |
planId(Long planId) |
RunCreate |
putCustomFieldItem(String key,
String customFieldItem) |
void |
setCases(List<Long> cases) |
void |
setCustomField(Map<String,String> customField) |
void |
setDescription(String description) |
void |
setEnvironmentId(Long environmentId) |
void |
setIncludeAllCases(Boolean includeAllCases) |
void |
setIsAutotest(Boolean isAutotest) |
void |
setMilestoneId(Long milestoneId) |
void |
setPlanId(Long planId) |
void |
setTags(List<String> tags) |
void |
setTitle(String title) |
RunCreate |
tags(List<String> tags) |
RunCreate |
title(String title) |
String |
toJson()
Convert an instance of RunCreate to an JSON string
|
String |
toString() |
public static final String SERIALIZED_NAME_TITLE
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_INCLUDE_ALL_CASES
public static final String SERIALIZED_NAME_CASES
public static final String SERIALIZED_NAME_IS_AUTOTEST
public static final String SERIALIZED_NAME_ENVIRONMENT_ID
public static final String SERIALIZED_NAME_MILESTONE_ID
public static final String SERIALIZED_NAME_PLAN_ID
public static final String SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_CUSTOM_FIELD
public void setTitle(String title)
public void setDescription(String description)
@Nullable public Boolean getIncludeAllCases()
public void setIncludeAllCases(Boolean includeAllCases)
public void setIsAutotest(Boolean isAutotest)
@Nullable public Long getEnvironmentId()
public void setEnvironmentId(Long environmentId)
@Nullable public Long getMilestoneId()
public void setMilestoneId(Long milestoneId)
public void setPlanId(Long planId)
@Nullable public Map<String,String> getCustomField()
public static RunCreate fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to RunCreatepublic String toJson()
Copyright © 2023. All rights reserved.