public Geolocation setResponseStatus(String responseStatus) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public static Application.Kind readApplicationKind(final Object object) { if (object != null) { return Application.Kind.getValueOf((String) object); } else { return null; } }
public static String writeApplicationKind(Application.Kind kind) { if (kind != null) { return kind.toString(); } else { return null; } }
private void configureVideoMediaSession(final MediaAttributes mediaAttributes) { // mode configuration if (MediaAttributes.VideoMode.SFU.equals(mediaAttributes.getVideoMode())) { // sfu not fully supported yet, waiting for next jsr309 connector release, using default mcu // mediaSession.setAttribute("mediaMixerMode", mediaAttributes.getVideoMode().toString()); } // resolution configuration mediaSession.setAttribute("CONFERENCE_VIDEO_SIZE", mediaAttributes.getVideoResolution().toString()); // layout configuration mediaSession.setAttribute("REGION", mediaAttributes.getVideoLayout().toString()); }
public static Organization.Status readOrganizationStatus(final Object object) { if (object != null) { return Organization.Status.getValueOf((String) object); } else { return null; } }
public CreateCall(final String from, final String to, final String username, final String password, final boolean isFromApi, final int timeout, final CreateCallType type, final Sid accountId, final Sid parentCallSid, final URI statusCallbackUrl, final String statusCallbackMethod, final List<String> statusCallbackEvent) { this(from, to, username, password, isFromApi, timeout, type, accountId, parentCallSid, statusCallbackUrl, statusCallbackMethod, statusCallbackEvent, "", null, new MediaAttributes(), null); }
public CallDetailRecord build() { return new CallDetailRecord(sid, instanceId, parentCallSid, conferenceSid, dateCreated, dateUpdated, accountSid, to, from, phoneNumberSid, status, startTime, endTime, duration, price, priceUnit, direction, answeredBy, apiVersion, forwardedFrom, callerName, uri, callPath, ringDuration, muted, startConferenceOnEnter, endConferenceOnExit, onHold, msId); }
public Geolocation setLocationAreaCode(String locationAreaCode) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public StartConference(final Sid callSid) { super(); this.callSid = callSid; this.mediaAttributes = new MediaAttributes(); }
public Geolocation setNetworkEntityAddress(Long networkEntityAddress) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setPhysicalAddress(String physicalAddress) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setLastGeolocationResponse(String lastGeolocationResponse) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setUri(URI uri) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setSid(Sid sid) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setDateCreated(DateTime dateCreated) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setAccountSid(Sid accountSid) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setDeviceIdentifier(String deviceIdentifier) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setCellId(String cellId) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setAgeOfLocationInfo(Integer ageOfLocationInfo) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }
public Geolocation setRadius(Long radius) { return new Geolocation(sid, dateCreated, dateUpdated, dateExecuted, accountSid, source, deviceIdentifier, geolocationType, responseStatus, cellId, locationAreaCode, mobileCountryCode, mobileNetworkCode, networkEntityAddress, ageOfLocationInfo, deviceLatitude, deviceLongitude, accuracy, physicalAddress, internetAddress, formattedAddress, locationTimestamp, eventGeofenceLatitude, eventGeofenceLongitude, radius, geolocationPositioningType, lastGeolocationResponse, cause, apiVersion, uri); }