The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::TypePad::Object::Favorite - Perl representation of TypePad's Favorite object type

SYNOPSIS

    use WebService::TypePad::Object::Favorite;
    my $favorite = WebService::TypePad::Object::Favorite->new();

DESCRIPTION

This is a Perl representation of TypePad's Favorite object type. For more information about this type and its parameters, see the documentation on TypePad's developer site.

PROPERTIES

Each of these properties has an accessor method which will retrieve the property's value when called with no arguments or set the property's value when called with one argument.

$favorite->author

The owner of this favorite. This is the user that marked the asset as a favorite, not the owner of the target asset.

Returns a single User object.

$favorite->id

A URI that serves as a globally-unique id for the favorite. This can be used to recognise where the same favorite is returned in response to different requests, and as a mapping key for an application's local data store.

Returns a single string value.

$favorite->in_reply_to

A reference to the asset that has been marked as a favorite.

Returns a single AssetRef object.

$favorite->published

The time that the favorite was created, as an RFC3339 timestamp.

Returns a single string value.

$favorite->url_id

A string containing the canonical identifier that can be used as the "id" for this favorite in URLs. However, this should not be used as a database key to avoid collisions when an application is switched to a different backend server such as the development server; use the "id" property instead.

Returns a single string value.

SEE ALSO