public class ThingTypeDefinition extends Object implements Serializable
The definition of the thing type, including thing type name and description.
| Constructor and Description |
|---|
ThingTypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ThingTypeMetadata |
getThingTypeMetadata()
The ThingTypeMetadata contains additional information about the thing
type including: creation date and time, a value indicating whether the
thing type is deprecated, and a date and time when time was deprecated.
|
String |
getThingTypeName()
The name of the thing type.
|
ThingTypeProperties |
getThingTypeProperties()
The ThingTypeProperties for the thing type.
|
int |
hashCode() |
void |
setThingTypeMetadata(ThingTypeMetadata thingTypeMetadata)
The ThingTypeMetadata contains additional information about the thing
type including: creation date and time, a value indicating whether the
thing type is deprecated, and a date and time when time was deprecated.
|
void |
setThingTypeName(String thingTypeName)
The name of the thing type.
|
void |
setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThingTypeDefinition |
withThingTypeMetadata(ThingTypeMetadata thingTypeMetadata)
The ThingTypeMetadata contains additional information about the thing
type including: creation date and time, a value indicating whether the
thing type is deprecated, and a date and time when time was deprecated.
|
ThingTypeDefinition |
withThingTypeName(String thingTypeName)
The name of the thing type.
|
ThingTypeDefinition |
withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
|
public String getThingTypeName()
The name of the thing type.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing type.
public void setThingTypeName(String thingTypeName)
The name of the thing type.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type.
public ThingTypeDefinition withThingTypeName(String thingTypeName)
The name of the thing type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingTypeName - The name of the thing type.
public ThingTypeProperties getThingTypeProperties()
The ThingTypeProperties for the thing type.
The ThingTypeProperties for the thing type.
public void setThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
thingTypeProperties - The ThingTypeProperties for the thing type.
public ThingTypeDefinition withThingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type.
Returns a reference to this object so that method calls can be chained together.
thingTypeProperties - The ThingTypeProperties for the thing type.
public ThingTypeMetadata getThingTypeMetadata()
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.
public void setThingTypeMetadata(ThingTypeMetadata thingTypeMetadata)
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.
thingTypeMetadata - The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.
public ThingTypeDefinition withThingTypeMetadata(ThingTypeMetadata thingTypeMetadata)
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.
Returns a reference to this object so that method calls can be chained together.
thingTypeMetadata - The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when time was deprecated.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.