import * as v from "@zwave-js/core/validation";
export function validateArgs_NodeNamingAndLocationCCAPI_setName() {
    return (__decoratedMethod, { kind }) => {
        if (kind === "method") {
            return function setName(name) {
                v.assert(v.primitive({ kind: "parameter", name: "name" }, "string")(name));
                return __decoratedMethod.call(this, name);
            };
        }
    };
}
export function validateArgs_NodeNamingAndLocationCCAPI_setLocation() {
    return (__decoratedMethod, { kind }) => {
        if (kind === "method") {
            return function setLocation(location) {
                v.assert(v.primitive({ kind: "parameter", name: "location" }, "string")(location));
                return __decoratedMethod.call(this, location);
            };
        }
    };
}
//# sourceMappingURL=NodeNamingCC._validateArgs.js.map