func (d Direction) Friendly() string {
	switch d {
	case DirectionOutboundReply:
		return "Reply"
	case DirectionOutboundCall:
		return "Outgoing (from call)"
	case DirectionOutboundAPI:
		return "Outgoing (from API)"
	case DirectionInbound:
		return "Incoming"
	case DirectionOutboundDial:
		return "Outgoing (via Dial)"
	case DirectionTrunkingTerminating:
		return "Trunking (terminating)"
	case DirectionTrunkingOriginating:
		return "Trunking (originating)"
	default:
		return string(d)
	}
}
func (d Direction) Friendly() string {
	switch d {
	case DirectionOutboundReply:
		return "Reply"
	case DirectionOutboundCall:
		return "Outgoing (from call)"
	case DirectionOutboundAPI:
		return "Outgoing (from API)"
	case DirectionInbound:
		return "Incoming"
	case DirectionOutboundDial:
		return "Outgoing (via Dial)"
	case DirectionTrunkingTerminating:
		return "Trunking (terminating)"
	case DirectionTrunkingOriginating:
		return "Trunking (originating)"
	default:
		return string(d)
	}
}
func ( d Direction ) Friendly ( ) string { switch d { case DirectionOutboundReply : return " " case DirectionOutboundCall : return " " case DirectionOutboundAPI : return " " case DirectionInbound : return " " case DirectionOutboundDial : return " " case DirectionTrunkingTerminating : return " " case DirectionTrunkingOriginating : return " " default : return string ( d ) } }
// Friendly prints out a friendly version of the Direction, following the
// example shown in the Twilio Dashboard.
Friendly prints out a friendly version of the Direction following the example shown in the Twilio Dashboard .