code property

int? code
getter/setter pair

The HTTP status code to define a TTL against.

Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.

Implementation

core.int? code;