#OOPR-Assgn-10

class CallDetail:
    def __init__(self,phoneno,called_no,duration,call_type):
        self.__phoneno=phoneno
        self.__called_no=called_no
        self.__duration=duration
        self.__call_type=call_type

class Util:
    def __init__(self):
        self.list_of_call_objects=None

    def parse_customer(self,list_of_call_string):
        self.list_of_call_objects=[]
        for call in list_of_call_string:
            list1=call.split(",")
            obj=CallDetail(list1[0],list1[1],list1[2],list1[3])
            self.list_of_call_objects.append(obj)

call='9990000001,9330000001,23,STD'
call2='9990000001,9330000002,54,Local'
call3='9990000001,9330000003,6,ISD'

list_of_call_string=[call,call2,call3]
Util().parse_customer(list_of_call_string)
59a1cb841038069ad00f8afcdeaa90acf6b59215
<mask token>


class Util:

    def __init__(self):
        self.list_of_call_objects = None

    def parse_customer(self, list_of_call_string):
        self.list_of_call_objects = []
        for call in list_of_call_string:
            list1 = call.split(',')
            obj = CallDetail(list1[0], list1[1], list1[2], list1[3])
            self.list_of_call_objects.append(obj)


<mask token>

class CallDetail:
    <mask token>


class Util:

    def __init__(self):
        self.list_of_call_objects = None

    def parse_customer(self, list_of_call_string):
        self.list_of_call_objects = []
        for call in list_of_call_string:
            list1 = call.split(',')
            obj = CallDetail(list1[0], list1[1], list1[2], list1[3])
            self.list_of_call_objects.append(obj)


<mask token>

class CallDetail:

    def __init__(self, phoneno, called_no, duration, call_type):
        self.__phoneno = phoneno
        self.__called_no = called_no
        self.__duration = duration
        self.__call_type = call_type


class Util:

    def __init__(self):
        self.list_of_call_objects = None

    def parse_customer(self, list_of_call_string):
        self.list_of_call_objects = []
        for call in list_of_call_string:
            list1 = call.split(',')
            obj = CallDetail(list1[0], list1[1], list1[2], list1[3])
            self.list_of_call_objects.append(obj)


<mask token>

class CallDetail:

    def __init__(self, phoneno, called_no, duration, call_type):
        self.__phoneno = phoneno
        self.__called_no = called_no
        self.__duration = duration
        self.__call_type = call_type


class Util:

    def __init__(self):
        self.list_of_call_objects = None

    def parse_customer(self, list_of_call_string):
        self.list_of_call_objects = []
        for call in list_of_call_string:
            list1 = call.split(',')
            obj = CallDetail(list1[0], list1[1], list1[2], list1[3])
            self.list_of_call_objects.append(obj)


call = '9990000001,9330000001,23,STD'
call2 = '9990000001,9330000002,54,Local'
call3 = '9990000001,9330000003,6,ISD'
list_of_call_string = [call, call2, call3]
Util().parse_customer(list_of_call_string)

#OOPR-Assgn-10

class CallDetail:
    def __init__(self,phoneno,called_no,duration,call_type):
        self.__phoneno=phoneno
        self.__called_no=called_no
        self.__duration=duration
        self.__call_type=call_type

class Util:
    def __init__(self):
        self.list_of_call_objects=None

    def parse_customer(self,list_of_call_string):
        self.list_of_call_objects=[]
        for call in list_of_call_string:
            list1=call.split(",")
            obj=CallDetail(list1[0],list1[1],list1[2],list1[3])
            self.list_of_call_objects.append(obj)

call='9990000001,9330000001,23,STD'
call2='9990000001,9330000002,54,Local'
call3='9990000001,9330000003,6,ISD'

list_of_call_string=[call,call2,call3]
Util().parse_customer(list_of_call_string)