# UnknownTrait.UnknownTraitFactory

# UnknownTrait.UnknownTraitFactory


```
class UnknownTrait.UnknownTraitFactory : TraitFactory
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.home.TraitFactory](https://developers.home.google.com/reference/kotlin/com/google/home/TraitFactory) ||
|   | ↳ | [com.google.home.automation.UnknownTrait.UnknownTraitFactory](https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnknownTrait.UnknownTraitFactory) |

*** ** * ** ***

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnknownTrait.UnknownTraitFactory#UnknownTraitFactory(kotlin.String)(id: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnknownTrait.UnknownTraitFactory#equals(kotlin.Any)(other: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnknownTrait.UnknownTraitFactory#hashCode()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnknownTrait.UnknownTraitFactory#id()` |

| ### Inherited functions |
|---|
| From [com.google.home.TraitFactory](https://developers.home.google.com/reference/kotlin/com/google/home/TraitFactory) |---|---| | `open https://developers.home.google.com/reference/kotlin/com/google/home/Field?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalApi https://developers.home.google.com/reference/kotlin/com/google/home/TraitFactory#getAttributeById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` | | `open https://developers.home.google.com/reference/kotlin/com/google/home/Field?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalApi https://developers.home.google.com/reference/kotlin/com/google/home/TraitFactory#getAttributeByName(kotlin.String)(name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` | |

| ### Inherited properties |
|---|
| From [com.google.home.TraitFactory](https://developers.home.google.com/reference/kotlin/com/google/home/TraitFactory) |---|---| | `InternalTraitFactory<https://developers.home.google.com/reference/kotlin/com/google/home/automation/UnknownTrait>` | `https://developers.home.google.com/reference/kotlin/com/google/home/TraitFactory#factory()` the internal factory. | |

## Public constructors

### UnknownTraitFactory

```
UnknownTraitFactory(id: String)
```

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### id

```
val id: String
```