CarsLink

public final class CarsLink

A map of links to other Car APIs. possible link name: ApiBooking

Parameters

href

HATEOAS URL to fetch details.

accept

Accept header.

method

HTTP method to connect.

Constructors

Link copied to clipboard
public CarsLink CarsLink(String href, String accept, String method)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String accept
Link copied to clipboard
@NotNull()
@Valid()
private final String href
Link copied to clipboard
@Valid()
private final String method

Functions

Link copied to clipboard
public final static CarsLink.Builder builder()
Link copied to clipboard
public final String getAccept()
Link copied to clipboard
public final String getHref()
Link copied to clipboard
public final String getMethod()
Link copied to clipboard
public final CarsLink.Builder toBuilder()