Create a new :class:`ScheduledAnalysis` on the server.

        For convenience
        :func:`~mass_api_client.resources.analysis_system_instance.AnalysisSystemInstance.schedule_analysis`
        of class :class:`.AnalysisSystemInstance` can be used instead.

        :param analysis_system_instance: The :class:`.AnalysisSystemInstance` for which the sample should be scheduled.
        :param sample: The class:`.Sample` object to be scheduled.
        :return: The created :class:`ScheduledAnalysis` object.

def create(cls, analysis_system_instance, sample):
        """
        Create a new :class:`ScheduledAnalysis` on the server.

        For convenience
        :func:`~mass_api_client.resources.analysis_system_instance.AnalysisSystemInstance.schedule_analysis`
        of class :class:`.AnalysisSystemInstance` can be used instead.

        :param analysis_system_instance: The :class:`.AnalysisSystemInstance` for which the sample should be scheduled.
        :param sample: The class:`.Sample` object to be scheduled.
        :return: The created :class:`ScheduledAnalysis` object.
        """
        return cls._create(analysis_system_instance=analysis_system_instance.url, sample=sample.url)