@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ContentMatchOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContentMatchOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_PATTERN |
Constructor and Description |
---|
ContentMatchOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ContentMatchOptions |
fromJson(String jsonString)
Create an instance of ContentMatchOptions given an JSON string
|
String |
getPattern()
Java style regex pattern.
|
int |
hashCode() |
ContentMatchOptions |
pattern(String pattern) |
void |
setPattern(String pattern) |
String |
toJson()
Convert an instance of ContentMatchOptions to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_PATTERN
public ContentMatchOptions pattern(String pattern)
@Nonnull public String getPattern()
public void setPattern(String pattern)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to ContentMatchOptionspublic static ContentMatchOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ContentMatchOptionspublic String toJson()
Copyright © 2023. All rights reserved.