@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-10T12:39:37.024419310Z[Etc/UTC]",
comments="Generator version: 7.7.0")
public class DeleteRepositoryReportsRequest
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeleteRepositoryReportsRequest.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_BRANCH |
static java.lang.String |
SERIALIZED_NAME_CONFIG_ID |
static java.lang.String |
SERIALIZED_NAME_REPOSITORY |
static java.lang.String |
SERIALIZED_NAME_SETTING_ID |
| Constructor and Description |
|---|
DeleteRepositoryReportsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteRepositoryReportsRequest |
branch(java.lang.String branch) |
DeleteRepositoryReportsRequest |
configId(java.util.UUID configId) |
boolean |
equals(java.lang.Object o) |
static DeleteRepositoryReportsRequest |
fromJson(java.lang.String jsonString)
Create an instance of DeleteRepositoryReportsRequest given an JSON string
|
java.lang.String |
getBranch()
If it's set, only this branch's reports belonging to the given repository will be deleted.
|
java.util.UUID |
getConfigId()
The Config's identifier from where the reports should be deleted.
|
java.lang.String |
getRepository()
The source control repository which's reports should be deleted.
|
java.lang.Integer |
getSettingId()
If it's set, only this setting's reports belonging to the given repository will be deleted.
|
int |
hashCode() |
DeleteRepositoryReportsRequest |
repository(java.lang.String repository) |
void |
setBranch(java.lang.String branch) |
void |
setConfigId(java.util.UUID configId) |
void |
setRepository(java.lang.String repository) |
void |
setSettingId(java.lang.Integer settingId) |
DeleteRepositoryReportsRequest |
settingId(java.lang.Integer settingId) |
java.lang.String |
toJson()
Convert an instance of DeleteRepositoryReportsRequest to an JSON string
|
java.lang.String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_CONFIG_ID
public static final java.lang.String SERIALIZED_NAME_REPOSITORY
public static final java.lang.String SERIALIZED_NAME_BRANCH
public static final java.lang.String SERIALIZED_NAME_SETTING_ID
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public DeleteRepositoryReportsRequest configId(java.util.UUID configId)
@Nonnull public java.util.UUID getConfigId()
public void setConfigId(java.util.UUID configId)
public DeleteRepositoryReportsRequest repository(java.lang.String repository)
@Nonnull public java.lang.String getRepository()
public void setRepository(java.lang.String repository)
public DeleteRepositoryReportsRequest branch(java.lang.String branch)
@Nullable public java.lang.String getBranch()
public void setBranch(java.lang.String branch)
public DeleteRepositoryReportsRequest settingId(java.lang.Integer settingId)
@Nullable public java.lang.Integer getSettingId()
public void setSettingId(java.lang.Integer settingId)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to DeleteRepositoryReportsRequestpublic static DeleteRepositoryReportsRequest fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to DeleteRepositoryReportsRequestpublic java.lang.String toJson()