@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateGroupOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateGroupOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_NAME |
Constructor and Description |
---|
CreateGroupOptions() |
Modifier and Type | Method and Description |
---|---|
CreateGroupOptions |
description(String description) |
boolean |
equals(Object o) |
static CreateGroupOptions |
fromJson(String jsonString)
Create an instance of CreateGroupOptions given an JSON string
|
String |
getDescription()
Get description
|
String |
getName()
Get name
|
int |
hashCode() |
CreateGroupOptions |
name(String name) |
void |
setDescription(String description) |
void |
setName(String name) |
String |
toJson()
Convert an instance of CreateGroupOptions 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_NAME
public static final String SERIALIZED_NAME_DESCRIPTION
public CreateGroupOptions name(String name)
public void setName(String name)
public CreateGroupOptions description(String description)
public void setDescription(String description)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateGroupOptionspublic static CreateGroupOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateGroupOptionspublic String toJson()
Copyright © 2023. All rights reserved.