def __init__(self, cycleCount=0, assignmentType='', Crews=None, status=None, validityInterval=None, *args, **kw_args):
        """Initialises a new 'ShiftPattern' instance.

        @param cycleCount: Number of cycles for a temporary shift. 
        @param assignmentType: Type of assignement intended to be worked on this shift, for example, temporary, standard, etc. 
        @param Crews:
        @param status:
        @param validityInterval: Date and time interval for which this shift pattern is valid (when it became effective and when it expires).
        """
        #: Number of cycles for a temporary shift.
        self.cycleCount = cycleCount

        #: Type of assignement intended to be worked on this shift, for example, temporary, standard, etc.
        self.assignmentType = assignmentType

        self._Crews = []
        self.Crews = [] if Crews is None else Crews

        self.status = status

        self.validityInterval = validityInterval

        super(ShiftPattern, self).__init__(*args, **kw_args)
def __init__ ( self , cycleCount = 0 , assignmentType = '' , Crews = None , status = None , validityInterval = None , * args , ** kw_args ) : self . cycleCount = cycleCount self . assignmentType = assignmentType self . _Crews = [ ] self . Crews = [ ] if Crews is None else Crews self . status = status self . validityInterval = validityInterval super ( ShiftPattern , self ) . __init__ ( * args , ** kw_args )
Initialises a new 'ShiftPattern' instance.

        @param cycleCount: Number of cycles for a temporary shift. 
        @param assignmentType: Type of assignement intended to be worked on this shift, for example, temporary, standard, etc. 
        @param Crews:
        @param status:
        @param validityInterval: Date and time interval for which this shift pattern is valid (when it became effective and when it expires).