in distill/segmentation/segment.py [0:0]
def __init__(self, segment_name="", start_end_val=None, num_logs=0, uids=[]):
"""
Initializes a Segment object. This object contains metadata for the associated Segment.
:param segment_name: Name associated with the segment, defaults to an empty string
:param start_end_val: A list of tuples (i.e [(start_time, end_time)], where start_time and end_time are Date/Time Objects or integers. Defaults to a None value.
:param num_logs: Number of logs in the segment. Defaults to 0.
:param uids: A list of strings representing the associated uids of logs within the segment. Defaults to an empty list.
"""
self.segment_name = segment_name
self.start_end_val = start_end_val
self.num_logs = num_logs
self.uids = uids
self.generate_field_name = None
self.generate_matched_values = None
self.segment_type = None