class_docstr: TtlDuration for records in online FeatureStore.
  
  Attributes:
      unit (str): time unit.
      value (int): time value.
class_docstr_tok: ["TtlDuration","for","records","in","online","FeatureStore",".","Attributes",":","unit","(","str",")",":","time","unit",".","value","(","int",")",":","time","value","."]
docstr: Construct a dictionary based on the attributes.
  
  Returns:
      dict represents the attributes.
code: def to_dict(self) -> Dict[str, Any]:
      """Construct a dictionary based on the attributes.
  
      Returns:
          dict represents the attributes.
      """
      return Config.construct_dict(
          Unit=self.unit,
          Value=self.value,
      )
  
imports: from __future__ import absolute_import
  import abc
  from typing import Dict, Any, List
  from enum import Enum
  import attr
label_desc: Use image node_id 1 for calling the TtlDuration obj's underlying member method code with example usage: obj.to_dict() and returns: Config