Class ThingFields


  • public class ThingFields
    extends KiiBaseObject
    Represent fields of thing on KiiCloud.
    • Constructor Detail

      • ThingFields

        public ThingFields()
    • Method Detail

      • setVendor

        public void setVendor​(@NonNull
                              java.lang.String value)
        Set the Vendor of this thing.
        Parameters:
        value - Vendor.
      • setFirmwareVersion

        public void setFirmwareVersion​(@NonNull
                                       java.lang.String value)
        Set the FirmwareVersion of this thing.
        Parameters:
        value - FirmwareVersion.
      • setProductName

        public void setProductName​(@NonNull
                                   java.lang.String value)
        Set the ProductName of this thing.
        Parameters:
        value - ProductName.
      • setLot

        public void setLot​(@NonNull
                           java.lang.String value)
        Set the Lot of this thing.
        Parameters:
        value - Lot.
      • setStringField1

        public void setStringField1​(@NonNull
                                    java.lang.String value)
        Set the StringField1 of this thing. This field will be indexed for querying.
        Parameters:
        value - StringField1.
      • setStringField2

        public void setStringField2​(@NonNull
                                    java.lang.String value)
        Set the StringField2 of this thing. This field will be indexed for querying.
        Parameters:
        value - StringField2.
      • setStringField3

        public void setStringField3​(@NonNull
                                    java.lang.String value)
        Set the StringField3 of this thing. This field will be indexed for querying.
        Parameters:
        value - StringField3.
      • setStringField4

        public void setStringField4​(@NonNull
                                    java.lang.String value)
        Set the StringField4 of this thing. This field will be indexed for querying.
        Parameters:
        value - StringField4.
      • setStringField5

        public void setStringField5​(@NonNull
                                    java.lang.String value)
        Set the StringField5 of this thing. This field will be indexed for querying.
        Parameters:
        value - StringField5.
      • setNumberField1

        public void setNumberField1​(@NonNull
                                    java.lang.Long value)
        Set the NumberField1 of this thing. This field will be indexed for querying.
        Parameters:
        value - NumberField1.
      • setNumberField2

        public void setNumberField2​(@NonNull
                                    java.lang.Long value)
        Set the NumberField2 of this thing. This field will be indexed for querying.
        Parameters:
        value - NumberField2.
      • setNumberField3

        public void setNumberField3​(@NonNull
                                    java.lang.Long value)
        Set the NumberField3 of this thing. This field will be indexed for querying.
        Parameters:
        value - NumberField3.
      • setNumberField4

        public void setNumberField4​(@NonNull
                                    java.lang.Long value)
        Set the NumberField4 of this thing. This field will be indexed for querying.
        Parameters:
        value - NumberField4.
      • setNumberField5

        public void setNumberField5​(@NonNull
                                    java.lang.Long value)
        Set the NumberField5 of this thing. This field will be indexed for querying.
        Parameters:
        value - NumberField5.
      • getVendor

        @Nullable
        public java.lang.String getVendor()
        Get the Vendor of this thing.
        Returns:
        Vendor. null if thing does not register Vendor.
      • getFirmwareVersion

        @Nullable
        public java.lang.String getFirmwareVersion()
        Get the FirmwareVersion of this thing.
        Returns:
        FirmwareVersion. null if thing does not register FirmwareVersion.
      • getProductName

        @Nullable
        public java.lang.String getProductName()
        Get the ProductName of this thing.
        Returns:
        ProductName. null if thing does not register ProductName.
      • getLot

        @Nullable
        public java.lang.String getLot()
        Get the Lot of this thing.
        Returns:
        Lot. null if thing does not register Lot.
      • getStringField1

        @Nullable
        public java.lang.String getStringField1()
        Get the StringField1 of this thing.
        Returns:
        StringField1. null if thing does not register StringField1.
      • getStringField2

        @Nullable
        public java.lang.String getStringField2()
        Get the StringField2 of this thing.
        Returns:
        StringField2. null if thing does not register StringField2.
      • getStringField3

        @Nullable
        public java.lang.String getStringField3()
        Get the StringField3 of this thing.
        Returns:
        StringField3. null if thing does not register StringField3.
      • getStringField4

        @Nullable
        public java.lang.String getStringField4()
        Get the StringField4 of this thing.
        Returns:
        StringField4. null if thing does not register StringField4.
      • getStringField5

        @Nullable
        public java.lang.String getStringField5()
        Get the StringField5 of this thing.
        Returns:
        StringField5. null if thing does not register StringField5.
      • getNumberField1

        @Nullable
        public java.lang.Long getNumberField1()
        Get the NumberField1 of this thing.
        Returns:
        NumberField1. null if thing does not register NumberField1.
      • getNumberField2

        @Nullable
        public java.lang.Long getNumberField2()
        Get the NumberField2 of this thing.
        Returns:
        NumberField2. null if thing does not register NumberField2.
      • getNumberField3

        @Nullable
        public java.lang.Long getNumberField3()
        Get the NumberField3 of this thing.
        Returns:
        NumberField3. null if thing does not register NumberField3.
      • getNumberField4

        @Nullable
        public java.lang.Long getNumberField4()
        Get the NumberField4 of this thing.
        Returns:
        NumberField4. null if thing does not register NumberField4.
      • getNumberField5

        @Nullable
        public java.lang.Long getNumberField5()
        Get the NumberField5 of this thing.
        Returns:
        NumberField5. null if thing does not register NumberField5.
      • toJsonString

        @NonNull
        public java.lang.String toJsonString()
        Serializes the this instance into its equivalent Json representation.
        Returns:
        representation of this ThingFields.