ReviewResponse is an interface representing the response from a review query. It includes the id, mediaId, userId, mediaType, summary, body, rating, ratingAmount, score, private status, siteUrl, createdAt, updatedAt, user of type BasicUser, and media of type Media.

interface ReviewResponse {
    body: string;
    createdAt: number;
    id: number;
    media: Media;
    mediaId: number;
    mediaType: string;
    private: boolean;
    rating: number;
    ratingAmount: number;
    score: number;
    siteUrl: string;
    summary: string;
    updatedAt: number;
    user: BasicUser;
    userId: number;
}

Properties

body: string

body is a string containing the full text of the review.

createdAt: number

createdAt is a number representing the timestamp when the review was created.

id: number

id is a number representing the id of the review.

media: Media

media is an instance of Media representing the media being reviewed.

mediaId: number

mediaId is a number representing the id of the media associated with the review.

mediaType: string

mediaType is a string representing the type of media being reviewed.

private: boolean

private is a boolean indicating whether the review is private.

rating: number

rating is a number representing the rating given in the review.

ratingAmount: number

ratingAmount is a number representing the amount of ratings the review has received.

score: number

score is a number representing the score given in the review.

siteUrl: string

siteUrl is a string representing the URL of the review on the site.

summary: string

summary is a string providing a brief summary of the review.

updatedAt: number

updatedAt is a number representing the timestamp when the review was last updated.

user: BasicUser

user is an instance of BasicUser representing the user who created the review.

userId: number

userId is a number representing the id of the user who created the review.