from

Returns an instance of ActivityType with ActivityType.code equal to the specified code.