Package io.voucherify.client.model
Class ManagementProjectsBrandingListResponseBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsBrandingListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsBrandingListResponseBody
extends Object
Object containing a list of brand configurations. It always contains one item.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of brand objects.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(ManagementProjectsBranding dataItem) data(List<ManagementProjectsBranding> data) booleanCreate an instance of ManagementProjectsBrandingListResponseBody given an JSON stringgetData()Array of brand objects.Identifies the name of the attribute that contains the array of brand objects.The type of the object represented by JSON.getTotal()The total number of brand objects.inthashCode()voidvoidvoidvoidtoJson()Convert an instance of ManagementProjectsBrandingListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsBrandingListResponseBody
public ManagementProjectsBrandingListResponseBody()
-
-
Method Details
-
_object
public ManagementProjectsBrandingListResponseBody _object(ManagementProjectsBrandingListResponseBody.ObjectEnum _object) -
getObject
The type of the object represented by JSON. This object stores information about the brand in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
public ManagementProjectsBrandingListResponseBody dataRef(ManagementProjectsBrandingListResponseBody.DataRefEnum dataRef) -
getDataRef
Identifies the name of the attribute that contains the array of brand objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
Array of brand objects. It contains only one object.- Returns:
- data
-
setData
-
total
-
getTotal
The total number of brand objects. It is always `1`.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsBrandingListResponseBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsBrandingListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsBrandingListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsBrandingListResponseBody
-
toJson
Convert an instance of ManagementProjectsBrandingListResponseBody to an JSON string- Returns:
- JSON string
-