NotesListItem¶
- pydantic model openapi_client.models.notes_list_item.NotesListItem¶
List projection fields plus resolved ChatName/ProjectName. Does not include note content.
- Fields:
- field note_id: Optional[StrictStr] = None (alias 'NoteId')¶
Note identifier
- field title: Optional[StrictStr] = None (alias 'Title')¶
Note title
- field note_type: Optional[StrictStr] = None (alias 'NoteType')¶
Note type (note or prompt); defaults to note when absent
- field creation_time: Optional[StrictStr] = None (alias 'CreationTime')¶
When the note was created
- field created_by: Optional[StrictStr] = None (alias 'CreatedBy')¶
Who created the note
- field last_modified_time: Optional[StrictStr] = None (alias 'LastModifiedTime')¶
When the note was last modified
- field last_modified_by: Optional[StrictStr] = None (alias 'LastModifiedBy')¶
Who last modified the note
- field chat_id: Optional[StrictStr] = None (alias 'ChatId')¶
Associated chat ID when present (otherwise may be N/A)
- field chat_name: Optional[StrictStr] = None (alias 'ChatName')¶
Resolved chat title, or “-” when not associated
- field project_id: Optional[StrictStr] = None (alias 'ProjectId')¶
Associated project ID when present (otherwise may be N/A)
- field project_name: Optional[StrictStr] = None (alias 'ProjectName')¶
Resolved project name, or “-” when not associated
- field access_type: Optional[StrictStr] = None (alias 'AccessType')¶
Caller’s access level on the note
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of NotesListItem from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of NotesListItem from a dict
- Return type:
Optional[Self]