def create_from_discriminator_value(parse_node: ParseNode) -> CopyToDefaultContentLocationPostRequestBody:
        """
        Creates a new instance of the appropriate class based on discriminator value
        param parse_node: The parse node to use to read the discriminator value and create the object
        Returns: CopyToDefaultContentLocationPostRequestBody
        """
        if parse_node is None:
            raise TypeError("parse_node cannot be null.")
        return CopyToDefaultContentLocationPostRequestBody()

        Creates a new instance of the appropriate class based on discriminator value
        param parse_node: The parse node to use to read the discriminator value and create the object
        Returns: CopyToDefaultContentLocationPostRequestBody
        
msgraph/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_post_request_body.py