github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/HookRun.md (about)

     1  # HookRun
     2  
     3  
     4  ## Properties
     5  
     6  Name | Type | Description | Notes
     7  ------------ | ------------- | ------------- | -------------
     8  **hook_run_id** | **str** |  | 
     9  **action** | **str** |  | 
    10  **hook_id** | **str** |  | 
    11  **start_time** | **datetime** |  | 
    12  **end_time** | **datetime** |  | [optional] 
    13  **status** | **str** |  | 
    14  
    15  ## Example
    16  
    17  ```python
    18  from lakefs_sdk.models.hook_run import HookRun
    19  
    20  # TODO update the JSON string below
    21  json = "{}"
    22  # create an instance of HookRun from a JSON string
    23  hook_run_instance = HookRun.from_json(json)
    24  # print the JSON string representation of the object
    25  print HookRun.to_json()
    26  
    27  # convert the object into a dict
    28  hook_run_dict = hook_run_instance.to_dict()
    29  # create an instance of HookRun from a dict
    30  hook_run_form_dict = hook_run.from_dict(hook_run_dict)
    31  ```
    32  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
    33  
    34