NoteUpdateRequest

pydantic model openapi_client.models.note_update_request.NoteUpdateRequest

PUT /ai/playground/notes/{note_id} body. All fields optional; omitted fields are left unchanged.

Fields:
field title: Optional[StrictStr] = None (alias 'Title')

Updated note title

field note_content: Optional[StrictStr] = None (alias 'NoteContent')

Updated markdown content body of the note

field sources: Optional[List[Dict[str, Any]]] = None (alias 'Sources')

Updated sources metadata

field project_level_access: Optional[StrictStr] = None (alias 'ProjectLevelAccess')

Project-level access for project members when the note is linked to a project. Updates note metadata and related ACL entries.

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 NoteUpdateRequest 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 NoteUpdateRequest from a dict

Return type:

Optional[Self]