# Shared

## Domain Types

### Pagination

- `type Pagination struct{…}`

  Pagination response details.

  - `NextCursor string`

  - `PreviousCursor string`

  - `TotalCount int64`

### Region Name

- `type RegionName string`

  Region the resource is in.

  - `const RegionNameUsSva2 RegionName = "us-sva-2"`

### Resource Status

- `type ResourceStatus string`

  Status of the resource.

  - `const ResourceStatusPending ResourceStatus = "pending"`

  - `const ResourceStatusCreating ResourceStatus = "creating"`

  - `const ResourceStatusUpdating ResourceStatus = "updating"`

  - `const ResourceStatusReady ResourceStatus = "ready"`

  - `const ResourceStatusDeleting ResourceStatus = "deleting"`

  - `const ResourceStatusDeleted ResourceStatus = "deleted"`

  - `const ResourceStatusError ResourceStatus = "error"`

### Source IP Rule

- `type SourceIPRule struct{…}`

  IP filter rules.

  - `Allowed []string`

    List of IPv4 CIDR addresses to allow.

  - `Blocked []string`

    List of IPv4 CIDR addresses to deny.

### Source IP Rule Response

- `type SourceIPRuleResponse struct{…}`

  IP filter rules.

  - `Allowed []string`

    List of IPv4 CIDR addresses to allow.

  - `Blocked []string`

    List of IPv4 CIDR addresses to deny.
