NetworkDeviceLink

constructor(shortCode: String = "", url: String = "", description: String? = null, type: String = TYPE_INTERNAL, targets: List<String>? = null, hwModels: List<Int>? = null, marketplace: String? = null, regions: List<String>? = null)(source)

Parameters

shortCode

msh.to short code, e.g. rokland-t-deck-plus.

url

the user-facing https://msh.to/<shortCode> link (the retailer destination is intentionally not exposed).

description

human-readable label.

type

authoritative classification: TYPE_INTERNAL, TYPE_VENDOR, or TYPE_MARKETPLACE.

targets

device platformioTargets this link is attached to; null = untriaged, empty = device-agnostic.

hwModels

hwModel ints derived from targets server-side (parallel list).

marketplace

retailer key (e.g. rokland) for marketplace links, else null.

regions

ISO 3166-1 alpha-2 shipping regions; null = worldwide (no region filter).