How to manage alert maintenance schedule with SDK?

This question is about "time of day" tab on "edit alert" page:

I have ~50 alerts which must be assigned to the same schedule. Orion Web doesn't allow to create a general schedule and assign it to several alerts at a time.
So the question is - how to do this with SDK?