All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ringcentral.definitions.CompanyCallLogRecord Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.ringcentral.definitions;


public class CompanyCallLogRecord {
    /**
     * Internal identifier of a cal log record
     */
    public String id;
    /**
     * Canonical URI of a call log record
     */
    public String uri;
    /**
     * Internal identifier of a call session
     */
    public String sessionId;
    /**
     *
     */
    public ExtensionInfoCallLog extension;
    /**
     * Telephony identifier of a call session
     */
    public String telephonySessionId;
    /**
     * Call transport
     * Enum: PSTN, VoIP
     */
    public String transport;
    /**
     * Caller information
     */
    public CallLogCallerInfo from;
    /**
     * Callee information
     */
    public CallLogCallerInfo to;
    /**
     * Call type
     * Enum: Voice, Fax
     */
    public String type;
    /**
     * Call direction
     * Enum: Inbound, Outbound
     */
    public String direction;
    /**
     * Indicates whether the record is deleted. Returned for deleted records, for ISync requests
     */
    public Boolean deleted;
    /**
     * Action description of the call operation
     * Enum: Unknown, Phone Login, Calling Card, VoIP Call, Phone Call, Paging, Hunting, Call Park, Monitoring, Text Relay, External Application, Park Location, CallOut-CallMe, Conference Call, Move, RC Meetings, Accept Call, FindMe, FollowMe, RingMe, Transfer, Call Return, Ring Directly, RingOut Web, RingOut PC, RingOut Mobile, Emergency, E911 Update, Support, Incoming Fax, Outgoing Fax
     */
    public String action;
    /**
     * Status description of the call operation
     * Enum: Unknown, Accepted, Call connected, In Progress, Voicemail, Reply, Missed, Busy, Rejected, No Answer, Hang Up, Blocked, Suspended account, Call Failed, Call Failure, Internal Error, IP Phone Offline, No Calling Credit, Restricted Number, Wrong Number, Answered Not Accepted, Stopped, International Disabled, International Restricted, Abandoned, Declined, Received, Fax on Demand, Partial Receive, Receive Error, Fax Receipt Error, Sent, Fax Partially Sent, Send Error, Fax Not Sent, Fax Poor Line
     */
    public String result;
    /**
     * Enum: Accepted, Connected, line Busy, Not Answered, No Answer, Hang Up, Stopped, Internal Error, No Credit, Restricted Number, Wrong Number, International Disabled, International Restricted, Bad Number, Info 411 Restricted, Customer 611 Restricted, No Digital Line, Failed Try Again, Max Call Limit, Too Many Calls, Calls Not Accepted, Number Not Allowed, Number Blocked, Number Disabled, Resource Error, Call Loop, Fax Not Received, Fax Partially Sent, Fax Not Sent, Fax Poor Line, Fax Prepare Error, Fax Save Error, Fax Send Error
     */
    public String reason;
    /**
     *
     */
    public String reasonDescription;
    /**
     * The call start datetime in (ISO 8601)[https://en.wikipedia.org/wiki/ISO_8601] format including timezone, for example 2016-03-10T18:07:52.534Z
     */
    public String startTime;
    /**
     * Call duration in seconds
     */
    public Long duration;
    /**
     * Call recording data. Returned if a call is recorded
     */
    public CallLogRecordingInfo recording;
    /**
     * Indicates that the recording is too short and therefore wouldn't be returned. The flag is not returned if the value is false
     */
    public Boolean shortRecording;
    /**
     * For 'Detailed' view only. Leg description
     */
    public CallLogRecordLegInfo[] legs;
    /**
     * Billing information related to the call. Returned for 'Detailed' view only
     */
    public BillingInfo billing;
    /**
     * For 'Detailed' view only. The datetime when the call log record was modified in (ISO 8601)[https://en.wikipedia.org/wiki/ISO_8601] format including timezone, for example 2016-03-10T18:07:52.534Z
     */
    public String lastModifiedTime;

    public CompanyCallLogRecord id(String id) {
        this.id = id;
        return this;
    }

    public CompanyCallLogRecord uri(String uri) {
        this.uri = uri;
        return this;
    }

    public CompanyCallLogRecord sessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    public CompanyCallLogRecord extension(ExtensionInfoCallLog extension) {
        this.extension = extension;
        return this;
    }

    public CompanyCallLogRecord telephonySessionId(String telephonySessionId) {
        this.telephonySessionId = telephonySessionId;
        return this;
    }

    public CompanyCallLogRecord transport(String transport) {
        this.transport = transport;
        return this;
    }

    public CompanyCallLogRecord from(CallLogCallerInfo from) {
        this.from = from;
        return this;
    }

    public CompanyCallLogRecord to(CallLogCallerInfo to) {
        this.to = to;
        return this;
    }

    public CompanyCallLogRecord type(String type) {
        this.type = type;
        return this;
    }

    public CompanyCallLogRecord direction(String direction) {
        this.direction = direction;
        return this;
    }

    public CompanyCallLogRecord deleted(Boolean deleted) {
        this.deleted = deleted;
        return this;
    }

    public CompanyCallLogRecord action(String action) {
        this.action = action;
        return this;
    }

    public CompanyCallLogRecord result(String result) {
        this.result = result;
        return this;
    }

    public CompanyCallLogRecord reason(String reason) {
        this.reason = reason;
        return this;
    }

    public CompanyCallLogRecord reasonDescription(String reasonDescription) {
        this.reasonDescription = reasonDescription;
        return this;
    }

    public CompanyCallLogRecord startTime(String startTime) {
        this.startTime = startTime;
        return this;
    }

    public CompanyCallLogRecord duration(Long duration) {
        this.duration = duration;
        return this;
    }

    public CompanyCallLogRecord recording(CallLogRecordingInfo recording) {
        this.recording = recording;
        return this;
    }

    public CompanyCallLogRecord shortRecording(Boolean shortRecording) {
        this.shortRecording = shortRecording;
        return this;
    }

    public CompanyCallLogRecord legs(CallLogRecordLegInfo[] legs) {
        this.legs = legs;
        return this;
    }

    public CompanyCallLogRecord billing(BillingInfo billing) {
        this.billing = billing;
        return this;
    }

    public CompanyCallLogRecord lastModifiedTime(String lastModifiedTime) {
        this.lastModifiedTime = lastModifiedTime;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy