Class DeviceAttribute

    • Method Detail

      • getBool

        public Boolean getBool()
        BoolValue is a true/false value.
      • setBool

        public void setBool​(Boolean bool)
        BoolValue is a true/false value.
      • getBools

        public List<Boolean> getBools()
        BoolValues is a non-empty list of true/false values.
      • setBools

        public void setBools​(List<Boolean> bools)
        BoolValues is a non-empty list of true/false values.
      • getInt

        public Long getInt()
        IntValue is a number.
      • setInt

        public void setInt​(Long _int)
        IntValue is a number.
      • getInts

        public List<Long> getInts()
        IntValues is a non-empty list of numbers.


        This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

      • setInts

        public void setInts​(List<Long> ints)
        IntValues is a non-empty list of numbers.


        This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

      • getString

        public String getString()
        StringValue is a string. Must not be longer than 64 characters.
      • setString

        public void setString​(String string)
        StringValue is a string. Must not be longer than 64 characters.
      • getStrings

        public List<String> getStrings()
        StringValues is a non-empty list of strings. Each string must not be longer than 64 characters.


        This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

      • setStrings

        public void setStrings​(List<String> strings)
        StringValues is a non-empty list of strings. Each string must not be longer than 64 characters.


        This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

      • getVersion

        public String getVersion()
        VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
      • setVersion

        public void setVersion​(String version)
        VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.
      • getVersions

        public List<String> getVersions()
        VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters.


        This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

      • setVersions

        public void setVersions​(List<String> versions)
        VersionValues is a non-empty list of semantic versions according to semver.org spec 2.0.0. Each version string must not be longer than 64 characters.


        This is an alpha field and requires enabling the DRAListTypeAttributes feature gate.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)