class CopyNotebookModel
CopyNotebookModel is a data model class that inherits from ClientValue, representing a notebook copy operation in the Office365 API context.
/tf/active/vicechatdev/SPFCsync/venv/lib64/python3.11/site-packages/office365/onenote/notebooks/copy_notebook_model.py
4 - 5
simple
Purpose
This class serves as a data transfer object (DTO) or model for representing notebook copy operations within the Office365 ecosystem. It inherits from ClientValue, which typically provides serialization/deserialization capabilities for client-server communication. As a pass-through class with no additional implementation, it likely relies entirely on its parent class functionality or serves as a type marker for API operations related to copying notebooks.
Source Code
class CopyNotebookModel(ClientValue):
pass
Parameters
| Name | Type | Default | Kind |
|---|---|---|---|
bases |
ClientValue | - |
Parameter Details
bases: ClientValue - The parent class that provides base functionality for client-side value objects in the Office365 API. This base class typically handles JSON serialization, property management, and communication with Office365 services.
Return Value
Instantiation returns a CopyNotebookModel object that inherits all functionality from ClientValue. The object can be used to represent notebook copy operations and will have properties and methods inherited from ClientValue for handling data serialization and API communication.
Class Interface
Dependencies
office365-runtime
Required Imports
from office365.runtime.client_value import ClientValue
Usage Example
from office365.runtime.client_value import ClientValue
from your_module import CopyNotebookModel
# Instantiate the model
copy_model = CopyNotebookModel()
# The class inherits from ClientValue, so it can be used in Office365 API calls
# Typically used as part of a larger Office365 operation context
# Example: passing to a notebook copy API method
# notebook_service.copy(copy_model)
Best Practices
- This is a minimal pass-through class that relies on its parent ClientValue for all functionality
- Instantiate this class when you need to represent a notebook copy operation in Office365 API calls
- The class likely gets its properties dynamically from the ClientValue parent class
- Check the ClientValue parent class documentation for available methods and properties
- This class serves as a type marker, so use it in contexts where CopyNotebookModel type is expected by the API
- Do not add instance attributes directly; use the property mechanisms provided by ClientValue
- The class is designed to work within the Office365 SDK ecosystem and should be used with appropriate authentication context
Similar Components
AI-powered semantic similarity - components with related functionality:
-
class RecentNotebook 63.4% similar
-
class Notebook 60.3% similar
-
class NotebookCollection 60.0% similar
-
class OnenoteEntityBaseModel 57.5% similar
-
class RecentNotebookLinks 56.6% similar