def __init__(self, name: str, cloud_device_id: Optional[str], type_name: EntityType, fields: List[EntityField], is_reporting: bool, guid: Optional[str]=None, metadata: Optional[Dict[(str, str)]]=None):
    "Init.\n\n    Args:\n      name: the entity's name.\n      cloud_device_id: Device id iot core or any iot application.\n      type_name: DBO entity type stored in EntityType instance.\n      fields: List of standard field names.\n      is_reporting: if an entity maps 1:1 to a reporting device, it is a\n        reporting entity.\n      guid: [Optional] Universally Unique identification code for an entity.\n      metadata: Contextual metadata about an entity.\n    "
    self.name = name
    self._guid = guid
    self.cloud_device_id = cloud_device_id
    self.type_name = type_name
    self._fields = fields
    self.is_reporting = is_reporting
    self.metadata = metadata
Init.

Args:
  name: the entity's name.
  cloud_device_id: Device id iot core or any iot application.
  type_name: DBO entity type stored in EntityType instance.
  fields: List of standard field names.
  is_reporting: if an entity maps 1:1 to a reporting device, it is a
    reporting entity.
  guid: [Optional] Universally Unique identification code for an entity.
  metadata: Contextual metadata about an entity.
def __init__(self, name: str, cloud_device_id: Optional[str], type_name: EntityType, fields: List[EntityField], is_reporting: bool, guid: Optional[str]=None, metadata: Optional[Dict[(str, str)]]=None):
    "Init.\n\n    Args:\n      name: the entity's name.\n      cloud_device_id: Device id iot core or any iot application.\n      type_name: DBO entity type stored in EntityType instance.\n      fields: List of standard field names.\n      is_reporting: if an entity maps 1:1 to a reporting device, it is a\n        reporting entity.\n      guid: [Optional] Universally Unique identification code for an entity.\n      metadata: Contextual metadata about an entity.\n    "
    self.name = name
    self._guid = guid
    self.cloud_device_id = cloud_device_id
    self.type_name = type_name
    self._fields = fields
    self.is_reporting = is_reporting
    self.metadata = metadata