classdef API < target.Object

    properties (Dependent)
        Functions target.Function {mustBeVector(Functions, "allow-all-empties")}
        Language (1, 1) target.Language
    end

    methods

        function value = get.Functions(this)
            value = this.wrapValue(this.InnerInstance.Functions);
        end

        function set.Functions(this, value)
            this.InnerInstance.Functions = this.unwrapValue(value, this.InnerInstance.Functions);
        end

        function value = get.Language(this)
            value = this.wrapValue(this.InnerInstance.Language);
        end

        function set.Language(this, value)
            this.InnerInstance.Language = this.unwrapValue(value, this.InnerInstance.Language);
        end
    end

    methods (Static, Access = protected)

        function name = getQualifiedName()
            name = "target.API";
        end

        function name = getQualifiedInnerName()
            name = "target.internal.API";
        end
    end
end

%   Copyright 2021-2022 The MathWorks, Inc.