NAME
WWW::TypePad::ObjectTypes - ObjectTypes API methods
METHODS
- get_all
-
my $res = $tp->object_types->get_all();
Get information about all of the object types in the API, including the names and types of their properties.
Returns List<ObjectType> which contains following properties.
- totalResults
-
(integer) The total number of items in the whole list of which this list object is a paginated view.
- entries
-
(array<ObjectType>) The items within the selected slice of the list.
- get
-
my $res = $tp->object_types->get($id);
Get information about the selected object type and its properties.
Returns ObjectType which contains following properties.
- name
-
(string) The name of this object type. If this is an anonymous type representing the request or response of an action endpoint, this property is omitted.
- parentType
-
(string) The name of the parent type. This property is omitted if this object type has no parent type.
- properties
-
(array<ObjectProperty>) The properties belonging to objects of this object type.