Skip to content

Urls

API models for the urls endpoint.

EditWebsiteRequest

A model request to ravyapi.api.endpoints.urls.URLs.edit_website.

Parameters:

Name Type Description Default
is_fraudulent bool

Whether the website is fraudulent.

required
message str

An informational message about the website.

required

Attributes:

Name Type Description
is_fraudulent bool

Whether the website is fraudulent.

message str

An informational message about the website.

is_fraudulent property

is_fraudulent: bool

Whether the website is fraudulent.

message property

message: str

An informational message about the website.

__init__

__init__(is_fraudulent: bool, message: str) -> None

Parameters:

Name Type Description Default
is_fraudulent bool

Whether the website is fraudulent.

required
message str

An informational message about the website.

required

to_json

to_json() -> dict[str, Any]

Returns a JSON representation of the model.

Returns:

Type Description
dict[str, Any]

A JSON representation of the model.

GetWebsiteResponse

A model response from ravyapi.api.endpoints.urls.URLs.get_website.

Attributes:

Name Type Description
data dict[str, Any]

The raw data returned from the Ravy API.

is_fraudulent bool

Whether the website is fraudulent.

message str

An informational message about the website.

data property

data: dict[str, Any]

The raw data returned from the Ravy API.

is_fraudulent property

is_fraudulent: bool

Whether the website is fraudulent.

message property

message: str

An informational message about the website.