Agent

public class Agent

Represent call-center Agent.

  • id

    Agent’s ID

    Declaration

    Swift

    var id: Int
  • Agent’s email

    Declaration

    Swift

    var email: String
  • Agent’s first name

    Declaration

    Swift

    var firstName: String
  • Agent’s last name

    Declaration

    Swift

    var lastName: String
  • Agent’s ccPassword

    Declaration

    Swift

    var ccPassword: String
  • Agent’s ccLogin

    Declaration

    Swift

    var ccLogin: String
  • Initializes a new agent according to given informations.

    Declaration

    Swift

    public init(id: Int, email: String, firstName: String, lastName: String, ccPassword: String, ccLogin: String)

    Parameters

    id

    ID of the agent.

    email

    Email with which the agent is registered on his Ziwo Domain.

    firstName

    Firstname of the agent.

    lastName

    Lastname of the agent.

    ccPassword

    ccPassword for the agent login on call center.

    ccLogin

    Login id for the call center platform.

    Return Value

    A well-formated Ziwo Agent.