Package io.voucherify.client.model
Class PublicationsListResponseBody
java.lang.Object
io.voucherify.client.model.PublicationsListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PublicationsListResponseBody
extends Object
Response body schema for listing publications using **GET** `v1/publications`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPublicationsItem(PublicationsListResponseBodyPublicationsItem publicationsItem) booleanstatic PublicationsListResponseBodyCreate an instance of PublicationsListResponseBody given an JSON stringIdentifies the name of the attribute that contains the array of publications.The type of the object represented by JSON.Response schema model for publishing vouchers to a specific customer.getTotal()Total number of publications.inthashCode()publications(List<PublicationsListResponseBodyPublicationsItem> publications) voidsetDataRef(String dataRef) voidvoidsetPublications(List<PublicationsListResponseBodyPublicationsItem> publications) voidtoJson()Convert an instance of PublicationsListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_PUBLICATIONS
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PublicationsListResponseBody
public PublicationsListResponseBody()
-
-
Method Details
-
_object
-
getObject
The type of the object represented by JSON. This object stores information about publications in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
-
getDataRef
Identifies the name of the attribute that contains the array of publications.- Returns:
- dataRef
-
setDataRef
-
publications
public PublicationsListResponseBody publications(List<PublicationsListResponseBodyPublicationsItem> publications) -
addPublicationsItem
public PublicationsListResponseBody addPublicationsItem(PublicationsListResponseBodyPublicationsItem publicationsItem) -
getPublications
Response schema model for publishing vouchers to a specific customer.- Returns:
- publications
-
setPublications
-
total
-
getTotal
Total number of publications.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of PublicationsListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PublicationsListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to PublicationsListResponseBody
-
toJson
Convert an instance of PublicationsListResponseBody to an JSON string- Returns:
- JSON string
-