Class of protozoa having cilia or hairlike appendages on part or all of the surface during some part of the life cycle.