use serde::{Deserialize, Serialize};
use std::collections::HashMap;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CaptchaSolveResponse {
/// Response message
#[serde(default, skip_serializing_if = "Option::is_none")]
pub message: Option<String>,
/// Whether the action was successful
pub success: bool,
}
pub type CaptchaStatusResponse = Vec<CaptchaStatusResponseItem>;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionComputerResponse {
/// Base64 encoded screenshot if requested
#[serde(default, skip_serializing_if = "Option::is_none")]
pub base64_image: Option<String>,
/// Error message if action failed
#[serde(default, skip_serializing_if = "Option::is_none")]
pub error: Option<String>,
/// Output message from the action
#[serde(default, skip_serializing_if = "Option::is_none")]
pub output: Option<String>,
/// System information
#[serde(default, skip_serializing_if = "Option::is_none")]
pub system: Option<String>,
}
/// Request body schema for creating a new browser session.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionCreateParams {
/// Block ads in the browser session. Default is false.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "blockAds")]
pub block_ads: Option<bool>,
/// PEM-encoded root CA certificates to trust in this session. THIS IS CURRENTLY AN EXPERIMENTAL FEATURE.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "caCertificates"
)]
pub ca_certificates: Option<Vec<String>>,
/// Number of sessions to create concurrently (check your plan limit)
#[serde(default, skip_serializing_if = "Option::is_none")]
pub concurrency: Option<i64>,
/// Configuration for session credentials
#[serde(default, skip_serializing_if = "Option::is_none")]
pub credentials: Option<Box<SessionCreateParamsCredentials>>,
/// Configuration for the debug URL and session viewer. Controls interaction capabilities, cursor visibility, and other debug-related settings.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "debugConfig"
)]
pub debug_config: Option<Box<SessionCreateParamsDebugConfig>>,
/// Device configuration for the session. Specify 'mobile' for mobile device fingerprints and configurations.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "deviceConfig"
)]
pub device_config: Option<Box<SessionCreateParamsDeviceConfig>>,
/// Viewport and browser window dimensions for the session. Mobile sessions require dimensions of at least 508x1074; smaller mobile dimensions are rejected with a 400 response.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dimensions: Option<Box<SessionCreateParamsDimensions>>,
/// Enable experimental features for the session.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "experimentalFeatures"
)]
pub experimental_features: Option<Vec<String>>,
/// Array of extension IDs to install in the session. Use ['all_ext'] to install all uploaded extensions.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "extensionIds"
)]
pub extension_ids: Option<Vec<String>>,
/// Launch the browser in fullscreen mode, covering the full screen with no Chrome UI. Default is false.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub fullscreen: Option<bool>,
/// Enable headless browser mode (disable Headful mode)
#[serde(default, skip_serializing_if = "Option::is_none")]
pub headless: Option<bool>,
/// Inactivity timeout in milliseconds. When set, the session is released if no CDP command or remote input is received for this duration, even if `timeout` has not yet elapsed. Note that `timeout` remains the hard cap on session lifetime: if `inactivityTimeout` is greater than or equal to the effective `timeout`, it has no effect since `timeout` always elapses first. Omit to disable.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "inactivityTimeout"
)]
pub inactivity_timeout: Option<i64>,
/// Enable Selenium mode for the browser session (default is false). Use this when you plan to connect to the browser session via Selenium.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "isSelenium"
)]
pub is_selenium: Option<bool>,
/// The namespace the session should be created against. Defaults to "default".
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
/// Enable bandwidth optimizations. Passing true enables all flags (except hosts/patterns). Object allows granular control.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "optimizeBandwidth"
)]
pub optimize_bandwidth: Option<Box<SessionCreateParamsOptimizeBandwidth>>,
/// This flag will persist the user profile for the session.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "persistProfile"
)]
pub persist_profile: Option<bool>,
/// This flag will set the profile for the session.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "profileId")]
pub profile_id: Option<String>,
/// The project to create the session in. When provided, the session namespace is resolved from the project.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// Custom proxy URL for the browser session. Overrides useProxy, disabling Steel-provided proxies in favor of your specified proxy. Format: http(s)://username:password@hostname:port
#[serde(default, skip_serializing_if = "Option::is_none", rename = "proxyUrl")]
pub proxy_url: Option<String>,
/// The desired region for the session. Available: us-east, us-west, us-central, eu-west, eu-central, ap-northeast, ap-southeast, sa-east. Legacy codes (iad, lax, ord) are also accepted.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub region: Option<String>,
/// Session context data to be used in the created session. Sessions will start with an empty context by default.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sessionContext"
)]
pub session_context: Option<Box<SessionCreateParamsSessionContext>>,
/// Optional custom UUID for the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sessionId")]
pub session_id: Option<String>,
/// Enable automatic captcha solving. Default is false.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "solveCaptcha"
)]
pub solve_captcha: Option<bool>,
/// Stealth configuration for the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "stealthConfig"
)]
pub stealth_config: Option<Box<SessionCreateParamsStealthConfig>>,
/// Session timeout duration in milliseconds. Default is 300000 (5 minutes).
#[serde(default, skip_serializing_if = "Option::is_none")]
pub timeout: Option<i64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "useProxy")]
pub use_proxy: Option<Box<SessionCreateParamsUseProxy>>,
/// Custom user agent string for the browser session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
}
impl SessionCreateParams {
#[must_use]
pub fn block_ads(mut self, value: bool) -> Self {
self.block_ads = Some(value);
self
}
#[must_use]
pub fn ca_certificates(mut self, value: Vec<String>) -> Self {
self.ca_certificates = Some(value);
self
}
#[must_use]
pub fn concurrency(mut self, value: i64) -> Self {
self.concurrency = Some(value);
self
}
#[must_use]
pub fn credentials(mut self, value: Box<SessionCreateParamsCredentials>) -> Self {
self.credentials = Some(value);
self
}
#[must_use]
pub fn debug_config(mut self, value: Box<SessionCreateParamsDebugConfig>) -> Self {
self.debug_config = Some(value);
self
}
#[must_use]
pub fn device_config(mut self, value: Box<SessionCreateParamsDeviceConfig>) -> Self {
self.device_config = Some(value);
self
}
#[must_use]
pub fn dimensions(mut self, value: Box<SessionCreateParamsDimensions>) -> Self {
self.dimensions = Some(value);
self
}
#[must_use]
pub fn experimental_features(mut self, value: Vec<String>) -> Self {
self.experimental_features = Some(value);
self
}
#[must_use]
pub fn extension_ids(mut self, value: Vec<String>) -> Self {
self.extension_ids = Some(value);
self
}
#[must_use]
pub fn fullscreen(mut self, value: bool) -> Self {
self.fullscreen = Some(value);
self
}
#[must_use]
pub fn headless(mut self, value: bool) -> Self {
self.headless = Some(value);
self
}
#[must_use]
pub fn inactivity_timeout(mut self, value: i64) -> Self {
self.inactivity_timeout = Some(value);
self
}
#[must_use]
pub fn is_selenium(mut self, value: bool) -> Self {
self.is_selenium = Some(value);
self
}
#[must_use]
pub fn namespace(mut self, value: impl Into<String>) -> Self {
self.namespace = Some(value.into());
self
}
#[must_use]
pub fn optimize_bandwidth(mut self, value: Box<SessionCreateParamsOptimizeBandwidth>) -> Self {
self.optimize_bandwidth = Some(value);
self
}
#[must_use]
pub fn persist_profile(mut self, value: bool) -> Self {
self.persist_profile = Some(value);
self
}
#[must_use]
pub fn profile_id(mut self, value: impl Into<String>) -> Self {
self.profile_id = Some(value.into());
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
#[must_use]
pub fn proxy_url(mut self, value: impl Into<String>) -> Self {
self.proxy_url = Some(value.into());
self
}
#[must_use]
pub fn region(mut self, value: impl Into<String>) -> Self {
self.region = Some(value.into());
self
}
#[must_use]
pub fn session_context(mut self, value: Box<SessionCreateParamsSessionContext>) -> Self {
self.session_context = Some(value);
self
}
#[must_use]
pub fn session_id(mut self, value: impl Into<String>) -> Self {
self.session_id = Some(value.into());
self
}
#[must_use]
pub fn solve_captcha(mut self, value: bool) -> Self {
self.solve_captcha = Some(value);
self
}
#[must_use]
pub fn stealth_config(mut self, value: Box<SessionCreateParamsStealthConfig>) -> Self {
self.stealth_config = Some(value);
self
}
#[must_use]
pub fn timeout(mut self, value: i64) -> Self {
self.timeout = Some(value);
self
}
#[must_use]
pub fn use_proxy(mut self, value: Box<SessionCreateParamsUseProxy>) -> Self {
self.use_proxy = Some(value);
self
}
#[must_use]
pub fn user_agent(mut self, value: impl Into<String>) -> Self {
self.user_agent = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CredentialCreateParams {
/// Label for the credential
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
/// The namespace the credential is stored against. Defaults to "default".
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
/// Website origin the credential is for
#[serde(default, skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
/// Project to store the credential in.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// Value for the credential
pub value: HashMap<String, String>,
}
impl CredentialCreateParams {
pub fn new(value: HashMap<String, String>) -> Self {
Self {
label: None,
namespace: None,
origin: None,
project_id: None,
value,
}
}
#[must_use]
pub fn label(mut self, value: impl Into<String>) -> Self {
self.label = Some(value.into());
self
}
#[must_use]
pub fn namespace(mut self, value: impl Into<String>) -> Self {
self.namespace = Some(value.into());
self
}
#[must_use]
pub fn origin(mut self, value: impl Into<String>) -> Self {
self.origin = Some(value.into());
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CredentialListResponse {
pub credentials: Vec<CredentialListResponseCredential>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CredentialCreateResponse {
/// Date and time the credential was created
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// Label for the credential
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
/// The namespace the credential is stored against. Defaults to "default".
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
/// Website origin the credential is for
#[serde(default, skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
/// Date and time the credential was last updated
#[serde(rename = "updatedAt")]
pub updated_at: chrono::DateTime<chrono::Utc>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CredentialDeleteParams {
/// The namespace the credential is stored against. Defaults to "default".
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
/// Website origin the credential is for
pub origin: String,
/// Project to delete the credential from.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
}
impl CredentialDeleteParams {
pub fn new(origin: impl Into<String>) -> Self {
Self {
namespace: None,
origin: origin.into(),
project_id: None,
}
}
#[must_use]
pub fn namespace(mut self, value: impl Into<String>) -> Self {
self.namespace = Some(value.into());
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct CredentialUpdateParams {
/// Label for the credential
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
/// The namespace the credential is stored against. Defaults to "default".
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
/// Website origin the credential is for
#[serde(default, skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
/// Project to update the credential in.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// Value for the credential
#[serde(default, skip_serializing_if = "Option::is_none")]
pub value: Option<HashMap<String, String>>,
}
impl CredentialUpdateParams {
#[must_use]
pub fn label(mut self, value: impl Into<String>) -> Self {
self.label = Some(value.into());
self
}
#[must_use]
pub fn namespace(mut self, value: impl Into<String>) -> Self {
self.namespace = Some(value.into());
self
}
#[must_use]
pub fn origin(mut self, value: impl Into<String>) -> Self {
self.origin = Some(value.into());
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
#[must_use]
pub fn value(mut self, value: HashMap<String, String>) -> Self {
self.value = Some(value);
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ExtensionDeleteAllResponse {
pub message: String,
}
/// An error response from the API
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ErrorResponse {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub context: Option<Vec<ErrorResponseContext>>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub error: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "linkToDocs"
)]
pub link_to_docs: Option<String>,
pub message: String,
}
/// Response containing a list of extensions for the organization
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ExtensionListResponse {
/// Total number of extensions
pub count: i64,
/// List of extensions for the organization
pub extensions: Vec<ExtensionListResponseExtension>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ExtensionUploadResponse {
/// Creation timestamp
#[serde(rename = "createdAt")]
pub created_at: String,
/// Unique extension identifier (e.g., ext_12345)
pub id: String,
/// Extension name
pub name: String,
/// Last update timestamp
#[serde(rename = "updatedAt")]
pub updated_at: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct File {
/// Timestamp when the file was created
#[serde(rename = "lastModified")]
pub last_modified: chrono::DateTime<chrono::Utc>,
/// Path to the file in the storage system
pub path: String,
/// Size of the file in bytes
pub size: i64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct FileUploadParams {
/// The file to upload (binary) or URL string to download from
pub file: FileUpload,
/// Path to the file in the storage system
#[serde(default, skip_serializing_if = "Option::is_none")]
pub path: Option<String>,
}
impl FileUploadParams {
pub fn new(file: FileUpload) -> Self {
Self { file, path: None }
}
#[must_use]
pub fn path(mut self, value: impl Into<String>) -> Self {
self.path = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionAgentTracesResponse {
pub events: Vec<HashMap<String, serde_json::Value>>,
#[serde(rename = "hasMore")]
pub has_more: bool,
pub total: i64,
}
/// Events for a browser session
pub type SessionEventsResponse = Vec<serde_json::Value>;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct FileList {
/// Array of files for the current page
pub data: Vec<FileListData>,
}
pub type SessionReleaseAllParams = HashMap<String, serde_json::Value>;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ClientPdfParams {
/// Delay before generating the PDF (in milliseconds)
#[serde(default, skip_serializing_if = "Option::is_none")]
pub delay: Option<f64>,
/// Project to execute the PDF generation in.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The desired region for the action to be performed in
#[serde(default, skip_serializing_if = "Option::is_none")]
pub region: Option<String>,
/// URL of the webpage to convert to PDF
pub url: String,
/// Use a Steel-provided residential proxy for generating the PDF
#[serde(default, skip_serializing_if = "Option::is_none", rename = "useProxy")]
pub use_proxy: Option<bool>,
}
impl ClientPdfParams {
pub fn new(url: impl Into<String>) -> Self {
Self {
delay: None,
project_id: None,
region: None,
url: url.into(),
use_proxy: None,
}
}
#[must_use]
pub fn delay(mut self, value: f64) -> Self {
self.delay = Some(value);
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
#[must_use]
pub fn region(mut self, value: impl Into<String>) -> Self {
self.region = Some(value.into());
self
}
#[must_use]
pub fn use_proxy(mut self, value: bool) -> Self {
self.use_proxy = Some(value);
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct PdfResponse {
/// URL where the PDF is hosted
pub url: String,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum ProfileStatus {
Uploading,
Ready,
Failed,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for ProfileStatus {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
ProfileStatus::Uploading => "UPLOADING",
ProfileStatus::Ready => "READY",
ProfileStatus::Failed => "FAILED",
ProfileStatus::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for ProfileStatus {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for ProfileStatus {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"UPLOADING" => Some(ProfileStatus::Uploading),
"READY" => Some(ProfileStatus::Ready),
"FAILED" => Some(ProfileStatus::Failed),
_ => None,
};
Ok(known.unwrap_or(ProfileStatus::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponse {
/// The date and time when the profile was created
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// The credentials configuration associated with the profile
#[serde(rename = "credentialsConfig")]
pub credentials_config: serde_json::Value,
/// The dimensions associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dimensions: Option<Box<ProfileCreateResponseDimensions>>,
/// The extension IDs associated with the profile
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "extensionIds"
)]
pub extension_ids: Option<Vec<String>>,
/// The fingerprint associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub fingerprint: Option<Box<ProfileCreateResponseFingerprint>>,
/// The unique identifier for the profile
pub id: String,
/// The project ID associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The last session ID associated with the profile
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sourceSessionId"
)]
pub source_session_id: Option<String>,
/// The status of the profile
pub status: ProfileStatus,
/// The date and time when the profile was last updated
#[serde(rename = "updatedAt")]
pub updated_at: chrono::DateTime<chrono::Utc>,
/// The proxy configuration associated with the profile
#[serde(rename = "useProxyConfig")]
pub use_proxy_config: serde_json::Value,
/// The user agent associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateParams {
/// The dimensions associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dimensions: Option<Box<ProfileCreateParamsDimensions>>,
/// Project to create the profile in
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The proxy associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "proxyUrl")]
pub proxy_url: Option<String>,
/// The user agent associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
/// The user data directory associated with the profile
#[serde(rename = "userDataDir")]
pub user_data_dir: FileUpload,
}
impl ProfileCreateParams {
pub fn new(user_data_dir: FileUpload) -> Self {
Self {
dimensions: None,
project_id: None,
proxy_url: None,
user_agent: None,
user_data_dir,
}
}
#[must_use]
pub fn dimensions(mut self, value: Box<ProfileCreateParamsDimensions>) -> Self {
self.dimensions = Some(value);
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
#[must_use]
pub fn proxy_url(mut self, value: impl Into<String>) -> Self {
self.proxy_url = Some(value.into());
self
}
#[must_use]
pub fn user_agent(mut self, value: impl Into<String>) -> Self {
self.user_agent = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponse {
/// The total number of profiles
pub count: i64,
/// The list of profiles
pub profiles: Vec<ProfileListResponseProfile>,
}
/// Response for releasing a single session.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionReleaseResponse {
/// Details about the outcome of the release operation
pub message: String,
/// Indicates if the session was successfully released
pub success: bool,
}
/// Response for releasing multiple sessions.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionReleaseAllResponse {
/// Details about the outcome of the release operation
pub message: String,
/// Indicates if the sessions were successfully released
pub success: bool,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum ScrapeRequestFormatItem {
HTML,
Readability,
CleanedHTML,
Markdown,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for ScrapeRequestFormatItem {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
ScrapeRequestFormatItem::HTML => "html",
ScrapeRequestFormatItem::Readability => "readability",
ScrapeRequestFormatItem::CleanedHTML => "cleaned_html",
ScrapeRequestFormatItem::Markdown => "markdown",
ScrapeRequestFormatItem::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for ScrapeRequestFormatItem {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for ScrapeRequestFormatItem {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"html" => Some(ScrapeRequestFormatItem::HTML),
"readability" => Some(ScrapeRequestFormatItem::Readability),
"cleaned_html" => Some(ScrapeRequestFormatItem::CleanedHTML),
"markdown" => Some(ScrapeRequestFormatItem::Markdown),
_ => None,
};
Ok(known.unwrap_or(ScrapeRequestFormatItem::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ClientScrapeParams {
/// Delay before scraping (in milliseconds)
#[serde(default, skip_serializing_if = "Option::is_none")]
pub delay: Option<f64>,
/// Desired format(s) for the scraped content. Default is `html`.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub format: Option<Vec<ScrapeRequestFormatItem>>,
/// Include a PDF in the response
#[serde(default, skip_serializing_if = "Option::is_none")]
pub pdf: Option<bool>,
/// Project to execute the scrape in.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The desired region for the action to be performed in
#[serde(default, skip_serializing_if = "Option::is_none")]
pub region: Option<String>,
/// Include a screenshot in the response
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<bool>,
/// URL of the webpage to scrape
pub url: String,
/// Use a Steel-provided residential proxy for the scrape
#[serde(default, skip_serializing_if = "Option::is_none", rename = "useProxy")]
pub use_proxy: Option<bool>,
}
impl ClientScrapeParams {
pub fn new(url: impl Into<String>) -> Self {
Self {
delay: None,
format: None,
pdf: None,
project_id: None,
region: None,
screenshot: None,
url: url.into(),
use_proxy: None,
}
}
#[must_use]
pub fn delay(mut self, value: f64) -> Self {
self.delay = Some(value);
self
}
#[must_use]
pub fn format(mut self, value: Vec<ScrapeRequestFormatItem>) -> Self {
self.format = Some(value);
self
}
#[must_use]
pub fn pdf(mut self, value: bool) -> Self {
self.pdf = Some(value);
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
#[must_use]
pub fn region(mut self, value: impl Into<String>) -> Self {
self.region = Some(value.into());
self
}
#[must_use]
pub fn screenshot(mut self, value: bool) -> Self {
self.screenshot = Some(value);
self
}
#[must_use]
pub fn use_proxy(mut self, value: bool) -> Self {
self.use_proxy = Some(value);
self
}
}
/// Response from a successful scrape request
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ScrapeResponse {
pub content: Box<ScrapeResponseContent>,
pub links: Vec<ScrapeResponseLink>,
pub metadata: Box<ScrapeResponseMetadata>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub pdf: Option<Box<ScrapeResponsePdf>>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<Box<ScrapeResponseScreenshot>>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ClientScreenshotParams {
/// Delay before capturing the screenshot (in milliseconds)
#[serde(default, skip_serializing_if = "Option::is_none")]
pub delay: Option<f64>,
/// Capture the full page screenshot. Default is `false`.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "fullPage")]
pub full_page: Option<bool>,
/// Project to execute the screenshot in.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The desired region for the action to be performed in
#[serde(default, skip_serializing_if = "Option::is_none")]
pub region: Option<String>,
/// URL of the webpage to capture
pub url: String,
/// Use a Steel-provided residential proxy for capturing the screenshot
#[serde(default, skip_serializing_if = "Option::is_none", rename = "useProxy")]
pub use_proxy: Option<bool>,
}
impl ClientScreenshotParams {
pub fn new(url: impl Into<String>) -> Self {
Self {
delay: None,
full_page: None,
project_id: None,
region: None,
url: url.into(),
use_proxy: None,
}
}
#[must_use]
pub fn delay(mut self, value: f64) -> Self {
self.delay = Some(value);
self
}
#[must_use]
pub fn full_page(mut self, value: bool) -> Self {
self.full_page = Some(value);
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
#[must_use]
pub fn region(mut self, value: impl Into<String>) -> Self {
self.region = Some(value.into());
self
}
#[must_use]
pub fn use_proxy(mut self, value: bool) -> Self {
self.use_proxy = Some(value);
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ScreenshotResponse {
/// URL where the screenshot is hosted
pub url: String,
}
/// Session context data returned from a browser session.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionContext {
/// Cookies to initialize in the session
#[serde(default, skip_serializing_if = "Option::is_none")]
pub cookies: Option<Vec<SessionContextCookie>>,
/// Domain-specific indexedDB items to initialize in the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "indexedDB")]
pub indexed_db: Option<HashMap<String, Vec<SessionContextIndexedDB>>>,
/// Domain-specific localStorage items to initialize in the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "localStorage"
)]
pub local_storage: Option<HashMap<String, HashMap<String, String>>>,
/// Domain-specific sessionStorage items to initialize in the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sessionStorage"
)]
pub session_storage: Option<HashMap<String, HashMap<String, String>>>,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum SessionCostResponseCurrency {
Usd,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for SessionCostResponseCurrency {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
SessionCostResponseCurrency::Usd => "usd",
SessionCostResponseCurrency::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for SessionCostResponseCurrency {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for SessionCostResponseCurrency {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"usd" => Some(SessionCostResponseCurrency::Usd),
_ => None,
};
Ok(known.unwrap_or(SessionCostResponseCurrency::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum SessionCostResponseUnit {
Dollar,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for SessionCostResponseUnit {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
SessionCostResponseUnit::Dollar => "dollar",
SessionCostResponseUnit::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for SessionCostResponseUnit {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for SessionCostResponseUnit {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"dollar" => Some(SessionCostResponseUnit::Dollar),
_ => None,
};
Ok(known.unwrap_or(SessionCostResponseUnit::Unknown(s)))
}
}
/// Session cost breakdown in US dollars
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCostResponse {
/// Currency used for the cost values
pub currency: SessionCostResponseCurrency,
/// Session ID
pub id: String,
/// Exact total session cost in US dollars (e.g. 0.031905), with no rounding to whole cents. Rounded only to micro-dollar precision (6 decimal places) for precise billing passthrough.
#[serde(rename = "totalCost")]
pub total_cost: f64,
/// Cost unit. Values are expressed in US dollars.
pub unit: SessionCostResponseUnit,
/// Billable usage inputs used to calculate the costs
pub usage: Box<SessionCostResponseUsage>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionLiveDetailsResponse {
pub pages: Vec<SessionLiveDetailsResponsePage>,
#[serde(rename = "sessionViewerFullscreenUrl")]
pub session_viewer_fullscreen_url: String,
#[serde(rename = "sessionViewerUrl")]
pub session_viewer_url: String,
#[serde(rename = "wsUrl")]
pub ws_url: String,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum SessionResponseProxySource {
Steel,
External,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for SessionResponseProxySource {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
SessionResponseProxySource::Steel => "steel",
SessionResponseProxySource::External => "external",
SessionResponseProxySource::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for SessionResponseProxySource {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for SessionResponseProxySource {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"steel" => Some(SessionResponseProxySource::Steel),
"external" => Some(SessionResponseProxySource::External),
_ => None,
};
Ok(known.unwrap_or(SessionResponseProxySource::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum SessionResponseRegion {
Lax,
Ord,
Iad,
Scl,
Fra,
Nrt,
UsEast,
UsWest,
UsCentral,
EuWest,
EuCentral,
ApNortheast,
ApSoutheast,
SaEast,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for SessionResponseRegion {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
SessionResponseRegion::Lax => "lax",
SessionResponseRegion::Ord => "ord",
SessionResponseRegion::Iad => "iad",
SessionResponseRegion::Scl => "scl",
SessionResponseRegion::Fra => "fra",
SessionResponseRegion::Nrt => "nrt",
SessionResponseRegion::UsEast => "us-east",
SessionResponseRegion::UsWest => "us-west",
SessionResponseRegion::UsCentral => "us-central",
SessionResponseRegion::EuWest => "eu-west",
SessionResponseRegion::EuCentral => "eu-central",
SessionResponseRegion::ApNortheast => "ap-northeast",
SessionResponseRegion::ApSoutheast => "ap-southeast",
SessionResponseRegion::SaEast => "sa-east",
SessionResponseRegion::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for SessionResponseRegion {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for SessionResponseRegion {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"lax" => Some(SessionResponseRegion::Lax),
"ord" => Some(SessionResponseRegion::Ord),
"iad" => Some(SessionResponseRegion::Iad),
"scl" => Some(SessionResponseRegion::Scl),
"fra" => Some(SessionResponseRegion::Fra),
"nrt" => Some(SessionResponseRegion::Nrt),
"us-east" => Some(SessionResponseRegion::UsEast),
"us-west" => Some(SessionResponseRegion::UsWest),
"us-central" => Some(SessionResponseRegion::UsCentral),
"eu-west" => Some(SessionResponseRegion::EuWest),
"eu-central" => Some(SessionResponseRegion::EuCentral),
"ap-northeast" => Some(SessionResponseRegion::ApNortheast),
"ap-southeast" => Some(SessionResponseRegion::ApSoutheast),
"sa-east" => Some(SessionResponseRegion::SaEast),
_ => None,
};
Ok(known.unwrap_or(SessionResponseRegion::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum SessionResponseReleaseReason {
UserRequested,
Timeout,
InactivityTimeout,
CreationTimeout,
StartupFailed,
BrowserClosed,
BrowserCrashed,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for SessionResponseReleaseReason {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
SessionResponseReleaseReason::UserRequested => "user_requested",
SessionResponseReleaseReason::Timeout => "timeout",
SessionResponseReleaseReason::InactivityTimeout => "inactivity_timeout",
SessionResponseReleaseReason::CreationTimeout => "creation_timeout",
SessionResponseReleaseReason::StartupFailed => "startup_failed",
SessionResponseReleaseReason::BrowserClosed => "browser_closed",
SessionResponseReleaseReason::BrowserCrashed => "browser_crashed",
SessionResponseReleaseReason::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for SessionResponseReleaseReason {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for SessionResponseReleaseReason {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"user_requested" => Some(SessionResponseReleaseReason::UserRequested),
"timeout" => Some(SessionResponseReleaseReason::Timeout),
"inactivity_timeout" => Some(SessionResponseReleaseReason::InactivityTimeout),
"creation_timeout" => Some(SessionResponseReleaseReason::CreationTimeout),
"startup_failed" => Some(SessionResponseReleaseReason::StartupFailed),
"browser_closed" => Some(SessionResponseReleaseReason::BrowserClosed),
"browser_crashed" => Some(SessionResponseReleaseReason::BrowserCrashed),
_ => None,
};
Ok(known.unwrap_or(SessionResponseReleaseReason::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum SessionResponseStatus {
Live,
Released,
Failed,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for SessionResponseStatus {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
SessionResponseStatus::Live => "live",
SessionResponseStatus::Released => "released",
SessionResponseStatus::Failed => "failed",
SessionResponseStatus::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for SessionResponseStatus {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for SessionResponseStatus {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"live" => Some(SessionResponseStatus::Live),
"released" => Some(SessionResponseStatus::Released),
"failed" => Some(SessionResponseStatus::Failed),
_ => None,
};
Ok(known.unwrap_or(SessionResponseStatus::Unknown(s)))
}
}
/// Represents the data structure for a browser session, including its configuration and status.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Session {
/// Timestamp when the session started
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// Amount of credits consumed by the session
#[serde(rename = "creditsUsed")]
pub credits_used: i64,
/// Configuration for the debug URL and session viewer. Controls interaction capabilities and cursor visibility.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "debugConfig"
)]
pub debug_config: Option<Box<SessionDebugConfig>>,
/// URL for debugging the session
#[serde(rename = "debugUrl")]
pub debug_url: String,
/// Device configuration for the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "deviceConfig"
)]
pub device_config: Option<Box<SessionDeviceConfig>>,
/// Viewport and browser window dimensions for the session
pub dimensions: Box<SessionDimensions>,
/// Duration of the session in milliseconds
pub duration: i64,
/// Number of events processed in the session
#[serde(rename = "eventCount")]
pub event_count: i64,
/// Launch the browser in fullscreen mode, covering the full screen with no Chrome UI.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub fullscreen: Option<bool>,
/// Indicates if the session is headless or headful
#[serde(default, skip_serializing_if = "Option::is_none")]
pub headless: Option<bool>,
/// Unique identifier for the session
pub id: String,
/// Inactivity timeout in milliseconds, if one was set when the session was created
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "inactivityTimeout"
)]
pub inactivity_timeout: Option<i64>,
/// Indicates if Selenium is used in the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "isSelenium"
)]
pub is_selenium: Option<bool>,
/// Bandwidth optimizations that were applied to the session.
#[serde(rename = "optimizeBandwidth")]
pub optimize_bandwidth: Box<SessionOptimizeBandwidth>,
/// This flag will persist the profile for the session.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "persistProfile"
)]
pub persist_profile: Option<bool>,
/// The ID of the profile associated with the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "profileId")]
pub profile_id: Option<String>,
/// The project associated with the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// Amount of data transmitted through the proxy
#[serde(rename = "proxyBytesUsed")]
pub proxy_bytes_used: i64,
/// Source of the proxy used for the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "proxySource"
)]
pub proxy_source: Option<SessionResponseProxySource>,
/// The region where the session was created.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub region: Option<SessionResponseRegion>,
/// Why the session reached a terminal state. Null while the session is live, or when the reason is unknown (e.g. sessions created before this was tracked). One of: user_requested (released via the API/SDK), timeout (hard `timeout` elapsed), inactivity_timeout (no activity for the configured window), creation_timeout (never started in time), startup_failed (could not be dispatched), browser_closed (the browser or agent closed itself — not a crash), browser_crashed (the browser crashed or its machine became unresponsive).
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "releaseReason"
)]
pub release_reason: Option<SessionResponseReleaseReason>,
/// URL to view session details
#[serde(rename = "sessionViewerUrl")]
pub session_viewer_url: String,
/// Indicates if captcha solving is enabled
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "solveCaptcha"
)]
pub solve_captcha: Option<bool>,
/// Status of the session
pub status: SessionResponseStatus,
/// Stealth configuration for the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "stealthConfig"
)]
pub stealth_config: Option<Box<SessionStealthConfig>>,
/// Session timeout duration in milliseconds
pub timeout: i64,
/// User agent string used in the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
/// URL for the session's WebSocket connection
#[serde(rename = "websocketUrl")]
pub websocket_url: String,
}
/// Response containing a list of browser sessions with pagination details.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionList {
/// Cursor for the next page of results. Null if no more pages.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "nextCursor"
)]
pub next_cursor: Option<String>,
/// List of browser sessions
pub sessions: Vec<SessionListSession>,
/// Total number of sessions matching the query. Only included for filtered queries (e.g. status=live).
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "totalCount"
)]
pub total_count: Option<i64>,
}
/// If no fields are provided, all detected captchas will be solved
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct CaptchaSolveParams {
/// The page ID where the captcha is located
#[serde(default, skip_serializing_if = "Option::is_none", rename = "pageId")]
pub page_id: Option<String>,
/// The task ID of the specific captcha to solve
#[serde(default, skip_serializing_if = "Option::is_none", rename = "taskId")]
pub task_id: Option<String>,
/// The URL where the captcha is located
#[serde(default, skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
}
impl CaptchaSolveParams {
#[must_use]
pub fn page_id(mut self, value: impl Into<String>) -> Self {
self.page_id = Some(value.into());
self
}
#[must_use]
pub fn task_id(mut self, value: impl Into<String>) -> Self {
self.task_id = Some(value.into());
self
}
#[must_use]
pub fn url(mut self, value: impl Into<String>) -> Self {
self.url = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CaptchaSolveImageParams {
/// XPath to the captcha image element
#[serde(rename = "imageXPath")]
pub image_x_path: String,
/// XPath to the captcha input element
#[serde(rename = "inputXPath")]
pub input_x_path: String,
/// URL where the captcha is located. Defaults to the current page URL
#[serde(default, skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
}
impl CaptchaSolveImageParams {
pub fn new(image_x_path: impl Into<String>, input_x_path: impl Into<String>) -> Self {
Self {
image_x_path: image_x_path.into(),
input_x_path: input_x_path.into(),
url: None,
}
}
#[must_use]
pub fn url(mut self, value: impl Into<String>) -> Self {
self.url = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CredentialDeleteResponse {
pub success: bool,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ExtensionUploadParams {
/// Extension .zip/.crx file
#[serde(default, skip_serializing_if = "Option::is_none")]
pub file: Option<FileUpload>,
/// Extension URL
#[serde(default, skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
}
impl ExtensionUploadParams {
#[must_use]
pub fn file(mut self, value: FileUpload) -> Self {
self.file = Some(value);
self
}
#[must_use]
pub fn url(mut self, value: impl Into<String>) -> Self {
self.url = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CredentialUpdateResponse {
/// Date and time the credential was created
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// Label for the credential
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
/// The namespace the credential is stored against. Defaults to "default".
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
/// Website origin the credential is for
#[serde(default, skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
/// Date and time the credential was last updated
#[serde(rename = "updatedAt")]
pub updated_at: chrono::DateTime<chrono::Utc>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ExtensionUpdateParams {
/// Extension .zip/.crx file
#[serde(default, skip_serializing_if = "Option::is_none")]
pub file: Option<FileUpload>,
/// Extension URL
#[serde(default, skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
}
impl ExtensionUpdateParams {
#[must_use]
pub fn file(mut self, value: FileUpload) -> Self {
self.file = Some(value);
self
}
#[must_use]
pub fn url(mut self, value: impl Into<String>) -> Self {
self.url = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ExtensionUpdateResponse {
/// Creation timestamp
#[serde(rename = "createdAt")]
pub created_at: String,
/// Unique extension identifier (e.g., ext_12345)
pub id: String,
/// Extension name
pub name: String,
/// Last update timestamp
#[serde(rename = "updatedAt")]
pub updated_at: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ExtensionDeleteResponse {
pub message: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponse {
/// The date and time when the profile was created
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// The credentials configuration associated with the profile
#[serde(rename = "credentialsConfig")]
pub credentials_config: serde_json::Value,
/// The dimensions associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dimensions: Option<Box<ProfileGetResponseDimensions>>,
/// The extension IDs associated with the profile
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "extensionIds"
)]
pub extension_ids: Option<Vec<String>>,
/// The fingerprint associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub fingerprint: Option<Box<ProfileGetResponseFingerprint>>,
/// The unique identifier for the profile
pub id: String,
/// The project ID associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The last session ID associated with the profile
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sourceSessionId"
)]
pub source_session_id: Option<String>,
/// The status of the profile
pub status: ProfileStatus,
/// The date and time when the profile was last updated
#[serde(rename = "updatedAt")]
pub updated_at: chrono::DateTime<chrono::Utc>,
/// The proxy configuration associated with the profile
#[serde(rename = "useProxyConfig")]
pub use_proxy_config: serde_json::Value,
/// The user agent associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateParams {
/// The dimensions associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dimensions: Option<Box<ProfileUpdateParamsDimensions>>,
/// Project to create the profile in
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The proxy associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "proxyUrl")]
pub proxy_url: Option<String>,
/// The user agent associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
/// The user data directory associated with the profile
#[serde(rename = "userDataDir")]
pub user_data_dir: FileUpload,
}
impl ProfileUpdateParams {
pub fn new(user_data_dir: FileUpload) -> Self {
Self {
dimensions: None,
project_id: None,
proxy_url: None,
user_agent: None,
user_data_dir,
}
}
#[must_use]
pub fn dimensions(mut self, value: Box<ProfileUpdateParamsDimensions>) -> Self {
self.dimensions = Some(value);
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
#[must_use]
pub fn proxy_url(mut self, value: impl Into<String>) -> Self {
self.proxy_url = Some(value.into());
self
}
#[must_use]
pub fn user_agent(mut self, value: impl Into<String>) -> Self {
self.user_agent = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponse {
/// The date and time when the profile was created
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// The credentials configuration associated with the profile
#[serde(rename = "credentialsConfig")]
pub credentials_config: serde_json::Value,
/// The dimensions associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dimensions: Option<Box<ProfileUpdateResponseDimensions>>,
/// The extension IDs associated with the profile
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "extensionIds"
)]
pub extension_ids: Option<Vec<String>>,
/// The fingerprint associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub fingerprint: Option<Box<ProfileUpdateResponseFingerprint>>,
/// The unique identifier for the profile
pub id: String,
/// The project ID associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The last session ID associated with the profile
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sourceSessionId"
)]
pub source_session_id: Option<String>,
/// The status of the profile
pub status: ProfileStatus,
/// The date and time when the profile was last updated
#[serde(rename = "updatedAt")]
pub updated_at: chrono::DateTime<chrono::Utc>,
/// The proxy configuration associated with the profile
#[serde(rename = "useProxyConfig")]
pub use_proxy_config: serde_json::Value,
/// The user agent associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
}
pub type SessionReleaseParams = HashMap<String, serde_json::Value>;
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CaptchaSolveImageResponse {
/// Response message
#[serde(default, skip_serializing_if = "Option::is_none")]
pub message: Option<String>,
/// Whether the action was successful
pub success: bool,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionFileUploadParams {
/// The file to upload (binary) or URL string to download from
pub file: FileUpload,
/// Path to the file in the storage system
#[serde(default, skip_serializing_if = "Option::is_none")]
pub path: Option<String>,
}
impl SessionFileUploadParams {
pub fn new(file: FileUpload) -> Self {
Self { file, path: None }
}
#[must_use]
pub fn path(mut self, value: impl Into<String>) -> Self {
self.path = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ComputerActionRequestMoveMouse {
/// X and Y coordinates [x, y]
pub coordinates: Vec<f64>,
/// Keys to hold while moving
#[serde(default, skip_serializing_if = "Option::is_none")]
pub hold_keys: Option<Vec<String>>,
/// Whether to take a screenshot after the action
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<bool>,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum ComputerActionRequestClickMouseButton {
Left,
Right,
Middle,
Back,
Forward,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for ComputerActionRequestClickMouseButton {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
ComputerActionRequestClickMouseButton::Left => "left",
ComputerActionRequestClickMouseButton::Right => "right",
ComputerActionRequestClickMouseButton::Middle => "middle",
ComputerActionRequestClickMouseButton::Back => "back",
ComputerActionRequestClickMouseButton::Forward => "forward",
ComputerActionRequestClickMouseButton::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for ComputerActionRequestClickMouseButton {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for ComputerActionRequestClickMouseButton {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"left" => Some(ComputerActionRequestClickMouseButton::Left),
"right" => Some(ComputerActionRequestClickMouseButton::Right),
"middle" => Some(ComputerActionRequestClickMouseButton::Middle),
"back" => Some(ComputerActionRequestClickMouseButton::Back),
"forward" => Some(ComputerActionRequestClickMouseButton::Forward),
_ => None,
};
Ok(known.unwrap_or(ComputerActionRequestClickMouseButton::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum ComputerActionRequestClickMouseClickType {
Down,
Up,
Click,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for ComputerActionRequestClickMouseClickType {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
ComputerActionRequestClickMouseClickType::Down => "down",
ComputerActionRequestClickMouseClickType::Up => "up",
ComputerActionRequestClickMouseClickType::Click => "click",
ComputerActionRequestClickMouseClickType::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for ComputerActionRequestClickMouseClickType {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for ComputerActionRequestClickMouseClickType {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"down" => Some(ComputerActionRequestClickMouseClickType::Down),
"up" => Some(ComputerActionRequestClickMouseClickType::Up),
"click" => Some(ComputerActionRequestClickMouseClickType::Click),
_ => None,
};
Ok(known.unwrap_or(ComputerActionRequestClickMouseClickType::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ComputerActionRequestClickMouse {
/// Mouse button to click. Defaults to 'left'
#[serde(default, skip_serializing_if = "Option::is_none")]
pub button: Option<ComputerActionRequestClickMouseButton>,
/// Type of click (down, up, or click). Defaults to 'click'
#[serde(default, skip_serializing_if = "Option::is_none")]
pub click_type: Option<ComputerActionRequestClickMouseClickType>,
/// X and Y coordinates [x, y]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub coordinates: Option<Vec<f64>>,
/// Keys to hold while clicking
#[serde(default, skip_serializing_if = "Option::is_none")]
pub hold_keys: Option<Vec<String>>,
/// Number of clicks. Defaults to 1
#[serde(default, skip_serializing_if = "Option::is_none")]
pub num_clicks: Option<f64>,
/// Whether to take a screenshot after the action
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<bool>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ComputerActionRequestDragMouse {
/// Keys to hold while dragging
#[serde(default, skip_serializing_if = "Option::is_none")]
pub hold_keys: Option<Vec<String>>,
/// Array of [x, y] coordinate pairs
pub path: Vec<Vec<f64>>,
/// Whether to take a screenshot after the action
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<bool>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ComputerActionRequestScroll {
/// X and Y coordinates [x, y]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub coordinates: Option<Vec<f64>>,
/// Horizontal scroll amount. Defaults to 0
#[serde(default, skip_serializing_if = "Option::is_none")]
pub delta_x: Option<f64>,
/// Vertical scroll amount. Defaults to 0
#[serde(default, skip_serializing_if = "Option::is_none")]
pub delta_y: Option<f64>,
/// Keys to hold while scrolling
#[serde(default, skip_serializing_if = "Option::is_none")]
pub hold_keys: Option<Vec<String>>,
/// Whether to take a screenshot after the action
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<bool>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ComputerActionRequestPressKey {
/// Duration to hold keys in seconds
#[serde(default, skip_serializing_if = "Option::is_none")]
pub duration: Option<f64>,
/// Keys to press
pub keys: Vec<String>,
/// Whether to take a screenshot after the action
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<bool>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ComputerActionRequestTypeText {
/// Keys to hold while typing
#[serde(default, skip_serializing_if = "Option::is_none")]
pub hold_keys: Option<Vec<String>>,
/// Whether to take a screenshot after the action
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<bool>,
/// Text to type
pub text: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ComputerActionRequestWait {
/// Duration to wait in seconds
pub duration: f64,
/// Whether to take a screenshot after the action
#[serde(default, skip_serializing_if = "Option::is_none")]
pub screenshot: Option<bool>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ComputerActionRequestTakeScreenshot {}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ComputerActionRequestGetCursorPosition {}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CaptchaStatusResponseItem {
/// Timestamp when the state was created
#[serde(default, skip_serializing_if = "Option::is_none")]
pub created: Option<f64>,
/// Whether a captcha is currently being solved
#[serde(rename = "isSolvingCaptcha")]
pub is_solving_captcha: bool,
/// Timestamp when the state was last updated
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "lastUpdated"
)]
pub last_updated: Option<f64>,
/// The page ID where the captcha is located
#[serde(rename = "pageId")]
pub page_id: String,
/// Array of captcha tasks
pub tasks: Vec<serde_json::Value>,
/// The URL where the captcha is located
pub url: String,
}
/// Configuration for session credentials
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionCreateParamsCredentials {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "autoSubmit"
)]
pub auto_submit: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blurFields"
)]
pub blur_fields: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "exactOrigin"
)]
pub exact_origin: Option<bool>,
}
/// Configuration for the debug URL and session viewer. Controls interaction capabilities, cursor visibility, and other debug-related settings.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionCreateParamsDebugConfig {
/// Allow interaction with the browser session via the debug URL viewer. When false, the session viewer will be view-only. Default is true.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub interactive: Option<bool>,
/// Show the OS-level mouse cursor in the WebRTC stream (headful mode only). When false, the system cursor will not be rendered in the stream. Default is true.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "systemCursor"
)]
pub system_cursor: Option<bool>,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum CreateSessionRequestDeviceConfigDevice {
Desktop,
Mobile,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for CreateSessionRequestDeviceConfigDevice {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
CreateSessionRequestDeviceConfigDevice::Desktop => "desktop",
CreateSessionRequestDeviceConfigDevice::Mobile => "mobile",
CreateSessionRequestDeviceConfigDevice::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for CreateSessionRequestDeviceConfigDevice {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for CreateSessionRequestDeviceConfigDevice {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"desktop" => Some(CreateSessionRequestDeviceConfigDevice::Desktop),
"mobile" => Some(CreateSessionRequestDeviceConfigDevice::Mobile),
_ => None,
};
Ok(known.unwrap_or(CreateSessionRequestDeviceConfigDevice::Unknown(s)))
}
}
/// Device configuration for the session. Specify 'mobile' for mobile device fingerprints and configurations.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionCreateParamsDeviceConfig {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub device: Option<CreateSessionRequestDeviceConfigDevice>,
}
/// Viewport and browser window dimensions for the session. Mobile sessions require dimensions of at least 508x1074; smaller mobile dimensions are rejected with a 400 response.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsDimensions {
/// Height of the session
pub height: i64,
/// Width of the session
pub width: i64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionCreateParamsOptimizeBandwidthUnionMember1 {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockHosts"
)]
pub block_hosts: Option<Vec<String>>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockImages"
)]
pub block_images: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockMedia"
)]
pub block_media: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockStylesheets"
)]
pub block_stylesheets: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockUrlPatterns"
)]
pub block_url_patterns: Option<Vec<String>>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[allow(clippy::large_enum_variant)]
#[serde(untagged)]
pub enum SessionCreateParamsOptimizeBandwidth {
V0(bool),
V1(SessionCreateParamsOptimizeBandwidthUnionMember1),
}
/// The partition key of the cookie
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsSessionContextCookiePartitionKey {
/// Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.
#[serde(rename = "hasCrossSiteAncestor")]
pub has_cross_site_ancestor: bool,
/// The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.
#[serde(rename = "topLevelSite")]
pub top_level_site: String,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum CreateSessionRequestSessionContextCookiesItemPriority {
Low,
Medium,
High,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for CreateSessionRequestSessionContextCookiesItemPriority {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
CreateSessionRequestSessionContextCookiesItemPriority::Low => "Low",
CreateSessionRequestSessionContextCookiesItemPriority::Medium => "Medium",
CreateSessionRequestSessionContextCookiesItemPriority::High => "High",
CreateSessionRequestSessionContextCookiesItemPriority::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for CreateSessionRequestSessionContextCookiesItemPriority {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for CreateSessionRequestSessionContextCookiesItemPriority {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"Low" => Some(CreateSessionRequestSessionContextCookiesItemPriority::Low),
"Medium" => Some(CreateSessionRequestSessionContextCookiesItemPriority::Medium),
"High" => Some(CreateSessionRequestSessionContextCookiesItemPriority::High),
_ => None,
};
Ok(known.unwrap_or(CreateSessionRequestSessionContextCookiesItemPriority::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum CreateSessionRequestSessionContextCookiesItemSameSite {
Strict,
Lax,
None,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for CreateSessionRequestSessionContextCookiesItemSameSite {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
CreateSessionRequestSessionContextCookiesItemSameSite::Strict => "Strict",
CreateSessionRequestSessionContextCookiesItemSameSite::Lax => "Lax",
CreateSessionRequestSessionContextCookiesItemSameSite::None => "None",
CreateSessionRequestSessionContextCookiesItemSameSite::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for CreateSessionRequestSessionContextCookiesItemSameSite {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for CreateSessionRequestSessionContextCookiesItemSameSite {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"Strict" => Some(CreateSessionRequestSessionContextCookiesItemSameSite::Strict),
"Lax" => Some(CreateSessionRequestSessionContextCookiesItemSameSite::Lax),
"None" => Some(CreateSessionRequestSessionContextCookiesItemSameSite::None),
_ => None,
};
Ok(known.unwrap_or(CreateSessionRequestSessionContextCookiesItemSameSite::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum CreateSessionRequestSessionContextCookiesItemSourceScheme {
Unset,
NonSecure,
Secure,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for CreateSessionRequestSessionContextCookiesItemSourceScheme {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
CreateSessionRequestSessionContextCookiesItemSourceScheme::Unset => "Unset",
CreateSessionRequestSessionContextCookiesItemSourceScheme::NonSecure => "NonSecure",
CreateSessionRequestSessionContextCookiesItemSourceScheme::Secure => "Secure",
CreateSessionRequestSessionContextCookiesItemSourceScheme::Unknown(inner) => {
inner.as_str()
}
};
f.write_str(s)
}
}
impl serde::Serialize for CreateSessionRequestSessionContextCookiesItemSourceScheme {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for CreateSessionRequestSessionContextCookiesItemSourceScheme {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"Unset" => Some(CreateSessionRequestSessionContextCookiesItemSourceScheme::Unset),
"NonSecure" => {
Some(CreateSessionRequestSessionContextCookiesItemSourceScheme::NonSecure)
}
"Secure" => Some(CreateSessionRequestSessionContextCookiesItemSourceScheme::Secure),
_ => None,
};
Ok(known.unwrap_or(CreateSessionRequestSessionContextCookiesItemSourceScheme::Unknown(s)))
}
}
/// Cookies to initialize in the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsSessionContextCookie {
/// The domain of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub domain: Option<String>,
/// The expiration date of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub expires: Option<f64>,
/// Whether the cookie is HTTP only
#[serde(default, skip_serializing_if = "Option::is_none", rename = "httpOnly")]
pub http_only: Option<bool>,
/// The name of the cookie
pub name: String,
/// The partition key of the cookie
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "partitionKey"
)]
pub partition_key: Option<Box<SessionCreateParamsSessionContextCookiePartitionKey>>,
/// The path of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub path: Option<String>,
/// The priority of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub priority: Option<CreateSessionRequestSessionContextCookiesItemPriority>,
/// Whether the cookie is a same party cookie
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sameParty")]
pub same_party: Option<bool>,
/// The same site attribute of the cookie
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sameSite")]
pub same_site: Option<CreateSessionRequestSessionContextCookiesItemSameSite>,
/// Whether the cookie is secure
#[serde(default, skip_serializing_if = "Option::is_none")]
pub secure: Option<bool>,
/// Whether the cookie is a session cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub session: Option<bool>,
/// The size of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub size: Option<i64>,
/// The source port of the cookie
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sourcePort"
)]
pub source_port: Option<f64>,
/// The source scheme of the cookie
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sourceScheme"
)]
pub source_scheme: Option<CreateSessionRequestSessionContextCookiesItemSourceScheme>,
/// The URL of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
/// The value of the cookie
pub value: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsSessionContextIndexedDBDataRecordBlobFile {
#[serde(rename = "blobNumber")]
pub blob_number: f64,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub filename: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "lastModified"
)]
pub last_modified: Option<chrono::DateTime<chrono::Utc>>,
#[serde(rename = "mimeType")]
pub mime_type: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub path: Option<String>,
pub size: i64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsSessionContextIndexedDBDataRecord {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "blobFiles")]
pub blob_files: Option<Vec<SessionCreateParamsSessionContextIndexedDBDataRecordBlobFile>>,
pub key: serde_json::Value,
pub value: serde_json::Value,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsSessionContextIndexedDBData {
pub id: f64,
pub name: String,
pub records: Vec<SessionCreateParamsSessionContextIndexedDBDataRecord>,
}
/// Domain-specific indexedDB items to initialize in the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsSessionContextIndexedDB {
pub data: Vec<SessionCreateParamsSessionContextIndexedDBData>,
pub id: f64,
pub name: String,
}
/// Session context data to be used in the created session. Sessions will start with an empty context by default.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionCreateParamsSessionContext {
/// Cookies to initialize in the session
#[serde(default, skip_serializing_if = "Option::is_none")]
pub cookies: Option<Vec<SessionCreateParamsSessionContextCookie>>,
/// Domain-specific indexedDB items to initialize in the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "indexedDB")]
pub indexed_db: Option<HashMap<String, Vec<SessionCreateParamsSessionContextIndexedDB>>>,
/// Domain-specific localStorage items to initialize in the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "localStorage"
)]
pub local_storage: Option<HashMap<String, HashMap<String, String>>>,
/// Domain-specific sessionStorage items to initialize in the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sessionStorage"
)]
pub session_storage: Option<HashMap<String, HashMap<String, String>>>,
}
/// Stealth configuration for the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionCreateParamsStealthConfig {
/// When true, captchas will be automatically solved when detected. When false, use the solve endpoints to manually initiate solving.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "autoCaptchaSolving"
)]
pub auto_captcha_solving: Option<bool>,
/// This flag will make the browser act more human-like by moving the mouse in a more natural way.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "humanizeInteractions"
)]
pub humanize_interactions: Option<bool>,
/// This flag will skip the fingerprint generation for the session.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "skipFingerprintInjection"
)]
pub skip_fingerprint_injection: Option<bool>,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum CreateSessionRequestUseProxyGeolocationCity {
ACoruna,
Abidjan,
AbuDhabi,
Abuja,
AcapulcoDeJuarez,
Accra,
Adana,
Adapazari,
AddisAbaba,
Adelaide,
Afyonkarahisar,
Agadir,
AguasLindasDeGoias,
Aguascalientes,
Ahmedabad,
Aizawl,
Ajman,
Akron,
Aksaray,
AlAinCity,
AlMansurah,
AlQatif,
Alajuela,
Albany,
Albuquerque,
Alexandria,
Algiers,
Alicante,
Almada,
Almaty,
AlmereStad,
Alvorada,
Amadora,
Amasya,
Ambato,
Americana,
Amman,
Amsterdam,
Ananindeua,
Anapolis,
AngelesCity,
Angers,
AngraDosReis,
Ankara,
Antakya,
Antalya,
Antananarivo,
AntipoloCity,
Antofagasta,
Antwerp,
AparecidaDeGoiania,
Apodaca,
Aracaju,
Aracatuba,
Arad,
Araguaina,
Arapiraca,
Araraquara,
Arequipa,
Arica,
Arlington,
Aryanah,
Astana,
Asuncion,
Asyut,
Atakum,
Athens,
Atibaia,
Atlanta,
Auburn,
Auckland,
Aurora,
Austin,
Avellaneda,
Aydin,
Azcapotzalco,
BacolodCity,
Bacoor,
Baghdad,
BaguioCity,
BahiaBlanca,
Bakersfield,
Baku,
Balikesir,
Balikpapan,
BalnearioCamboriu,
Baltimore,
BandarLampung,
BandarSeriBegawan,
Bandung,
Bangkok,
BanjaLuka,
Banjarmasin,
Barcelona,
Bari,
Barquisimeto,
BarraMansa,
Barranquilla,
Barueri,
Batam,
Batangas,
Batman,
BatnaCity,
BatonRouge,
Batumi,
Bauru,
Beirut,
Bejaia,
Bekasi,
Belem,
Belfast,
BelfordRoxo,
Belgrade,
BeloHorizonte,
Bengaluru,
BeniMellal,
Berazategui,
Bern,
Betim,
Bharatpur,
Bhopal,
Bhubaneswar,
Bialystok,
BienHoa,
Bilbao,
Bilecik,
Biratnagar,
Birmingham,
Bishkek,
Bizerte,
Blida,
Bloemfontein,
Bloomington,
Blumenau,
BoaVista,
Bochum,
Bogor,
Bogota,
Boise,
Boksburg,
Bologna,
Bolu,
Bordeaux,
Boston,
Botucatu,
Bradford,
Braga,
BragancaPaulista,
Brampton,
Brasilia,
Brasov,
Bratislava,
Bremen,
Brescia,
Brest,
Bridgetown,
Brisbane,
Bristol,
Brno,
Brooklyn,
Brussels,
Bucaramanga,
Bucharest,
Budapest,
BuenosAires,
Buffalo,
BukGu,
Bukhara,
Burgas,
Burnaby,
Bursa,
Butuan,
Bydgoszcz,
CabanatuanCity,
CaboFrio,
Cabuyao,
CachoeiroDeItapemirim,
CagayanDeOro,
Cagliari,
Cairo,
Calamba,
Calgary,
CaloocanCity,
Camacari,
Camaragibe,
Campeche,
CampinaGrande,
Campinas,
CampoGrande,
CampoLargo,
CamposDosGoytacazes,
CanTho,
Canoas,
Canton,
CapeTown,
Caracas,
Caraguatatuba,
Carapicuiba,
Cardiff,
Cariacica,
Carmona,
Cartagena,
Caruaru,
Casablanca,
Cascavel,
Caseros,
Castanhal,
Castries,
Catalao,
Catamarca,
Catanduva,
Catania,
Caucaia,
CaxiasDoSul,
CebuCity,
Central,
Centro,
Centurion,
Chaguanas,
Chandigarh,
Chandler,
ChangHua,
Chapeco,
Charleston,
Charlotte,
Chelyabinsk,
Chennai,
Cherkasy,
Chernivtsi,
Chia,
ChiangMai,
Chiclayo,
ChihuahuaCity,
Chimbote,
Chisinau,
Chittagong,
Christchurch,
Cincinnati,
Cirebon,
CityOfMuntinlupa,
CiudadDelEste,
CiudadGuayana,
CiudadJuarez,
CiudadNezahualcoyotl,
CiudadObregon,
Cleveland,
ClujNapoca,
Cochabamba,
Coimbatore,
Coimbra,
Cologne,
Colombo,
ColoradoSprings,
Columbia,
Columbus,
ComodoroRivadavia,
Concepcion,
Concord,
Constanta,
Constantine,
Contagem,
Copenhagen,
Cordoba,
Corrientes,
Corum,
Cotia,
Coventry,
Craiova,
Criciuma,
Croydon,
CuautitlanIzcalli,
Cucuta,
Cuenca,
Cuernavaca,
Cuiaba,
Culiacan,
Curitiba,
Cusco,
DaNang,
Dagupan,
Dakar,
Dallas,
Damietta,
Dammam,
DarEsSalaam,
Dasmarinas,
DavaoCity,
Dayton,
Debrecen,
Decatur,
Dehradun,
Delhi,
Denizli,
Denpasar,
Denver,
Depok,
Derby,
Detroit,
Dhaka,
Diadema,
Divinopolis,
Diyarbakir,
Djelfa,
Dnipro,
Doha,
Dortmund,
Dourados,
Dresden,
Dubai,
Dublin,
Duezce,
Duisburg,
DuqueDeCaxias,
Durango,
Durban,
Dusseldorf,
Ecatepec,
Edinburgh,
Edirne,
Edmonton,
ElJadida,
ElPaso,
Elazig,
Embu,
Ensenada,
Erbil,
Erzurum,
Eskisehir,
Espoo,
Essen,
Faisalabad,
Fayetteville,
FazendaRioGrande,
FeiraDeSantana,
Fes,
Florence,
FlorencioVarela,
Florianopolis,
Fontana,
Formosa,
FortLauderdale,
FortWayne,
FortWorth,
Fortaleza,
FozDoIguacu,
Franca,
FranciscoMorato,
FrancoDaRocha,
FrankfurtAmMain,
Fredericksburg,
Fresno,
Funchal,
Gaborone,
Gainesville,
Galati,
GangnamGu,
Garanhuns,
Gatineau,
Gaziantep,
Gdansk,
Gdynia,
GeneralTrias,
Geneva,
Genoa,
GeorgeTown,
Georgetown,
Ghaziabad,
Ghent,
Gijon,
Giresun,
Giza,
Glasgow,
Glendale,
Gliwice,
Goiania,
Gomel,
Gothenburg,
GovernadorValadares,
GoyangSi,
Granada,
GrandRapids,
Gravatai,
Graz,
Greensboro,
Greenville,
Guadalajara,
Guadalupe,
Guangzhou,
Guarapuava,
Guaratingueta,
Guaruja,
Guarulhos,
GuatemalaCity,
Guayaquil,
Gujranwala,
Gurugram,
GustavoAdolfoMadero,
Guwahati,
GwanakGu,
Hackney,
Haifa,
Haiphong,
Hamburg,
Hamilton,
Hanoi,
Hanover,
Harare,
Havana,
Helsinki,
Henderson,
Heredia,
Hermosillo,
Hialeah,
HoChiMinhCity,
Hollywood,
Holon,
Honolulu,
Hortolandia,
Hrodna,
Hsinchu,
Huancayo,
Huanuco,
Hull,
Hurlingham,
Hyderabad,
Iasi,
Ibague,
Ica,
Ilam,
Ilford,
Iligan,
IloiloCity,
Imperatriz,
Imus,
Incheon,
Indaiatuba,
Indianapolis,
Indore,
Ipatinga,
Ipoh,
Iquique,
Irvine,
IsidroCasanova,
Islamabad,
Islington,
Ismailia,
Isparta,
Istanbul,
Itaborai,
Itabuna,
Itajai,
Itanhaem,
Itapevi,
Itaquaquecetuba,
Ituzaingo,
Izmir,
Iztapalapa,
JaboataoDosGuararapes,
Jacarei,
Jackson,
Jacksonville,
Jaipur,
Jakarta,
JaraguaDoSul,
Jau,
Jeddah,
Jember,
Jerusalem,
JoaoMonlevade,
JoaoPessoa,
Jodhpur,
Johannesburg,
JohorBahru,
Joinville,
JoseCPaz,
JoseMariaEzeiza,
Juarez,
JuazeiroDoNorte,
JuizDeFora,
Jundiai,
Kahramanmaras,
Kampala,
Kanpur,
KansasCity,
KaohsiungCity,
Karabuk,
Karachi,
Karlsruhe,
Karnal,
Kaski,
Kastamonu,
Kathmandu,
Katowice,
Katsina,
Katy,
Kaunas,
Kayseri,
Kazan,
Kecskemet,
Kediri,
Kenitra,
Kharkiv,
Khmelnytskyi,
KhonKaen,
Kielce,
Kigali,
Kingston,
Kirklareli,
Kissimmee,
Kitchener,
Klaipeda,
Knoxville,
Kochi,
Kolkata,
Kollam,
Konya,
Kosekoy,
Kosice,
KotaKinabalu,
Kozhikode,
Krakow,
Krasnodar,
KryvyiRih,
KualaLumpur,
Kuching,
Kutahya,
Kutaisi,
KuwaitCity,
Kyiv,
LaPaz,
LaPlata,
LaRioja,
LaSerena,
Lafayette,
Laferrere,
Lages,
Lagos,
Lahore,
Lahug,
LakeWorth,
Lakeland,
Lancaster,
Lanus,
LasPalmasDeGranCanaria,
LasPinas,
LasVegas,
Lausanne,
Laval,
Lawrenceville,
LeMans,
Leeds,
Leicester,
Leipzig,
Leon,
Lexington,
Libreville,
Liege,
Lille,
Lima,
Limassol,
Limeira,
Lincoln,
Linhares,
LipaCity,
Lisbon,
Liverpool,
Ljubljana,
Lodz,
Loja,
LomasDeZamora,
Lome,
Londrina,
LongBeach,
Longueuil,
Louisville,
Luanda,
Lublin,
LucenaCity,
Lucknow,
Ludhiana,
Lusaka,
Luxembourg,
Luziania,
Lviv,
Lyon,
Mabalacat,
Macae,
Macao,
Macapa,
Maceio,
Machala,
Madison,
Madrid,
Mage,
Magelang,
MagnesiaAdSipylum,
Makassar,
MakatiCity,
Malabon,
Malaga,
Malang,
Malappuram,
Maldonado,
Male,
Malmo,
Manado,
Managua,
Manama,
Manaus,
Manchester,
MandaluyongCity,
Manila,
Manizales,
Mannheim,
Maputo,
MarDelPlata,
Maraba,
Maracaibo,
Maracanau,
Maracay,
Mardin,
Maribor,
Marica,
Marietta,
MarikinaCity,
Marilia,
Maringa,
Marrakesh,
Marseille,
Maua,
Mazatlan,
Medan,
Medellin,
Medina,
Meerut,
Meknes,
Melbourne,
Memphis,
Mendoza,
Merida,
Merkez,
Merlo,
Mersin,
Mesa,
Mexicali,
MexicoCity,
Milan,
MiltonKeynes,
Milwaukee,
Minneapolis,
Minsk,
Miskolc,
Mississauga,
MogiDasCruzes,
Mohali,
Monroe,
MonteGrande,
MontegoBay,
Monterrey,
MontesClaros,
Montevideo,
Montgomery,
Montpellier,
Montreal,
Morelia,
Moreno,
Moron,
Mossoro,
Mugla,
Multan,
Mumbai,
Munich,
Murcia,
Muscat,
Muzaffargarh,
Mykolayiv,
Naaldwijk,
Naga,
Nagpur,
Nairobi,
Nantes,
Naples,
Nashville,
Nassau,
Nasugbu,
Natal,
Naucalpan,
NaviMumbai,
Neiva,
Neuquen,
Nevsehir,
NewDelhi,
NewOrleans,
NewTaipei,
Newark,
NewcastleUponTyne,
NhaTrang,
Nice,
Nicosia,
Nilopolis,
Nis,
Niteroi,
Nitra,
NizhniyNovgorod,
Nogales,
Noida,
Northampton,
Norwich,
Nottingham,
NovaFriburgo,
NovaIguacu,
NoviSad,
NovoHamburgo,
Novosibirsk,
Nuremberg,
Oakland,
OaxacaCity,
Odesa,
OklahomaCity,
Olinda,
Olomouc,
OlongapoCity,
Olsztyn,
Omaha,
Oradea,
Oran,
Ordu,
Orlando,
Osasco,
Oslo,
Osmaniye,
Ostrava,
Ottawa,
Oujda,
Ourinhos,
Pachuca,
Padova,
Palakkad,
Palembang,
Palermo,
Palhoca,
Palma,
Palmas,
PanamaCity,
Paramaribo,
Parana,
Paranagua,
ParanaqueCity,
Parauapebas,
Paris,
Parnaiba,
Parnamirim,
PassoFundo,
Pasto,
Patan,
Patna,
PatosDeMinas,
Paulista,
Pecs,
Pekanbaru,
Pelotas,
Peoria,
Pereira,
Perm,
Perth,
Pescara,
Peshawar,
PetahTikva,
PetalingJaya,
Petrolina,
Petropolis,
Philadelphia,
PhnomPenh,
Phoenix,
Pilar,
Pindamonhangaba,
Piracicaba,
Pitesti,
Pittsburgh,
Piura,
Plano,
Ploiesti,
Plovdiv,
Plymouth,
PocosDeCaldas,
Podgorica,
Poltava,
PontaGrossa,
Pontianak,
Popayan,
PortAuPrince,
PortElizabeth,
PortHarcourt,
PortLouis,
PortMontt,
PortOfSpain,
PortSaid,
Portland,
Porto,
PortoAlegre,
PortoSeguro,
PortoVelho,
Portoviejo,
Posadas,
PousoAlegre,
Poznan,
Prague,
PraiaGrande,
PresidentePrudente,
Pretoria,
Pristina,
Providence,
Pucallpa,
PuchongBatuDuaBelas,
PueblaCity,
Pune,
Quebec,
Queens,
Queimados,
QueretaroCity,
QuezonCity,
Quilmes,
Quito,
Rabat,
Raipur,
Rajkot,
Rajshahi,
Raleigh,
RamatGan,
Rancagua,
Ranchi,
RasAlKhaimah,
Rawalpindi,
Reading,
Recife,
Regina,
Rennes,
Reno,
Resistencia,
Reykjavik,
Reynosa,
RibeiraoDasNeves,
RibeiraoPreto,
Richmond,
Riga,
RioBranco,
RioClaro,
RioCuarto,
RioDeJaneiro,
RioDoSul,
RioGallegos,
RioGrande,
RishonLetsiyyon,
Riverside,
Riyadh,
Rize,
Rochester,
Rome,
Rondonopolis,
Rosario,
Roseau,
RostovOnDon,
Rotterdam,
Rouen,
Rousse,
Rzeszow,
Sacramento,
Sagar,
SaintPaul,
Sale,
SaltLakeCity,
Salta,
Saltillo,
Salvador,
Samara,
Samarinda,
Samarkand,
Samsun,
SanAntonio,
SanDiego,
SanFernando,
SanFrancisco,
SanJose,
SanJoseDelMonte,
SanJuan,
SanJusto,
SanLuis,
SanLuisPotosiCity,
SanMiguel,
SanMiguelDeTucuman,
SanPabloCity,
SanPedro,
SanPedroSula,
SanSalvador,
SanSalvadorDeJujuy,
Sanaa,
Sanliurfa,
SantaCruz,
SantaCruzDeTenerife,
SantaCruzDoSul,
SantaFe,
SantaLuzia,
SantaMaria,
SantaMarta,
SantaRosa,
Santarem,
Santiago,
SantiagoDeCali,
SantiagoDeLosCaballeros,
SantoAndre,
SantoDomingo,
SantoDomingoEste,
Santos,
SaoBernardoDoCampo,
SaoCarlos,
SaoGoncalo,
SaoJoaoDeMeriti,
SaoJose,
SaoJoseDoRioPreto,
SaoJoseDosCampos,
SaoJoseDosPinhais,
SaoLeopoldo,
SaoLuis,
SaoPaulo,
SaoVicente,
Sarajevo,
Saskatoon,
Scarborough,
Seattle,
Semarang,
SeoGu,
SeongnamSi,
Seoul,
Serra,
SeteLagoas,
Setif,
Setubal,
Seville,
Sfax,
ShahAlam,
Shanghai,
Sharjah,
Sheffield,
Shenzhen,
Shimla,
Siauliai,
Sibiu,
Sidoarjo,
Sikar,
SilverSpring,
Sinop,
Sivas,
Skikda,
Skopje,
Slough,
Sobral,
Sofia,
Sorocaba,
Sousse,
SouthTangerang,
Southampton,
Southwark,
Split,
Spokane,
Spring,
Springfield,
StLouis,
StPetersburg,
StaraZagora,
StatenIsland,
Stockholm,
Stockton,
StokeOnTrent,
Strasbourg,
Stuttgart,
Sumare,
Surabaya,
Surakarta,
Surat,
Surrey,
Suwon,
Suzano,
Sydney,
Szczecin,
Szeged,
Szekesfehervar,
TaboaoDaSerra,
Tacna,
Tacoma,
Taguig,
Taichung,
TainanCity,
Taipei,
Talavera,
Talca,
Tallahassee,
Tallinn,
Tampa,
Tampere,
Tampico,
Tangerang,
Tangier,
Tanta,
Tanza,
TaoyuanDistrict,
Tappahannock,
TarlacCity,
Tashkent,
Tasikmalaya,
Tatui,
Taubate,
Tbilisi,
Tegucigalpa,
Tehran,
TeixeiraDeFreitas,
Tekirdag,
TelAviv,
Temuco,
Tepic,
Teresina,
Ternopil,
Terrassa,
Tetouan,
Thane,
TheBronx,
TheHague,
Thessaloniki,
Thiruvananthapuram,
Thrissur,
Tijuana,
Timisoara,
Tirana,
Tlalnepantla,
TlaxcalaCity,
Tlemcen,
TokatProvince,
Tokyo,
Toluca,
Toronto,
Torreon,
Toulouse,
Trabzon,
Trujillo,
Tubarao,
Tucson,
TuguegaraoCity,
Tulsa,
Tunis,
Tunja,
Turin,
TuxtlaGutierrez,
Tuzla,
Uberaba,
Uberlandia,
Ufa,
UlanBator,
Umeda,
Urdaneta,
Usak,
Vadodara,
Valencia,
Valinhos,
Valladolid,
Valledupar,
Valparaiso,
ValparaisoDeGoias,
Van,
Vancouver,
Varanasi,
Varginha,
Varna,
VarzeaPaulista,
VenustianoCarranza,
Veracruz,
Verona,
Viamao,
Victoria,
Vienna,
Vientiane,
Vigo,
Vijayawada,
VilaNovaDeGaia,
VilaVelha,
VillaBallester,
Villavicencio,
Vilnius,
VinaDelMar,
Vinnytsia,
VirginiaBeach,
Visakhapatnam,
Vitoria,
VitoriaDaConquista,
VitoriaDeSantoAntao,
VoltaRedonda,
Voronezh,
Warsaw,
Washington,
Wellington,
WestPalmBeach,
Wichita,
Willemstad,
Wilmington,
Windhoek,
Windsor,
Winnipeg,
Wolverhampton,
Woodbridge,
Wroclaw,
Wuppertal,
Xalapa,
Yalova,
Yangon,
Yekaterinburg,
Yerevan,
Yogyakarta,
Yokohama,
YonginSi,
Zabrze,
Zagazig,
Zagreb,
ZamboangaCity,
Zapopan,
Zaporizhzhya,
Zaragoza,
ZhongliDistrict,
ZielonaGora,
Zonguldak,
Zurich,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for CreateSessionRequestUseProxyGeolocationCity {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
CreateSessionRequestUseProxyGeolocationCity::ACoruna => "A_CORUNA",
CreateSessionRequestUseProxyGeolocationCity::Abidjan => "ABIDJAN",
CreateSessionRequestUseProxyGeolocationCity::AbuDhabi => "ABU_DHABI",
CreateSessionRequestUseProxyGeolocationCity::Abuja => "ABUJA",
CreateSessionRequestUseProxyGeolocationCity::AcapulcoDeJuarez => "ACAPULCO_DE JUAREZ",
CreateSessionRequestUseProxyGeolocationCity::Accra => "ACCRA",
CreateSessionRequestUseProxyGeolocationCity::Adana => "ADANA",
CreateSessionRequestUseProxyGeolocationCity::Adapazari => "ADAPAZARI",
CreateSessionRequestUseProxyGeolocationCity::AddisAbaba => "ADDIS_ABABA",
CreateSessionRequestUseProxyGeolocationCity::Adelaide => "ADELAIDE",
CreateSessionRequestUseProxyGeolocationCity::Afyonkarahisar => "AFYONKARAHISAR",
CreateSessionRequestUseProxyGeolocationCity::Agadir => "AGADIR",
CreateSessionRequestUseProxyGeolocationCity::AguasLindasDeGoias => {
"AGUAS_LINDAS DE GOIAS"
}
CreateSessionRequestUseProxyGeolocationCity::Aguascalientes => "AGUASCALIENTES",
CreateSessionRequestUseProxyGeolocationCity::Ahmedabad => "AHMEDABAD",
CreateSessionRequestUseProxyGeolocationCity::Aizawl => "AIZAWL",
CreateSessionRequestUseProxyGeolocationCity::Ajman => "AJMAN",
CreateSessionRequestUseProxyGeolocationCity::Akron => "AKRON",
CreateSessionRequestUseProxyGeolocationCity::Aksaray => "AKSARAY",
CreateSessionRequestUseProxyGeolocationCity::AlAinCity => "AL_AIN CITY",
CreateSessionRequestUseProxyGeolocationCity::AlMansurah => "AL_MANSURAH",
CreateSessionRequestUseProxyGeolocationCity::AlQatif => "AL_QATIF",
CreateSessionRequestUseProxyGeolocationCity::Alajuela => "ALAJUELA",
CreateSessionRequestUseProxyGeolocationCity::Albany => "ALBANY",
CreateSessionRequestUseProxyGeolocationCity::Albuquerque => "ALBUQUERQUE",
CreateSessionRequestUseProxyGeolocationCity::Alexandria => "ALEXANDRIA",
CreateSessionRequestUseProxyGeolocationCity::Algiers => "ALGIERS",
CreateSessionRequestUseProxyGeolocationCity::Alicante => "ALICANTE",
CreateSessionRequestUseProxyGeolocationCity::Almada => "ALMADA",
CreateSessionRequestUseProxyGeolocationCity::Almaty => "ALMATY",
CreateSessionRequestUseProxyGeolocationCity::AlmereStad => "ALMERE_STAD",
CreateSessionRequestUseProxyGeolocationCity::Alvorada => "ALVORADA",
CreateSessionRequestUseProxyGeolocationCity::Amadora => "AMADORA",
CreateSessionRequestUseProxyGeolocationCity::Amasya => "AMASYA",
CreateSessionRequestUseProxyGeolocationCity::Ambato => "AMBATO",
CreateSessionRequestUseProxyGeolocationCity::Americana => "AMERICANA",
CreateSessionRequestUseProxyGeolocationCity::Amman => "AMMAN",
CreateSessionRequestUseProxyGeolocationCity::Amsterdam => "AMSTERDAM",
CreateSessionRequestUseProxyGeolocationCity::Ananindeua => "ANANINDEUA",
CreateSessionRequestUseProxyGeolocationCity::Anapolis => "ANAPOLIS",
CreateSessionRequestUseProxyGeolocationCity::AngelesCity => "ANGELES_CITY",
CreateSessionRequestUseProxyGeolocationCity::Angers => "ANGERS",
CreateSessionRequestUseProxyGeolocationCity::AngraDosReis => "ANGRA_DOS REIS",
CreateSessionRequestUseProxyGeolocationCity::Ankara => "ANKARA",
CreateSessionRequestUseProxyGeolocationCity::Antakya => "ANTAKYA",
CreateSessionRequestUseProxyGeolocationCity::Antalya => "ANTALYA",
CreateSessionRequestUseProxyGeolocationCity::Antananarivo => "ANTANANARIVO",
CreateSessionRequestUseProxyGeolocationCity::AntipoloCity => "ANTIPOLO_CITY",
CreateSessionRequestUseProxyGeolocationCity::Antofagasta => "ANTOFAGASTA",
CreateSessionRequestUseProxyGeolocationCity::Antwerp => "ANTWERP",
CreateSessionRequestUseProxyGeolocationCity::AparecidaDeGoiania => {
"APARECIDA_DE GOIANIA"
}
CreateSessionRequestUseProxyGeolocationCity::Apodaca => "APODACA",
CreateSessionRequestUseProxyGeolocationCity::Aracaju => "ARACAJU",
CreateSessionRequestUseProxyGeolocationCity::Aracatuba => "ARACATUBA",
CreateSessionRequestUseProxyGeolocationCity::Arad => "ARAD",
CreateSessionRequestUseProxyGeolocationCity::Araguaina => "ARAGUAINA",
CreateSessionRequestUseProxyGeolocationCity::Arapiraca => "ARAPIRACA",
CreateSessionRequestUseProxyGeolocationCity::Araraquara => "ARARAQUARA",
CreateSessionRequestUseProxyGeolocationCity::Arequipa => "AREQUIPA",
CreateSessionRequestUseProxyGeolocationCity::Arica => "ARICA",
CreateSessionRequestUseProxyGeolocationCity::Arlington => "ARLINGTON",
CreateSessionRequestUseProxyGeolocationCity::Aryanah => "ARYANAH",
CreateSessionRequestUseProxyGeolocationCity::Astana => "ASTANA",
CreateSessionRequestUseProxyGeolocationCity::Asuncion => "ASUNCION",
CreateSessionRequestUseProxyGeolocationCity::Asyut => "ASYUT",
CreateSessionRequestUseProxyGeolocationCity::Atakum => "ATAKUM",
CreateSessionRequestUseProxyGeolocationCity::Athens => "ATHENS",
CreateSessionRequestUseProxyGeolocationCity::Atibaia => "ATIBAIA",
CreateSessionRequestUseProxyGeolocationCity::Atlanta => "ATLANTA",
CreateSessionRequestUseProxyGeolocationCity::Auburn => "AUBURN",
CreateSessionRequestUseProxyGeolocationCity::Auckland => "AUCKLAND",
CreateSessionRequestUseProxyGeolocationCity::Aurora => "AURORA",
CreateSessionRequestUseProxyGeolocationCity::Austin => "AUSTIN",
CreateSessionRequestUseProxyGeolocationCity::Avellaneda => "AVELLANEDA",
CreateSessionRequestUseProxyGeolocationCity::Aydin => "AYDIN",
CreateSessionRequestUseProxyGeolocationCity::Azcapotzalco => "AZCAPOTZALCO",
CreateSessionRequestUseProxyGeolocationCity::BacolodCity => "BACOLOD_CITY",
CreateSessionRequestUseProxyGeolocationCity::Bacoor => "BACOOR",
CreateSessionRequestUseProxyGeolocationCity::Baghdad => "BAGHDAD",
CreateSessionRequestUseProxyGeolocationCity::BaguioCity => "BAGUIO_CITY",
CreateSessionRequestUseProxyGeolocationCity::BahiaBlanca => "BAHIA_BLANCA",
CreateSessionRequestUseProxyGeolocationCity::Bakersfield => "BAKERSFIELD",
CreateSessionRequestUseProxyGeolocationCity::Baku => "BAKU",
CreateSessionRequestUseProxyGeolocationCity::Balikesir => "BALIKESIR",
CreateSessionRequestUseProxyGeolocationCity::Balikpapan => "BALIKPAPAN",
CreateSessionRequestUseProxyGeolocationCity::BalnearioCamboriu => "BALNEARIO_CAMBORIU",
CreateSessionRequestUseProxyGeolocationCity::Baltimore => "BALTIMORE",
CreateSessionRequestUseProxyGeolocationCity::BandarLampung => "BANDAR_LAMPUNG",
CreateSessionRequestUseProxyGeolocationCity::BandarSeriBegawan => "BANDAR_SERI BEGAWAN",
CreateSessionRequestUseProxyGeolocationCity::Bandung => "BANDUNG",
CreateSessionRequestUseProxyGeolocationCity::Bangkok => "BANGKOK",
CreateSessionRequestUseProxyGeolocationCity::BanjaLuka => "BANJA_LUKA",
CreateSessionRequestUseProxyGeolocationCity::Banjarmasin => "BANJARMASIN",
CreateSessionRequestUseProxyGeolocationCity::Barcelona => "BARCELONA",
CreateSessionRequestUseProxyGeolocationCity::Bari => "BARI",
CreateSessionRequestUseProxyGeolocationCity::Barquisimeto => "BARQUISIMETO",
CreateSessionRequestUseProxyGeolocationCity::BarraMansa => "BARRA_MANSA",
CreateSessionRequestUseProxyGeolocationCity::Barranquilla => "BARRANQUILLA",
CreateSessionRequestUseProxyGeolocationCity::Barueri => "BARUERI",
CreateSessionRequestUseProxyGeolocationCity::Batam => "BATAM",
CreateSessionRequestUseProxyGeolocationCity::Batangas => "BATANGAS",
CreateSessionRequestUseProxyGeolocationCity::Batman => "BATMAN",
CreateSessionRequestUseProxyGeolocationCity::BatnaCity => "BATNA_CITY",
CreateSessionRequestUseProxyGeolocationCity::BatonRouge => "BATON_ROUGE",
CreateSessionRequestUseProxyGeolocationCity::Batumi => "BATUMI",
CreateSessionRequestUseProxyGeolocationCity::Bauru => "BAURU",
CreateSessionRequestUseProxyGeolocationCity::Beirut => "BEIRUT",
CreateSessionRequestUseProxyGeolocationCity::Bejaia => "BEJAIA",
CreateSessionRequestUseProxyGeolocationCity::Bekasi => "BEKASI",
CreateSessionRequestUseProxyGeolocationCity::Belem => "BELEM",
CreateSessionRequestUseProxyGeolocationCity::Belfast => "BELFAST",
CreateSessionRequestUseProxyGeolocationCity::BelfordRoxo => "BELFORD_ROXO",
CreateSessionRequestUseProxyGeolocationCity::Belgrade => "BELGRADE",
CreateSessionRequestUseProxyGeolocationCity::BeloHorizonte => "BELO_HORIZONTE",
CreateSessionRequestUseProxyGeolocationCity::Bengaluru => "BENGALURU",
CreateSessionRequestUseProxyGeolocationCity::BeniMellal => "BENI_MELLAL",
CreateSessionRequestUseProxyGeolocationCity::Berazategui => "BERAZATEGUI",
CreateSessionRequestUseProxyGeolocationCity::Bern => "BERN",
CreateSessionRequestUseProxyGeolocationCity::Betim => "BETIM",
CreateSessionRequestUseProxyGeolocationCity::Bharatpur => "BHARATPUR",
CreateSessionRequestUseProxyGeolocationCity::Bhopal => "BHOPAL",
CreateSessionRequestUseProxyGeolocationCity::Bhubaneswar => "BHUBANESWAR",
CreateSessionRequestUseProxyGeolocationCity::Bialystok => "BIALYSTOK",
CreateSessionRequestUseProxyGeolocationCity::BienHoa => "BIEN_HOA",
CreateSessionRequestUseProxyGeolocationCity::Bilbao => "BILBAO",
CreateSessionRequestUseProxyGeolocationCity::Bilecik => "BILECIK",
CreateSessionRequestUseProxyGeolocationCity::Biratnagar => "BIRATNAGAR",
CreateSessionRequestUseProxyGeolocationCity::Birmingham => "BIRMINGHAM",
CreateSessionRequestUseProxyGeolocationCity::Bishkek => "BISHKEK",
CreateSessionRequestUseProxyGeolocationCity::Bizerte => "BIZERTE",
CreateSessionRequestUseProxyGeolocationCity::Blida => "BLIDA",
CreateSessionRequestUseProxyGeolocationCity::Bloemfontein => "BLOEMFONTEIN",
CreateSessionRequestUseProxyGeolocationCity::Bloomington => "BLOOMINGTON",
CreateSessionRequestUseProxyGeolocationCity::Blumenau => "BLUMENAU",
CreateSessionRequestUseProxyGeolocationCity::BoaVista => "BOA_VISTA",
CreateSessionRequestUseProxyGeolocationCity::Bochum => "BOCHUM",
CreateSessionRequestUseProxyGeolocationCity::Bogor => "BOGOR",
CreateSessionRequestUseProxyGeolocationCity::Bogota => "BOGOTA",
CreateSessionRequestUseProxyGeolocationCity::Boise => "BOISE",
CreateSessionRequestUseProxyGeolocationCity::Boksburg => "BOKSBURG",
CreateSessionRequestUseProxyGeolocationCity::Bologna => "BOLOGNA",
CreateSessionRequestUseProxyGeolocationCity::Bolu => "BOLU",
CreateSessionRequestUseProxyGeolocationCity::Bordeaux => "BORDEAUX",
CreateSessionRequestUseProxyGeolocationCity::Boston => "BOSTON",
CreateSessionRequestUseProxyGeolocationCity::Botucatu => "BOTUCATU",
CreateSessionRequestUseProxyGeolocationCity::Bradford => "BRADFORD",
CreateSessionRequestUseProxyGeolocationCity::Braga => "BRAGA",
CreateSessionRequestUseProxyGeolocationCity::BragancaPaulista => "BRAGANCA_PAULISTA",
CreateSessionRequestUseProxyGeolocationCity::Brampton => "BRAMPTON",
CreateSessionRequestUseProxyGeolocationCity::Brasilia => "BRASILIA",
CreateSessionRequestUseProxyGeolocationCity::Brasov => "BRASOV",
CreateSessionRequestUseProxyGeolocationCity::Bratislava => "BRATISLAVA",
CreateSessionRequestUseProxyGeolocationCity::Bremen => "BREMEN",
CreateSessionRequestUseProxyGeolocationCity::Brescia => "BRESCIA",
CreateSessionRequestUseProxyGeolocationCity::Brest => "BREST",
CreateSessionRequestUseProxyGeolocationCity::Bridgetown => "BRIDGETOWN",
CreateSessionRequestUseProxyGeolocationCity::Brisbane => "BRISBANE",
CreateSessionRequestUseProxyGeolocationCity::Bristol => "BRISTOL",
CreateSessionRequestUseProxyGeolocationCity::Brno => "BRNO",
CreateSessionRequestUseProxyGeolocationCity::Brooklyn => "BROOKLYN",
CreateSessionRequestUseProxyGeolocationCity::Brussels => "BRUSSELS",
CreateSessionRequestUseProxyGeolocationCity::Bucaramanga => "BUCARAMANGA",
CreateSessionRequestUseProxyGeolocationCity::Bucharest => "BUCHAREST",
CreateSessionRequestUseProxyGeolocationCity::Budapest => "BUDAPEST",
CreateSessionRequestUseProxyGeolocationCity::BuenosAires => "BUENOS_AIRES",
CreateSessionRequestUseProxyGeolocationCity::Buffalo => "BUFFALO",
CreateSessionRequestUseProxyGeolocationCity::BukGu => "BUK_GU",
CreateSessionRequestUseProxyGeolocationCity::Bukhara => "BUKHARA",
CreateSessionRequestUseProxyGeolocationCity::Burgas => "BURGAS",
CreateSessionRequestUseProxyGeolocationCity::Burnaby => "BURNABY",
CreateSessionRequestUseProxyGeolocationCity::Bursa => "BURSA",
CreateSessionRequestUseProxyGeolocationCity::Butuan => "BUTUAN",
CreateSessionRequestUseProxyGeolocationCity::Bydgoszcz => "BYDGOSZCZ",
CreateSessionRequestUseProxyGeolocationCity::CabanatuanCity => "CABANATUAN_CITY",
CreateSessionRequestUseProxyGeolocationCity::CaboFrio => "CABO_FRIO",
CreateSessionRequestUseProxyGeolocationCity::Cabuyao => "CABUYAO",
CreateSessionRequestUseProxyGeolocationCity::CachoeiroDeItapemirim => {
"CACHOEIRO_DE ITAPEMIRIM"
}
CreateSessionRequestUseProxyGeolocationCity::CagayanDeOro => "CAGAYAN_DE ORO",
CreateSessionRequestUseProxyGeolocationCity::Cagliari => "CAGLIARI",
CreateSessionRequestUseProxyGeolocationCity::Cairo => "CAIRO",
CreateSessionRequestUseProxyGeolocationCity::Calamba => "CALAMBA",
CreateSessionRequestUseProxyGeolocationCity::Calgary => "CALGARY",
CreateSessionRequestUseProxyGeolocationCity::CaloocanCity => "CALOOCAN_CITY",
CreateSessionRequestUseProxyGeolocationCity::Camacari => "CAMACARI",
CreateSessionRequestUseProxyGeolocationCity::Camaragibe => "CAMARAGIBE",
CreateSessionRequestUseProxyGeolocationCity::Campeche => "CAMPECHE",
CreateSessionRequestUseProxyGeolocationCity::CampinaGrande => "CAMPINA_GRANDE",
CreateSessionRequestUseProxyGeolocationCity::Campinas => "CAMPINAS",
CreateSessionRequestUseProxyGeolocationCity::CampoGrande => "CAMPO_GRANDE",
CreateSessionRequestUseProxyGeolocationCity::CampoLargo => "CAMPO_LARGO",
CreateSessionRequestUseProxyGeolocationCity::CamposDosGoytacazes => {
"CAMPOS_DOS GOYTACAZES"
}
CreateSessionRequestUseProxyGeolocationCity::CanTho => "CAN_THO",
CreateSessionRequestUseProxyGeolocationCity::Canoas => "CANOAS",
CreateSessionRequestUseProxyGeolocationCity::Canton => "CANTON",
CreateSessionRequestUseProxyGeolocationCity::CapeTown => "CAPE_TOWN",
CreateSessionRequestUseProxyGeolocationCity::Caracas => "CARACAS",
CreateSessionRequestUseProxyGeolocationCity::Caraguatatuba => "CARAGUATATUBA",
CreateSessionRequestUseProxyGeolocationCity::Carapicuiba => "CARAPICUIBA",
CreateSessionRequestUseProxyGeolocationCity::Cardiff => "CARDIFF",
CreateSessionRequestUseProxyGeolocationCity::Cariacica => "CARIACICA",
CreateSessionRequestUseProxyGeolocationCity::Carmona => "CARMONA",
CreateSessionRequestUseProxyGeolocationCity::Cartagena => "CARTAGENA",
CreateSessionRequestUseProxyGeolocationCity::Caruaru => "CARUARU",
CreateSessionRequestUseProxyGeolocationCity::Casablanca => "CASABLANCA",
CreateSessionRequestUseProxyGeolocationCity::Cascavel => "CASCAVEL",
CreateSessionRequestUseProxyGeolocationCity::Caseros => "CASEROS",
CreateSessionRequestUseProxyGeolocationCity::Castanhal => "CASTANHAL",
CreateSessionRequestUseProxyGeolocationCity::Castries => "CASTRIES",
CreateSessionRequestUseProxyGeolocationCity::Catalao => "CATALAO",
CreateSessionRequestUseProxyGeolocationCity::Catamarca => "CATAMARCA",
CreateSessionRequestUseProxyGeolocationCity::Catanduva => "CATANDUVA",
CreateSessionRequestUseProxyGeolocationCity::Catania => "CATANIA",
CreateSessionRequestUseProxyGeolocationCity::Caucaia => "CAUCAIA",
CreateSessionRequestUseProxyGeolocationCity::CaxiasDoSul => "CAXIAS_DO SUL",
CreateSessionRequestUseProxyGeolocationCity::CebuCity => "CEBU_CITY",
CreateSessionRequestUseProxyGeolocationCity::Central => "CENTRAL",
CreateSessionRequestUseProxyGeolocationCity::Centro => "CENTRO",
CreateSessionRequestUseProxyGeolocationCity::Centurion => "CENTURION",
CreateSessionRequestUseProxyGeolocationCity::Chaguanas => "CHAGUANAS",
CreateSessionRequestUseProxyGeolocationCity::Chandigarh => "CHANDIGARH",
CreateSessionRequestUseProxyGeolocationCity::Chandler => "CHANDLER",
CreateSessionRequestUseProxyGeolocationCity::ChangHua => "CHANG_HUA",
CreateSessionRequestUseProxyGeolocationCity::Chapeco => "CHAPECO",
CreateSessionRequestUseProxyGeolocationCity::Charleston => "CHARLESTON",
CreateSessionRequestUseProxyGeolocationCity::Charlotte => "CHARLOTTE",
CreateSessionRequestUseProxyGeolocationCity::Chelyabinsk => "CHELYABINSK",
CreateSessionRequestUseProxyGeolocationCity::Chennai => "CHENNAI",
CreateSessionRequestUseProxyGeolocationCity::Cherkasy => "CHERKASY",
CreateSessionRequestUseProxyGeolocationCity::Chernivtsi => "CHERNIVTSI",
CreateSessionRequestUseProxyGeolocationCity::Chia => "CHIA",
CreateSessionRequestUseProxyGeolocationCity::ChiangMai => "CHIANG_MAI",
CreateSessionRequestUseProxyGeolocationCity::Chiclayo => "CHICLAYO",
CreateSessionRequestUseProxyGeolocationCity::ChihuahuaCity => "CHIHUAHUA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Chimbote => "CHIMBOTE",
CreateSessionRequestUseProxyGeolocationCity::Chisinau => "CHISINAU",
CreateSessionRequestUseProxyGeolocationCity::Chittagong => "CHITTAGONG",
CreateSessionRequestUseProxyGeolocationCity::Christchurch => "CHRISTCHURCH",
CreateSessionRequestUseProxyGeolocationCity::Cincinnati => "CINCINNATI",
CreateSessionRequestUseProxyGeolocationCity::Cirebon => "CIREBON",
CreateSessionRequestUseProxyGeolocationCity::CityOfMuntinlupa => "CITY_OF MUNTINLUPA",
CreateSessionRequestUseProxyGeolocationCity::CiudadDelEste => "CIUDAD_DEL ESTE",
CreateSessionRequestUseProxyGeolocationCity::CiudadGuayana => "CIUDAD_GUAYANA",
CreateSessionRequestUseProxyGeolocationCity::CiudadJuarez => "CIUDAD_JUAREZ",
CreateSessionRequestUseProxyGeolocationCity::CiudadNezahualcoyotl => {
"CIUDAD_NEZAHUALCOYOTL"
}
CreateSessionRequestUseProxyGeolocationCity::CiudadObregon => "CIUDAD_OBREGON",
CreateSessionRequestUseProxyGeolocationCity::Cleveland => "CLEVELAND",
CreateSessionRequestUseProxyGeolocationCity::ClujNapoca => "CLUJ_NAPOCA",
CreateSessionRequestUseProxyGeolocationCity::Cochabamba => "COCHABAMBA",
CreateSessionRequestUseProxyGeolocationCity::Coimbatore => "COIMBATORE",
CreateSessionRequestUseProxyGeolocationCity::Coimbra => "COIMBRA",
CreateSessionRequestUseProxyGeolocationCity::Cologne => "COLOGNE",
CreateSessionRequestUseProxyGeolocationCity::Colombo => "COLOMBO",
CreateSessionRequestUseProxyGeolocationCity::ColoradoSprings => "COLORADO_SPRINGS",
CreateSessionRequestUseProxyGeolocationCity::Columbia => "COLUMBIA",
CreateSessionRequestUseProxyGeolocationCity::Columbus => "COLUMBUS",
CreateSessionRequestUseProxyGeolocationCity::ComodoroRivadavia => "COMODORO_RIVADAVIA",
CreateSessionRequestUseProxyGeolocationCity::Concepcion => "CONCEPCION",
CreateSessionRequestUseProxyGeolocationCity::Concord => "CONCORD",
CreateSessionRequestUseProxyGeolocationCity::Constanta => "CONSTANTA",
CreateSessionRequestUseProxyGeolocationCity::Constantine => "CONSTANTINE",
CreateSessionRequestUseProxyGeolocationCity::Contagem => "CONTAGEM",
CreateSessionRequestUseProxyGeolocationCity::Copenhagen => "COPENHAGEN",
CreateSessionRequestUseProxyGeolocationCity::Cordoba => "CORDOBA",
CreateSessionRequestUseProxyGeolocationCity::Corrientes => "CORRIENTES",
CreateSessionRequestUseProxyGeolocationCity::Corum => "CORUM",
CreateSessionRequestUseProxyGeolocationCity::Cotia => "COTIA",
CreateSessionRequestUseProxyGeolocationCity::Coventry => "COVENTRY",
CreateSessionRequestUseProxyGeolocationCity::Craiova => "CRAIOVA",
CreateSessionRequestUseProxyGeolocationCity::Criciuma => "CRICIUMA",
CreateSessionRequestUseProxyGeolocationCity::Croydon => "CROYDON",
CreateSessionRequestUseProxyGeolocationCity::CuautitlanIzcalli => "CUAUTITLAN_IZCALLI",
CreateSessionRequestUseProxyGeolocationCity::Cucuta => "CUCUTA",
CreateSessionRequestUseProxyGeolocationCity::Cuenca => "CUENCA",
CreateSessionRequestUseProxyGeolocationCity::Cuernavaca => "CUERNAVACA",
CreateSessionRequestUseProxyGeolocationCity::Cuiaba => "CUIABA",
CreateSessionRequestUseProxyGeolocationCity::Culiacan => "CULIACAN",
CreateSessionRequestUseProxyGeolocationCity::Curitiba => "CURITIBA",
CreateSessionRequestUseProxyGeolocationCity::Cusco => "CUSCO",
CreateSessionRequestUseProxyGeolocationCity::DaNang => "DA_NANG",
CreateSessionRequestUseProxyGeolocationCity::Dagupan => "DAGUPAN",
CreateSessionRequestUseProxyGeolocationCity::Dakar => "DAKAR",
CreateSessionRequestUseProxyGeolocationCity::Dallas => "DALLAS",
CreateSessionRequestUseProxyGeolocationCity::Damietta => "DAMIETTA",
CreateSessionRequestUseProxyGeolocationCity::Dammam => "DAMMAM",
CreateSessionRequestUseProxyGeolocationCity::DarEsSalaam => "DAR_ES SALAAM",
CreateSessionRequestUseProxyGeolocationCity::Dasmarinas => "DASMARINAS",
CreateSessionRequestUseProxyGeolocationCity::DavaoCity => "DAVAO_CITY",
CreateSessionRequestUseProxyGeolocationCity::Dayton => "DAYTON",
CreateSessionRequestUseProxyGeolocationCity::Debrecen => "DEBRECEN",
CreateSessionRequestUseProxyGeolocationCity::Decatur => "DECATUR",
CreateSessionRequestUseProxyGeolocationCity::Dehradun => "DEHRADUN",
CreateSessionRequestUseProxyGeolocationCity::Delhi => "DELHI",
CreateSessionRequestUseProxyGeolocationCity::Denizli => "DENIZLI",
CreateSessionRequestUseProxyGeolocationCity::Denpasar => "DENPASAR",
CreateSessionRequestUseProxyGeolocationCity::Denver => "DENVER",
CreateSessionRequestUseProxyGeolocationCity::Depok => "DEPOK",
CreateSessionRequestUseProxyGeolocationCity::Derby => "DERBY",
CreateSessionRequestUseProxyGeolocationCity::Detroit => "DETROIT",
CreateSessionRequestUseProxyGeolocationCity::Dhaka => "DHAKA",
CreateSessionRequestUseProxyGeolocationCity::Diadema => "DIADEMA",
CreateSessionRequestUseProxyGeolocationCity::Divinopolis => "DIVINOPOLIS",
CreateSessionRequestUseProxyGeolocationCity::Diyarbakir => "DIYARBAKIR",
CreateSessionRequestUseProxyGeolocationCity::Djelfa => "DJELFA",
CreateSessionRequestUseProxyGeolocationCity::Dnipro => "DNIPRO",
CreateSessionRequestUseProxyGeolocationCity::Doha => "DOHA",
CreateSessionRequestUseProxyGeolocationCity::Dortmund => "DORTMUND",
CreateSessionRequestUseProxyGeolocationCity::Dourados => "DOURADOS",
CreateSessionRequestUseProxyGeolocationCity::Dresden => "DRESDEN",
CreateSessionRequestUseProxyGeolocationCity::Dubai => "DUBAI",
CreateSessionRequestUseProxyGeolocationCity::Dublin => "DUBLIN",
CreateSessionRequestUseProxyGeolocationCity::Duezce => "DUEZCE",
CreateSessionRequestUseProxyGeolocationCity::Duisburg => "DUISBURG",
CreateSessionRequestUseProxyGeolocationCity::DuqueDeCaxias => "DUQUE_DE CAXIAS",
CreateSessionRequestUseProxyGeolocationCity::Durango => "DURANGO",
CreateSessionRequestUseProxyGeolocationCity::Durban => "DURBAN",
CreateSessionRequestUseProxyGeolocationCity::Dusseldorf => "DUSSELDORF",
CreateSessionRequestUseProxyGeolocationCity::Ecatepec => "ECATEPEC",
CreateSessionRequestUseProxyGeolocationCity::Edinburgh => "EDINBURGH",
CreateSessionRequestUseProxyGeolocationCity::Edirne => "EDIRNE",
CreateSessionRequestUseProxyGeolocationCity::Edmonton => "EDMONTON",
CreateSessionRequestUseProxyGeolocationCity::ElJadida => "EL_JADIDA",
CreateSessionRequestUseProxyGeolocationCity::ElPaso => "EL_PASO",
CreateSessionRequestUseProxyGeolocationCity::Elazig => "ELAZIG",
CreateSessionRequestUseProxyGeolocationCity::Embu => "EMBU",
CreateSessionRequestUseProxyGeolocationCity::Ensenada => "ENSENADA",
CreateSessionRequestUseProxyGeolocationCity::Erbil => "ERBIL",
CreateSessionRequestUseProxyGeolocationCity::Erzurum => "ERZURUM",
CreateSessionRequestUseProxyGeolocationCity::Eskisehir => "ESKISEHIR",
CreateSessionRequestUseProxyGeolocationCity::Espoo => "ESPOO",
CreateSessionRequestUseProxyGeolocationCity::Essen => "ESSEN",
CreateSessionRequestUseProxyGeolocationCity::Faisalabad => "FAISALABAD",
CreateSessionRequestUseProxyGeolocationCity::Fayetteville => "FAYETTEVILLE",
CreateSessionRequestUseProxyGeolocationCity::FazendaRioGrande => "FAZENDA_RIO GRANDE",
CreateSessionRequestUseProxyGeolocationCity::FeiraDeSantana => "FEIRA_DE SANTANA",
CreateSessionRequestUseProxyGeolocationCity::Fes => "FES",
CreateSessionRequestUseProxyGeolocationCity::Florence => "FLORENCE",
CreateSessionRequestUseProxyGeolocationCity::FlorencioVarela => "FLORENCIO_VARELA",
CreateSessionRequestUseProxyGeolocationCity::Florianopolis => "FLORIANOPOLIS",
CreateSessionRequestUseProxyGeolocationCity::Fontana => "FONTANA",
CreateSessionRequestUseProxyGeolocationCity::Formosa => "FORMOSA",
CreateSessionRequestUseProxyGeolocationCity::FortLauderdale => "FORT_LAUDERDALE",
CreateSessionRequestUseProxyGeolocationCity::FortWayne => "FORT_WAYNE",
CreateSessionRequestUseProxyGeolocationCity::FortWorth => "FORT_WORTH",
CreateSessionRequestUseProxyGeolocationCity::Fortaleza => "FORTALEZA",
CreateSessionRequestUseProxyGeolocationCity::FozDoIguacu => "FOZ_DO IGUACU",
CreateSessionRequestUseProxyGeolocationCity::Franca => "FRANCA",
CreateSessionRequestUseProxyGeolocationCity::FranciscoMorato => "FRANCISCO_MORATO",
CreateSessionRequestUseProxyGeolocationCity::FrancoDaRocha => "FRANCO_DA ROCHA",
CreateSessionRequestUseProxyGeolocationCity::FrankfurtAmMain => "FRANKFURT_AM MAIN",
CreateSessionRequestUseProxyGeolocationCity::Fredericksburg => "FREDERICKSBURG",
CreateSessionRequestUseProxyGeolocationCity::Fresno => "FRESNO",
CreateSessionRequestUseProxyGeolocationCity::Funchal => "FUNCHAL",
CreateSessionRequestUseProxyGeolocationCity::Gaborone => "GABORONE",
CreateSessionRequestUseProxyGeolocationCity::Gainesville => "GAINESVILLE",
CreateSessionRequestUseProxyGeolocationCity::Galati => "GALATI",
CreateSessionRequestUseProxyGeolocationCity::GangnamGu => "GANGNAM_GU",
CreateSessionRequestUseProxyGeolocationCity::Garanhuns => "GARANHUNS",
CreateSessionRequestUseProxyGeolocationCity::Gatineau => "GATINEAU",
CreateSessionRequestUseProxyGeolocationCity::Gaziantep => "GAZIANTEP",
CreateSessionRequestUseProxyGeolocationCity::Gdansk => "GDANSK",
CreateSessionRequestUseProxyGeolocationCity::Gdynia => "GDYNIA",
CreateSessionRequestUseProxyGeolocationCity::GeneralTrias => "GENERAL_TRIAS",
CreateSessionRequestUseProxyGeolocationCity::Geneva => "GENEVA",
CreateSessionRequestUseProxyGeolocationCity::Genoa => "GENOA",
CreateSessionRequestUseProxyGeolocationCity::GeorgeTown => "GEORGE_TOWN",
CreateSessionRequestUseProxyGeolocationCity::Georgetown => "GEORGETOWN",
CreateSessionRequestUseProxyGeolocationCity::Ghaziabad => "GHAZIABAD",
CreateSessionRequestUseProxyGeolocationCity::Ghent => "GHENT",
CreateSessionRequestUseProxyGeolocationCity::Gijon => "GIJON",
CreateSessionRequestUseProxyGeolocationCity::Giresun => "GIRESUN",
CreateSessionRequestUseProxyGeolocationCity::Giza => "GIZA",
CreateSessionRequestUseProxyGeolocationCity::Glasgow => "GLASGOW",
CreateSessionRequestUseProxyGeolocationCity::Glendale => "GLENDALE",
CreateSessionRequestUseProxyGeolocationCity::Gliwice => "GLIWICE",
CreateSessionRequestUseProxyGeolocationCity::Goiania => "GOIANIA",
CreateSessionRequestUseProxyGeolocationCity::Gomel => "GOMEL",
CreateSessionRequestUseProxyGeolocationCity::Gothenburg => "GOTHENBURG",
CreateSessionRequestUseProxyGeolocationCity::GovernadorValadares => {
"GOVERNADOR_VALADARES"
}
CreateSessionRequestUseProxyGeolocationCity::GoyangSi => "GOYANG_SI",
CreateSessionRequestUseProxyGeolocationCity::Granada => "GRANADA",
CreateSessionRequestUseProxyGeolocationCity::GrandRapids => "GRAND_RAPIDS",
CreateSessionRequestUseProxyGeolocationCity::Gravatai => "GRAVATAI",
CreateSessionRequestUseProxyGeolocationCity::Graz => "GRAZ",
CreateSessionRequestUseProxyGeolocationCity::Greensboro => "GREENSBORO",
CreateSessionRequestUseProxyGeolocationCity::Greenville => "GREENVILLE",
CreateSessionRequestUseProxyGeolocationCity::Guadalajara => "GUADALAJARA",
CreateSessionRequestUseProxyGeolocationCity::Guadalupe => "GUADALUPE",
CreateSessionRequestUseProxyGeolocationCity::Guangzhou => "GUANGZHOU",
CreateSessionRequestUseProxyGeolocationCity::Guarapuava => "GUARAPUAVA",
CreateSessionRequestUseProxyGeolocationCity::Guaratingueta => "GUARATINGUETA",
CreateSessionRequestUseProxyGeolocationCity::Guaruja => "GUARUJA",
CreateSessionRequestUseProxyGeolocationCity::Guarulhos => "GUARULHOS",
CreateSessionRequestUseProxyGeolocationCity::GuatemalaCity => "GUATEMALA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Guayaquil => "GUAYAQUIL",
CreateSessionRequestUseProxyGeolocationCity::Gujranwala => "GUJRANWALA",
CreateSessionRequestUseProxyGeolocationCity::Gurugram => "GURUGRAM",
CreateSessionRequestUseProxyGeolocationCity::GustavoAdolfoMadero => {
"GUSTAVO_ADOLFO MADERO"
}
CreateSessionRequestUseProxyGeolocationCity::Guwahati => "GUWAHATI",
CreateSessionRequestUseProxyGeolocationCity::GwanakGu => "GWANAK_GU",
CreateSessionRequestUseProxyGeolocationCity::Hackney => "HACKNEY",
CreateSessionRequestUseProxyGeolocationCity::Haifa => "HAIFA",
CreateSessionRequestUseProxyGeolocationCity::Haiphong => "HAIPHONG",
CreateSessionRequestUseProxyGeolocationCity::Hamburg => "HAMBURG",
CreateSessionRequestUseProxyGeolocationCity::Hamilton => "HAMILTON",
CreateSessionRequestUseProxyGeolocationCity::Hanoi => "HANOI",
CreateSessionRequestUseProxyGeolocationCity::Hanover => "HANOVER",
CreateSessionRequestUseProxyGeolocationCity::Harare => "HARARE",
CreateSessionRequestUseProxyGeolocationCity::Havana => "HAVANA",
CreateSessionRequestUseProxyGeolocationCity::Helsinki => "HELSINKI",
CreateSessionRequestUseProxyGeolocationCity::Henderson => "HENDERSON",
CreateSessionRequestUseProxyGeolocationCity::Heredia => "HEREDIA",
CreateSessionRequestUseProxyGeolocationCity::Hermosillo => "HERMOSILLO",
CreateSessionRequestUseProxyGeolocationCity::Hialeah => "HIALEAH",
CreateSessionRequestUseProxyGeolocationCity::HoChiMinhCity => "HO_CHI MINH CITY",
CreateSessionRequestUseProxyGeolocationCity::Hollywood => "HOLLYWOOD",
CreateSessionRequestUseProxyGeolocationCity::Holon => "HOLON",
CreateSessionRequestUseProxyGeolocationCity::Honolulu => "HONOLULU",
CreateSessionRequestUseProxyGeolocationCity::Hortolandia => "HORTOLANDIA",
CreateSessionRequestUseProxyGeolocationCity::Hrodna => "HRODNA",
CreateSessionRequestUseProxyGeolocationCity::Hsinchu => "HSINCHU",
CreateSessionRequestUseProxyGeolocationCity::Huancayo => "HUANCAYO",
CreateSessionRequestUseProxyGeolocationCity::Huanuco => "HUANUCO",
CreateSessionRequestUseProxyGeolocationCity::Hull => "HULL",
CreateSessionRequestUseProxyGeolocationCity::Hurlingham => "HURLINGHAM",
CreateSessionRequestUseProxyGeolocationCity::Hyderabad => "HYDERABAD",
CreateSessionRequestUseProxyGeolocationCity::Iasi => "IASI",
CreateSessionRequestUseProxyGeolocationCity::Ibague => "IBAGUE",
CreateSessionRequestUseProxyGeolocationCity::Ica => "ICA",
CreateSessionRequestUseProxyGeolocationCity::Ilam => "ILAM",
CreateSessionRequestUseProxyGeolocationCity::Ilford => "ILFORD",
CreateSessionRequestUseProxyGeolocationCity::Iligan => "ILIGAN",
CreateSessionRequestUseProxyGeolocationCity::IloiloCity => "ILOILO_CITY",
CreateSessionRequestUseProxyGeolocationCity::Imperatriz => "IMPERATRIZ",
CreateSessionRequestUseProxyGeolocationCity::Imus => "IMUS",
CreateSessionRequestUseProxyGeolocationCity::Incheon => "INCHEON",
CreateSessionRequestUseProxyGeolocationCity::Indaiatuba => "INDAIATUBA",
CreateSessionRequestUseProxyGeolocationCity::Indianapolis => "INDIANAPOLIS",
CreateSessionRequestUseProxyGeolocationCity::Indore => "INDORE",
CreateSessionRequestUseProxyGeolocationCity::Ipatinga => "IPATINGA",
CreateSessionRequestUseProxyGeolocationCity::Ipoh => "IPOH",
CreateSessionRequestUseProxyGeolocationCity::Iquique => "IQUIQUE",
CreateSessionRequestUseProxyGeolocationCity::Irvine => "IRVINE",
CreateSessionRequestUseProxyGeolocationCity::IsidroCasanova => "ISIDRO_CASANOVA",
CreateSessionRequestUseProxyGeolocationCity::Islamabad => "ISLAMABAD",
CreateSessionRequestUseProxyGeolocationCity::Islington => "ISLINGTON",
CreateSessionRequestUseProxyGeolocationCity::Ismailia => "ISMAILIA",
CreateSessionRequestUseProxyGeolocationCity::Isparta => "ISPARTA",
CreateSessionRequestUseProxyGeolocationCity::Istanbul => "ISTANBUL",
CreateSessionRequestUseProxyGeolocationCity::Itaborai => "ITABORAI",
CreateSessionRequestUseProxyGeolocationCity::Itabuna => "ITABUNA",
CreateSessionRequestUseProxyGeolocationCity::Itajai => "ITAJAI",
CreateSessionRequestUseProxyGeolocationCity::Itanhaem => "ITANHAEM",
CreateSessionRequestUseProxyGeolocationCity::Itapevi => "ITAPEVI",
CreateSessionRequestUseProxyGeolocationCity::Itaquaquecetuba => "ITAQUAQUECETUBA",
CreateSessionRequestUseProxyGeolocationCity::Ituzaingo => "ITUZAINGO",
CreateSessionRequestUseProxyGeolocationCity::Izmir => "IZMIR",
CreateSessionRequestUseProxyGeolocationCity::Iztapalapa => "IZTAPALAPA",
CreateSessionRequestUseProxyGeolocationCity::JaboataoDosGuararapes => {
"JABOATAO_DOS GUARARAPES"
}
CreateSessionRequestUseProxyGeolocationCity::Jacarei => "JACAREI",
CreateSessionRequestUseProxyGeolocationCity::Jackson => "JACKSON",
CreateSessionRequestUseProxyGeolocationCity::Jacksonville => "JACKSONVILLE",
CreateSessionRequestUseProxyGeolocationCity::Jaipur => "JAIPUR",
CreateSessionRequestUseProxyGeolocationCity::Jakarta => "JAKARTA",
CreateSessionRequestUseProxyGeolocationCity::JaraguaDoSul => "JARAGUA_DO SUL",
CreateSessionRequestUseProxyGeolocationCity::Jau => "JAU",
CreateSessionRequestUseProxyGeolocationCity::Jeddah => "JEDDAH",
CreateSessionRequestUseProxyGeolocationCity::Jember => "JEMBER",
CreateSessionRequestUseProxyGeolocationCity::Jerusalem => "JERUSALEM",
CreateSessionRequestUseProxyGeolocationCity::JoaoMonlevade => "JOAO_MONLEVADE",
CreateSessionRequestUseProxyGeolocationCity::JoaoPessoa => "JOAO_PESSOA",
CreateSessionRequestUseProxyGeolocationCity::Jodhpur => "JODHPUR",
CreateSessionRequestUseProxyGeolocationCity::Johannesburg => "JOHANNESBURG",
CreateSessionRequestUseProxyGeolocationCity::JohorBahru => "JOHOR_BAHRU",
CreateSessionRequestUseProxyGeolocationCity::Joinville => "JOINVILLE",
CreateSessionRequestUseProxyGeolocationCity::JoseCPaz => "JOSE_C PAZ",
CreateSessionRequestUseProxyGeolocationCity::JoseMariaEzeiza => "JOSE_MARIA EZEIZA",
CreateSessionRequestUseProxyGeolocationCity::Juarez => "JUAREZ",
CreateSessionRequestUseProxyGeolocationCity::JuazeiroDoNorte => "JUAZEIRO_DO NORTE",
CreateSessionRequestUseProxyGeolocationCity::JuizDeFora => "JUIZ_DE FORA",
CreateSessionRequestUseProxyGeolocationCity::Jundiai => "JUNDIAI",
CreateSessionRequestUseProxyGeolocationCity::Kahramanmaras => "KAHRAMANMARAS",
CreateSessionRequestUseProxyGeolocationCity::Kampala => "KAMPALA",
CreateSessionRequestUseProxyGeolocationCity::Kanpur => "KANPUR",
CreateSessionRequestUseProxyGeolocationCity::KansasCity => "KANSAS_CITY",
CreateSessionRequestUseProxyGeolocationCity::KaohsiungCity => "KAOHSIUNG_CITY",
CreateSessionRequestUseProxyGeolocationCity::Karabuk => "KARABUK",
CreateSessionRequestUseProxyGeolocationCity::Karachi => "KARACHI",
CreateSessionRequestUseProxyGeolocationCity::Karlsruhe => "KARLSRUHE",
CreateSessionRequestUseProxyGeolocationCity::Karnal => "KARNAL",
CreateSessionRequestUseProxyGeolocationCity::Kaski => "KASKI",
CreateSessionRequestUseProxyGeolocationCity::Kastamonu => "KASTAMONU",
CreateSessionRequestUseProxyGeolocationCity::Kathmandu => "KATHMANDU",
CreateSessionRequestUseProxyGeolocationCity::Katowice => "KATOWICE",
CreateSessionRequestUseProxyGeolocationCity::Katsina => "KATSINA",
CreateSessionRequestUseProxyGeolocationCity::Katy => "KATY",
CreateSessionRequestUseProxyGeolocationCity::Kaunas => "KAUNAS",
CreateSessionRequestUseProxyGeolocationCity::Kayseri => "KAYSERI",
CreateSessionRequestUseProxyGeolocationCity::Kazan => "KAZAN",
CreateSessionRequestUseProxyGeolocationCity::Kecskemet => "KECSKEMET",
CreateSessionRequestUseProxyGeolocationCity::Kediri => "KEDIRI",
CreateSessionRequestUseProxyGeolocationCity::Kenitra => "KENITRA",
CreateSessionRequestUseProxyGeolocationCity::Kharkiv => "KHARKIV",
CreateSessionRequestUseProxyGeolocationCity::Khmelnytskyi => "KHMELNYTSKYI",
CreateSessionRequestUseProxyGeolocationCity::KhonKaen => "KHON_KAEN",
CreateSessionRequestUseProxyGeolocationCity::Kielce => "KIELCE",
CreateSessionRequestUseProxyGeolocationCity::Kigali => "KIGALI",
CreateSessionRequestUseProxyGeolocationCity::Kingston => "KINGSTON",
CreateSessionRequestUseProxyGeolocationCity::Kirklareli => "KIRKLARELI",
CreateSessionRequestUseProxyGeolocationCity::Kissimmee => "KISSIMMEE",
CreateSessionRequestUseProxyGeolocationCity::Kitchener => "KITCHENER",
CreateSessionRequestUseProxyGeolocationCity::Klaipeda => "KLAIPEDA",
CreateSessionRequestUseProxyGeolocationCity::Knoxville => "KNOXVILLE",
CreateSessionRequestUseProxyGeolocationCity::Kochi => "KOCHI",
CreateSessionRequestUseProxyGeolocationCity::Kolkata => "KOLKATA",
CreateSessionRequestUseProxyGeolocationCity::Kollam => "KOLLAM",
CreateSessionRequestUseProxyGeolocationCity::Konya => "KONYA",
CreateSessionRequestUseProxyGeolocationCity::Kosekoy => "KOSEKOY",
CreateSessionRequestUseProxyGeolocationCity::Kosice => "KOSICE",
CreateSessionRequestUseProxyGeolocationCity::KotaKinabalu => "KOTA_KINABALU",
CreateSessionRequestUseProxyGeolocationCity::Kozhikode => "KOZHIKODE",
CreateSessionRequestUseProxyGeolocationCity::Krakow => "KRAKOW",
CreateSessionRequestUseProxyGeolocationCity::Krasnodar => "KRASNODAR",
CreateSessionRequestUseProxyGeolocationCity::KryvyiRih => "KRYVYI_RIH",
CreateSessionRequestUseProxyGeolocationCity::KualaLumpur => "KUALA_LUMPUR",
CreateSessionRequestUseProxyGeolocationCity::Kuching => "KUCHING",
CreateSessionRequestUseProxyGeolocationCity::Kutahya => "KUTAHYA",
CreateSessionRequestUseProxyGeolocationCity::Kutaisi => "KUTAISI",
CreateSessionRequestUseProxyGeolocationCity::KuwaitCity => "KUWAIT_CITY",
CreateSessionRequestUseProxyGeolocationCity::Kyiv => "KYIV",
CreateSessionRequestUseProxyGeolocationCity::LaPaz => "LA_PAZ",
CreateSessionRequestUseProxyGeolocationCity::LaPlata => "LA_PLATA",
CreateSessionRequestUseProxyGeolocationCity::LaRioja => "LA_RIOJA",
CreateSessionRequestUseProxyGeolocationCity::LaSerena => "LA_SERENA",
CreateSessionRequestUseProxyGeolocationCity::Lafayette => "LAFAYETTE",
CreateSessionRequestUseProxyGeolocationCity::Laferrere => "LAFERRERE",
CreateSessionRequestUseProxyGeolocationCity::Lages => "LAGES",
CreateSessionRequestUseProxyGeolocationCity::Lagos => "LAGOS",
CreateSessionRequestUseProxyGeolocationCity::Lahore => "LAHORE",
CreateSessionRequestUseProxyGeolocationCity::Lahug => "LAHUG",
CreateSessionRequestUseProxyGeolocationCity::LakeWorth => "LAKE_WORTH",
CreateSessionRequestUseProxyGeolocationCity::Lakeland => "LAKELAND",
CreateSessionRequestUseProxyGeolocationCity::Lancaster => "LANCASTER",
CreateSessionRequestUseProxyGeolocationCity::Lanus => "LANUS",
CreateSessionRequestUseProxyGeolocationCity::LasPalmasDeGranCanaria => {
"LAS_PALMAS DE GRAN CANARIA"
}
CreateSessionRequestUseProxyGeolocationCity::LasPinas => "LAS_PINAS",
CreateSessionRequestUseProxyGeolocationCity::LasVegas => "LAS_VEGAS",
CreateSessionRequestUseProxyGeolocationCity::Lausanne => "LAUSANNE",
CreateSessionRequestUseProxyGeolocationCity::Laval => "LAVAL",
CreateSessionRequestUseProxyGeolocationCity::Lawrenceville => "LAWRENCEVILLE",
CreateSessionRequestUseProxyGeolocationCity::LeMans => "LE_MANS",
CreateSessionRequestUseProxyGeolocationCity::Leeds => "LEEDS",
CreateSessionRequestUseProxyGeolocationCity::Leicester => "LEICESTER",
CreateSessionRequestUseProxyGeolocationCity::Leipzig => "LEIPZIG",
CreateSessionRequestUseProxyGeolocationCity::Leon => "LEON",
CreateSessionRequestUseProxyGeolocationCity::Lexington => "LEXINGTON",
CreateSessionRequestUseProxyGeolocationCity::Libreville => "LIBREVILLE",
CreateSessionRequestUseProxyGeolocationCity::Liege => "LIEGE",
CreateSessionRequestUseProxyGeolocationCity::Lille => "LILLE",
CreateSessionRequestUseProxyGeolocationCity::Lima => "LIMA",
CreateSessionRequestUseProxyGeolocationCity::Limassol => "LIMASSOL",
CreateSessionRequestUseProxyGeolocationCity::Limeira => "LIMEIRA",
CreateSessionRequestUseProxyGeolocationCity::Lincoln => "LINCOLN",
CreateSessionRequestUseProxyGeolocationCity::Linhares => "LINHARES",
CreateSessionRequestUseProxyGeolocationCity::LipaCity => "LIPA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Lisbon => "LISBON",
CreateSessionRequestUseProxyGeolocationCity::Liverpool => "LIVERPOOL",
CreateSessionRequestUseProxyGeolocationCity::Ljubljana => "LJUBLJANA",
CreateSessionRequestUseProxyGeolocationCity::Lodz => "LODZ",
CreateSessionRequestUseProxyGeolocationCity::Loja => "LOJA",
CreateSessionRequestUseProxyGeolocationCity::LomasDeZamora => "LOMAS_DE ZAMORA",
CreateSessionRequestUseProxyGeolocationCity::Lome => "LOME",
CreateSessionRequestUseProxyGeolocationCity::Londrina => "LONDRINA",
CreateSessionRequestUseProxyGeolocationCity::LongBeach => "LONG_BEACH",
CreateSessionRequestUseProxyGeolocationCity::Longueuil => "LONGUEUIL",
CreateSessionRequestUseProxyGeolocationCity::Louisville => "LOUISVILLE",
CreateSessionRequestUseProxyGeolocationCity::Luanda => "LUANDA",
CreateSessionRequestUseProxyGeolocationCity::Lublin => "LUBLIN",
CreateSessionRequestUseProxyGeolocationCity::LucenaCity => "LUCENA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Lucknow => "LUCKNOW",
CreateSessionRequestUseProxyGeolocationCity::Ludhiana => "LUDHIANA",
CreateSessionRequestUseProxyGeolocationCity::Lusaka => "LUSAKA",
CreateSessionRequestUseProxyGeolocationCity::Luxembourg => "LUXEMBOURG",
CreateSessionRequestUseProxyGeolocationCity::Luziania => "LUZIANIA",
CreateSessionRequestUseProxyGeolocationCity::Lviv => "LVIV",
CreateSessionRequestUseProxyGeolocationCity::Lyon => "LYON",
CreateSessionRequestUseProxyGeolocationCity::Mabalacat => "MABALACAT",
CreateSessionRequestUseProxyGeolocationCity::Macae => "MACAE",
CreateSessionRequestUseProxyGeolocationCity::Macao => "MACAO",
CreateSessionRequestUseProxyGeolocationCity::Macapa => "MACAPA",
CreateSessionRequestUseProxyGeolocationCity::Maceio => "MACEIO",
CreateSessionRequestUseProxyGeolocationCity::Machala => "MACHALA",
CreateSessionRequestUseProxyGeolocationCity::Madison => "MADISON",
CreateSessionRequestUseProxyGeolocationCity::Madrid => "MADRID",
CreateSessionRequestUseProxyGeolocationCity::Mage => "MAGE",
CreateSessionRequestUseProxyGeolocationCity::Magelang => "MAGELANG",
CreateSessionRequestUseProxyGeolocationCity::MagnesiaAdSipylum => "MAGNESIA_AD SIPYLUM",
CreateSessionRequestUseProxyGeolocationCity::Makassar => "MAKASSAR",
CreateSessionRequestUseProxyGeolocationCity::MakatiCity => "MAKATI_CITY",
CreateSessionRequestUseProxyGeolocationCity::Malabon => "MALABON",
CreateSessionRequestUseProxyGeolocationCity::Malaga => "MALAGA",
CreateSessionRequestUseProxyGeolocationCity::Malang => "MALANG",
CreateSessionRequestUseProxyGeolocationCity::Malappuram => "MALAPPURAM",
CreateSessionRequestUseProxyGeolocationCity::Maldonado => "MALDONADO",
CreateSessionRequestUseProxyGeolocationCity::Male => "MALE",
CreateSessionRequestUseProxyGeolocationCity::Malmo => "MALMO",
CreateSessionRequestUseProxyGeolocationCity::Manado => "MANADO",
CreateSessionRequestUseProxyGeolocationCity::Managua => "MANAGUA",
CreateSessionRequestUseProxyGeolocationCity::Manama => "MANAMA",
CreateSessionRequestUseProxyGeolocationCity::Manaus => "MANAUS",
CreateSessionRequestUseProxyGeolocationCity::Manchester => "MANCHESTER",
CreateSessionRequestUseProxyGeolocationCity::MandaluyongCity => "MANDALUYONG_CITY",
CreateSessionRequestUseProxyGeolocationCity::Manila => "MANILA",
CreateSessionRequestUseProxyGeolocationCity::Manizales => "MANIZALES",
CreateSessionRequestUseProxyGeolocationCity::Mannheim => "MANNHEIM",
CreateSessionRequestUseProxyGeolocationCity::Maputo => "MAPUTO",
CreateSessionRequestUseProxyGeolocationCity::MarDelPlata => "MAR_DEL PLATA",
CreateSessionRequestUseProxyGeolocationCity::Maraba => "MARABA",
CreateSessionRequestUseProxyGeolocationCity::Maracaibo => "MARACAIBO",
CreateSessionRequestUseProxyGeolocationCity::Maracanau => "MARACANAU",
CreateSessionRequestUseProxyGeolocationCity::Maracay => "MARACAY",
CreateSessionRequestUseProxyGeolocationCity::Mardin => "MARDIN",
CreateSessionRequestUseProxyGeolocationCity::Maribor => "MARIBOR",
CreateSessionRequestUseProxyGeolocationCity::Marica => "MARICA",
CreateSessionRequestUseProxyGeolocationCity::Marietta => "MARIETTA",
CreateSessionRequestUseProxyGeolocationCity::MarikinaCity => "MARIKINA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Marilia => "MARILIA",
CreateSessionRequestUseProxyGeolocationCity::Maringa => "MARINGA",
CreateSessionRequestUseProxyGeolocationCity::Marrakesh => "MARRAKESH",
CreateSessionRequestUseProxyGeolocationCity::Marseille => "MARSEILLE",
CreateSessionRequestUseProxyGeolocationCity::Maua => "MAUA",
CreateSessionRequestUseProxyGeolocationCity::Mazatlan => "MAZATLAN",
CreateSessionRequestUseProxyGeolocationCity::Medan => "MEDAN",
CreateSessionRequestUseProxyGeolocationCity::Medellin => "MEDELLIN",
CreateSessionRequestUseProxyGeolocationCity::Medina => "MEDINA",
CreateSessionRequestUseProxyGeolocationCity::Meerut => "MEERUT",
CreateSessionRequestUseProxyGeolocationCity::Meknes => "MEKNES",
CreateSessionRequestUseProxyGeolocationCity::Melbourne => "MELBOURNE",
CreateSessionRequestUseProxyGeolocationCity::Memphis => "MEMPHIS",
CreateSessionRequestUseProxyGeolocationCity::Mendoza => "MENDOZA",
CreateSessionRequestUseProxyGeolocationCity::Merida => "MERIDA",
CreateSessionRequestUseProxyGeolocationCity::Merkez => "MERKEZ",
CreateSessionRequestUseProxyGeolocationCity::Merlo => "MERLO",
CreateSessionRequestUseProxyGeolocationCity::Mersin => "MERSIN",
CreateSessionRequestUseProxyGeolocationCity::Mesa => "MESA",
CreateSessionRequestUseProxyGeolocationCity::Mexicali => "MEXICALI",
CreateSessionRequestUseProxyGeolocationCity::MexicoCity => "MEXICO_CITY",
CreateSessionRequestUseProxyGeolocationCity::Milan => "MILAN",
CreateSessionRequestUseProxyGeolocationCity::MiltonKeynes => "MILTON_KEYNES",
CreateSessionRequestUseProxyGeolocationCity::Milwaukee => "MILWAUKEE",
CreateSessionRequestUseProxyGeolocationCity::Minneapolis => "MINNEAPOLIS",
CreateSessionRequestUseProxyGeolocationCity::Minsk => "MINSK",
CreateSessionRequestUseProxyGeolocationCity::Miskolc => "MISKOLC",
CreateSessionRequestUseProxyGeolocationCity::Mississauga => "MISSISSAUGA",
CreateSessionRequestUseProxyGeolocationCity::MogiDasCruzes => "MOGI_DAS CRUZES",
CreateSessionRequestUseProxyGeolocationCity::Mohali => "MOHALI",
CreateSessionRequestUseProxyGeolocationCity::Monroe => "MONROE",
CreateSessionRequestUseProxyGeolocationCity::MonteGrande => "MONTE_GRANDE",
CreateSessionRequestUseProxyGeolocationCity::MontegoBay => "MONTEGO_BAY",
CreateSessionRequestUseProxyGeolocationCity::Monterrey => "MONTERREY",
CreateSessionRequestUseProxyGeolocationCity::MontesClaros => "MONTES_CLAROS",
CreateSessionRequestUseProxyGeolocationCity::Montevideo => "MONTEVIDEO",
CreateSessionRequestUseProxyGeolocationCity::Montgomery => "MONTGOMERY",
CreateSessionRequestUseProxyGeolocationCity::Montpellier => "MONTPELLIER",
CreateSessionRequestUseProxyGeolocationCity::Montreal => "MONTREAL",
CreateSessionRequestUseProxyGeolocationCity::Morelia => "MORELIA",
CreateSessionRequestUseProxyGeolocationCity::Moreno => "MORENO",
CreateSessionRequestUseProxyGeolocationCity::Moron => "MORON",
CreateSessionRequestUseProxyGeolocationCity::Mossoro => "MOSSORO",
CreateSessionRequestUseProxyGeolocationCity::Mugla => "MUGLA",
CreateSessionRequestUseProxyGeolocationCity::Multan => "MULTAN",
CreateSessionRequestUseProxyGeolocationCity::Mumbai => "MUMBAI",
CreateSessionRequestUseProxyGeolocationCity::Munich => "MUNICH",
CreateSessionRequestUseProxyGeolocationCity::Murcia => "MURCIA",
CreateSessionRequestUseProxyGeolocationCity::Muscat => "MUSCAT",
CreateSessionRequestUseProxyGeolocationCity::Muzaffargarh => "MUZAFFARGARH",
CreateSessionRequestUseProxyGeolocationCity::Mykolayiv => "MYKOLAYIV",
CreateSessionRequestUseProxyGeolocationCity::Naaldwijk => "NAALDWIJK",
CreateSessionRequestUseProxyGeolocationCity::Naga => "NAGA",
CreateSessionRequestUseProxyGeolocationCity::Nagpur => "NAGPUR",
CreateSessionRequestUseProxyGeolocationCity::Nairobi => "NAIROBI",
CreateSessionRequestUseProxyGeolocationCity::Nantes => "NANTES",
CreateSessionRequestUseProxyGeolocationCity::Naples => "NAPLES",
CreateSessionRequestUseProxyGeolocationCity::Nashville => "NASHVILLE",
CreateSessionRequestUseProxyGeolocationCity::Nassau => "NASSAU",
CreateSessionRequestUseProxyGeolocationCity::Nasugbu => "NASUGBU",
CreateSessionRequestUseProxyGeolocationCity::Natal => "NATAL",
CreateSessionRequestUseProxyGeolocationCity::Naucalpan => "NAUCALPAN",
CreateSessionRequestUseProxyGeolocationCity::NaviMumbai => "NAVI_MUMBAI",
CreateSessionRequestUseProxyGeolocationCity::Neiva => "NEIVA",
CreateSessionRequestUseProxyGeolocationCity::Neuquen => "NEUQUEN",
CreateSessionRequestUseProxyGeolocationCity::Nevsehir => "NEVSEHIR",
CreateSessionRequestUseProxyGeolocationCity::NewDelhi => "NEW_DELHI",
CreateSessionRequestUseProxyGeolocationCity::NewOrleans => "NEW_ORLEANS",
CreateSessionRequestUseProxyGeolocationCity::NewTaipei => "NEW_TAIPEI",
CreateSessionRequestUseProxyGeolocationCity::Newark => "NEWARK",
CreateSessionRequestUseProxyGeolocationCity::NewcastleUponTyne => "NEWCASTLE_UPON TYNE",
CreateSessionRequestUseProxyGeolocationCity::NhaTrang => "NHA_TRANG",
CreateSessionRequestUseProxyGeolocationCity::Nice => "NICE",
CreateSessionRequestUseProxyGeolocationCity::Nicosia => "NICOSIA",
CreateSessionRequestUseProxyGeolocationCity::Nilopolis => "NILOPOLIS",
CreateSessionRequestUseProxyGeolocationCity::Nis => "NIS",
CreateSessionRequestUseProxyGeolocationCity::Niteroi => "NITEROI",
CreateSessionRequestUseProxyGeolocationCity::Nitra => "NITRA",
CreateSessionRequestUseProxyGeolocationCity::NizhniyNovgorod => "NIZHNIY_NOVGOROD",
CreateSessionRequestUseProxyGeolocationCity::Nogales => "NOGALES",
CreateSessionRequestUseProxyGeolocationCity::Noida => "NOIDA",
CreateSessionRequestUseProxyGeolocationCity::Northampton => "NORTHAMPTON",
CreateSessionRequestUseProxyGeolocationCity::Norwich => "NORWICH",
CreateSessionRequestUseProxyGeolocationCity::Nottingham => "NOTTINGHAM",
CreateSessionRequestUseProxyGeolocationCity::NovaFriburgo => "NOVA_FRIBURGO",
CreateSessionRequestUseProxyGeolocationCity::NovaIguacu => "NOVA_IGUACU",
CreateSessionRequestUseProxyGeolocationCity::NoviSad => "NOVI_SAD",
CreateSessionRequestUseProxyGeolocationCity::NovoHamburgo => "NOVO_HAMBURGO",
CreateSessionRequestUseProxyGeolocationCity::Novosibirsk => "NOVOSIBIRSK",
CreateSessionRequestUseProxyGeolocationCity::Nuremberg => "NUREMBERG",
CreateSessionRequestUseProxyGeolocationCity::Oakland => "OAKLAND",
CreateSessionRequestUseProxyGeolocationCity::OaxacaCity => "OAXACA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Odesa => "ODESA",
CreateSessionRequestUseProxyGeolocationCity::OklahomaCity => "OKLAHOMA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Olinda => "OLINDA",
CreateSessionRequestUseProxyGeolocationCity::Olomouc => "OLOMOUC",
CreateSessionRequestUseProxyGeolocationCity::OlongapoCity => "OLONGAPO_CITY",
CreateSessionRequestUseProxyGeolocationCity::Olsztyn => "OLSZTYN",
CreateSessionRequestUseProxyGeolocationCity::Omaha => "OMAHA",
CreateSessionRequestUseProxyGeolocationCity::Oradea => "ORADEA",
CreateSessionRequestUseProxyGeolocationCity::Oran => "ORAN",
CreateSessionRequestUseProxyGeolocationCity::Ordu => "ORDU",
CreateSessionRequestUseProxyGeolocationCity::Orlando => "ORLANDO",
CreateSessionRequestUseProxyGeolocationCity::Osasco => "OSASCO",
CreateSessionRequestUseProxyGeolocationCity::Oslo => "OSLO",
CreateSessionRequestUseProxyGeolocationCity::Osmaniye => "OSMANIYE",
CreateSessionRequestUseProxyGeolocationCity::Ostrava => "OSTRAVA",
CreateSessionRequestUseProxyGeolocationCity::Ottawa => "OTTAWA",
CreateSessionRequestUseProxyGeolocationCity::Oujda => "OUJDA",
CreateSessionRequestUseProxyGeolocationCity::Ourinhos => "OURINHOS",
CreateSessionRequestUseProxyGeolocationCity::Pachuca => "PACHUCA",
CreateSessionRequestUseProxyGeolocationCity::Padova => "PADOVA",
CreateSessionRequestUseProxyGeolocationCity::Palakkad => "PALAKKAD",
CreateSessionRequestUseProxyGeolocationCity::Palembang => "PALEMBANG",
CreateSessionRequestUseProxyGeolocationCity::Palermo => "PALERMO",
CreateSessionRequestUseProxyGeolocationCity::Palhoca => "PALHOCA",
CreateSessionRequestUseProxyGeolocationCity::Palma => "PALMA",
CreateSessionRequestUseProxyGeolocationCity::Palmas => "PALMAS",
CreateSessionRequestUseProxyGeolocationCity::PanamaCity => "PANAMA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Paramaribo => "PARAMARIBO",
CreateSessionRequestUseProxyGeolocationCity::Parana => "PARANA",
CreateSessionRequestUseProxyGeolocationCity::Paranagua => "PARANAGUA",
CreateSessionRequestUseProxyGeolocationCity::ParanaqueCity => "PARANAQUE_CITY",
CreateSessionRequestUseProxyGeolocationCity::Parauapebas => "PARAUAPEBAS",
CreateSessionRequestUseProxyGeolocationCity::Paris => "PARIS",
CreateSessionRequestUseProxyGeolocationCity::Parnaiba => "PARNAIBA",
CreateSessionRequestUseProxyGeolocationCity::Parnamirim => "PARNAMIRIM",
CreateSessionRequestUseProxyGeolocationCity::PassoFundo => "PASSO_FUNDO",
CreateSessionRequestUseProxyGeolocationCity::Pasto => "PASTO",
CreateSessionRequestUseProxyGeolocationCity::Patan => "PATAN",
CreateSessionRequestUseProxyGeolocationCity::Patna => "PATNA",
CreateSessionRequestUseProxyGeolocationCity::PatosDeMinas => "PATOS_DE MINAS",
CreateSessionRequestUseProxyGeolocationCity::Paulista => "PAULISTA",
CreateSessionRequestUseProxyGeolocationCity::Pecs => "PECS",
CreateSessionRequestUseProxyGeolocationCity::Pekanbaru => "PEKANBARU",
CreateSessionRequestUseProxyGeolocationCity::Pelotas => "PELOTAS",
CreateSessionRequestUseProxyGeolocationCity::Peoria => "PEORIA",
CreateSessionRequestUseProxyGeolocationCity::Pereira => "PEREIRA",
CreateSessionRequestUseProxyGeolocationCity::Perm => "PERM",
CreateSessionRequestUseProxyGeolocationCity::Perth => "PERTH",
CreateSessionRequestUseProxyGeolocationCity::Pescara => "PESCARA",
CreateSessionRequestUseProxyGeolocationCity::Peshawar => "PESHAWAR",
CreateSessionRequestUseProxyGeolocationCity::PetahTikva => "PETAH_TIKVA",
CreateSessionRequestUseProxyGeolocationCity::PetalingJaya => "PETALING_JAYA",
CreateSessionRequestUseProxyGeolocationCity::Petrolina => "PETROLINA",
CreateSessionRequestUseProxyGeolocationCity::Petropolis => "PETROPOLIS",
CreateSessionRequestUseProxyGeolocationCity::Philadelphia => "PHILADELPHIA",
CreateSessionRequestUseProxyGeolocationCity::PhnomPenh => "PHNOM_PENH",
CreateSessionRequestUseProxyGeolocationCity::Phoenix => "PHOENIX",
CreateSessionRequestUseProxyGeolocationCity::Pilar => "PILAR",
CreateSessionRequestUseProxyGeolocationCity::Pindamonhangaba => "PINDAMONHANGABA",
CreateSessionRequestUseProxyGeolocationCity::Piracicaba => "PIRACICABA",
CreateSessionRequestUseProxyGeolocationCity::Pitesti => "PITESTI",
CreateSessionRequestUseProxyGeolocationCity::Pittsburgh => "PITTSBURGH",
CreateSessionRequestUseProxyGeolocationCity::Piura => "PIURA",
CreateSessionRequestUseProxyGeolocationCity::Plano => "PLANO",
CreateSessionRequestUseProxyGeolocationCity::Ploiesti => "PLOIESTI",
CreateSessionRequestUseProxyGeolocationCity::Plovdiv => "PLOVDIV",
CreateSessionRequestUseProxyGeolocationCity::Plymouth => "PLYMOUTH",
CreateSessionRequestUseProxyGeolocationCity::PocosDeCaldas => "POCOS_DE CALDAS",
CreateSessionRequestUseProxyGeolocationCity::Podgorica => "PODGORICA",
CreateSessionRequestUseProxyGeolocationCity::Poltava => "POLTAVA",
CreateSessionRequestUseProxyGeolocationCity::PontaGrossa => "PONTA_GROSSA",
CreateSessionRequestUseProxyGeolocationCity::Pontianak => "PONTIANAK",
CreateSessionRequestUseProxyGeolocationCity::Popayan => "POPAYAN",
CreateSessionRequestUseProxyGeolocationCity::PortAuPrince => "PORT_AU PRINCE",
CreateSessionRequestUseProxyGeolocationCity::PortElizabeth => "PORT_ELIZABETH",
CreateSessionRequestUseProxyGeolocationCity::PortHarcourt => "PORT_HARCOURT",
CreateSessionRequestUseProxyGeolocationCity::PortLouis => "PORT_LOUIS",
CreateSessionRequestUseProxyGeolocationCity::PortMontt => "PORT_MONTT",
CreateSessionRequestUseProxyGeolocationCity::PortOfSpain => "PORT_OF SPAIN",
CreateSessionRequestUseProxyGeolocationCity::PortSaid => "PORT_SAID",
CreateSessionRequestUseProxyGeolocationCity::Portland => "PORTLAND",
CreateSessionRequestUseProxyGeolocationCity::Porto => "PORTO",
CreateSessionRequestUseProxyGeolocationCity::PortoAlegre => "PORTO_ALEGRE",
CreateSessionRequestUseProxyGeolocationCity::PortoSeguro => "PORTO_SEGURO",
CreateSessionRequestUseProxyGeolocationCity::PortoVelho => "PORTO_VELHO",
CreateSessionRequestUseProxyGeolocationCity::Portoviejo => "PORTOVIEJO",
CreateSessionRequestUseProxyGeolocationCity::Posadas => "POSADAS",
CreateSessionRequestUseProxyGeolocationCity::PousoAlegre => "POUSO_ALEGRE",
CreateSessionRequestUseProxyGeolocationCity::Poznan => "POZNAN",
CreateSessionRequestUseProxyGeolocationCity::Prague => "PRAGUE",
CreateSessionRequestUseProxyGeolocationCity::PraiaGrande => "PRAIA_GRANDE",
CreateSessionRequestUseProxyGeolocationCity::PresidentePrudente => {
"PRESIDENTE_PRUDENTE"
}
CreateSessionRequestUseProxyGeolocationCity::Pretoria => "PRETORIA",
CreateSessionRequestUseProxyGeolocationCity::Pristina => "PRISTINA",
CreateSessionRequestUseProxyGeolocationCity::Providence => "PROVIDENCE",
CreateSessionRequestUseProxyGeolocationCity::Pucallpa => "PUCALLPA",
CreateSessionRequestUseProxyGeolocationCity::PuchongBatuDuaBelas => {
"PUCHONG_BATU DUA BELAS"
}
CreateSessionRequestUseProxyGeolocationCity::PueblaCity => "PUEBLA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Pune => "PUNE",
CreateSessionRequestUseProxyGeolocationCity::Quebec => "QUEBEC",
CreateSessionRequestUseProxyGeolocationCity::Queens => "QUEENS",
CreateSessionRequestUseProxyGeolocationCity::Queimados => "QUEIMADOS",
CreateSessionRequestUseProxyGeolocationCity::QueretaroCity => "QUERETARO_CITY",
CreateSessionRequestUseProxyGeolocationCity::QuezonCity => "QUEZON_CITY",
CreateSessionRequestUseProxyGeolocationCity::Quilmes => "QUILMES",
CreateSessionRequestUseProxyGeolocationCity::Quito => "QUITO",
CreateSessionRequestUseProxyGeolocationCity::Rabat => "RABAT",
CreateSessionRequestUseProxyGeolocationCity::Raipur => "RAIPUR",
CreateSessionRequestUseProxyGeolocationCity::Rajkot => "RAJKOT",
CreateSessionRequestUseProxyGeolocationCity::Rajshahi => "RAJSHAHI",
CreateSessionRequestUseProxyGeolocationCity::Raleigh => "RALEIGH",
CreateSessionRequestUseProxyGeolocationCity::RamatGan => "RAMAT_GAN",
CreateSessionRequestUseProxyGeolocationCity::Rancagua => "RANCAGUA",
CreateSessionRequestUseProxyGeolocationCity::Ranchi => "RANCHI",
CreateSessionRequestUseProxyGeolocationCity::RasAlKhaimah => "RAS_AL KHAIMAH",
CreateSessionRequestUseProxyGeolocationCity::Rawalpindi => "RAWALPINDI",
CreateSessionRequestUseProxyGeolocationCity::Reading => "READING",
CreateSessionRequestUseProxyGeolocationCity::Recife => "RECIFE",
CreateSessionRequestUseProxyGeolocationCity::Regina => "REGINA",
CreateSessionRequestUseProxyGeolocationCity::Rennes => "RENNES",
CreateSessionRequestUseProxyGeolocationCity::Reno => "RENO",
CreateSessionRequestUseProxyGeolocationCity::Resistencia => "RESISTENCIA",
CreateSessionRequestUseProxyGeolocationCity::Reykjavik => "REYKJAVIK",
CreateSessionRequestUseProxyGeolocationCity::Reynosa => "REYNOSA",
CreateSessionRequestUseProxyGeolocationCity::RibeiraoDasNeves => "RIBEIRAO_DAS NEVES",
CreateSessionRequestUseProxyGeolocationCity::RibeiraoPreto => "RIBEIRAO_PRETO",
CreateSessionRequestUseProxyGeolocationCity::Richmond => "RICHMOND",
CreateSessionRequestUseProxyGeolocationCity::Riga => "RIGA",
CreateSessionRequestUseProxyGeolocationCity::RioBranco => "RIO_BRANCO",
CreateSessionRequestUseProxyGeolocationCity::RioClaro => "RIO_CLARO",
CreateSessionRequestUseProxyGeolocationCity::RioCuarto => "RIO_CUARTO",
CreateSessionRequestUseProxyGeolocationCity::RioDeJaneiro => "RIO_DE JANEIRO",
CreateSessionRequestUseProxyGeolocationCity::RioDoSul => "RIO_DO SUL",
CreateSessionRequestUseProxyGeolocationCity::RioGallegos => "RIO_GALLEGOS",
CreateSessionRequestUseProxyGeolocationCity::RioGrande => "RIO_GRANDE",
CreateSessionRequestUseProxyGeolocationCity::RishonLetsiyyon => "RISHON_LETSIYYON",
CreateSessionRequestUseProxyGeolocationCity::Riverside => "RIVERSIDE",
CreateSessionRequestUseProxyGeolocationCity::Riyadh => "RIYADH",
CreateSessionRequestUseProxyGeolocationCity::Rize => "RIZE",
CreateSessionRequestUseProxyGeolocationCity::Rochester => "ROCHESTER",
CreateSessionRequestUseProxyGeolocationCity::Rome => "ROME",
CreateSessionRequestUseProxyGeolocationCity::Rondonopolis => "RONDONOPOLIS",
CreateSessionRequestUseProxyGeolocationCity::Rosario => "ROSARIO",
CreateSessionRequestUseProxyGeolocationCity::Roseau => "ROSEAU",
CreateSessionRequestUseProxyGeolocationCity::RostovOnDon => "ROSTOV_ON DON",
CreateSessionRequestUseProxyGeolocationCity::Rotterdam => "ROTTERDAM",
CreateSessionRequestUseProxyGeolocationCity::Rouen => "ROUEN",
CreateSessionRequestUseProxyGeolocationCity::Rousse => "ROUSSE",
CreateSessionRequestUseProxyGeolocationCity::Rzeszow => "RZESZOW",
CreateSessionRequestUseProxyGeolocationCity::Sacramento => "SACRAMENTO",
CreateSessionRequestUseProxyGeolocationCity::Sagar => "SAGAR",
CreateSessionRequestUseProxyGeolocationCity::SaintPaul => "SAINT_PAUL",
CreateSessionRequestUseProxyGeolocationCity::Sale => "SALE",
CreateSessionRequestUseProxyGeolocationCity::SaltLakeCity => "SALT_LAKE CITY",
CreateSessionRequestUseProxyGeolocationCity::Salta => "SALTA",
CreateSessionRequestUseProxyGeolocationCity::Saltillo => "SALTILLO",
CreateSessionRequestUseProxyGeolocationCity::Salvador => "SALVADOR",
CreateSessionRequestUseProxyGeolocationCity::Samara => "SAMARA",
CreateSessionRequestUseProxyGeolocationCity::Samarinda => "SAMARINDA",
CreateSessionRequestUseProxyGeolocationCity::Samarkand => "SAMARKAND",
CreateSessionRequestUseProxyGeolocationCity::Samsun => "SAMSUN",
CreateSessionRequestUseProxyGeolocationCity::SanAntonio => "SAN_ANTONIO",
CreateSessionRequestUseProxyGeolocationCity::SanDiego => "SAN_DIEGO",
CreateSessionRequestUseProxyGeolocationCity::SanFernando => "SAN_FERNANDO",
CreateSessionRequestUseProxyGeolocationCity::SanFrancisco => "SAN_FRANCISCO",
CreateSessionRequestUseProxyGeolocationCity::SanJose => "SAN_JOSE",
CreateSessionRequestUseProxyGeolocationCity::SanJoseDelMonte => "SAN_JOSE DEL MONTE",
CreateSessionRequestUseProxyGeolocationCity::SanJuan => "SAN_JUAN",
CreateSessionRequestUseProxyGeolocationCity::SanJusto => "SAN_JUSTO",
CreateSessionRequestUseProxyGeolocationCity::SanLuis => "SAN_LUIS",
CreateSessionRequestUseProxyGeolocationCity::SanLuisPotosiCity => {
"SAN_LUIS POTOSI CITY"
}
CreateSessionRequestUseProxyGeolocationCity::SanMiguel => "SAN_MIGUEL",
CreateSessionRequestUseProxyGeolocationCity::SanMiguelDeTucuman => {
"SAN_MIGUEL DE TUCUMAN"
}
CreateSessionRequestUseProxyGeolocationCity::SanPabloCity => "SAN_PABLO CITY",
CreateSessionRequestUseProxyGeolocationCity::SanPedro => "SAN_PEDRO",
CreateSessionRequestUseProxyGeolocationCity::SanPedroSula => "SAN_PEDRO SULA",
CreateSessionRequestUseProxyGeolocationCity::SanSalvador => "SAN_SALVADOR",
CreateSessionRequestUseProxyGeolocationCity::SanSalvadorDeJujuy => {
"SAN_SALVADOR DE JUJUY"
}
CreateSessionRequestUseProxyGeolocationCity::Sanaa => "SANAA",
CreateSessionRequestUseProxyGeolocationCity::Sanliurfa => "SANLIURFA",
CreateSessionRequestUseProxyGeolocationCity::SantaCruz => "SANTA_CRUZ",
CreateSessionRequestUseProxyGeolocationCity::SantaCruzDeTenerife => {
"SANTA_CRUZ DE TENERIFE"
}
CreateSessionRequestUseProxyGeolocationCity::SantaCruzDoSul => "SANTA_CRUZ DO SUL",
CreateSessionRequestUseProxyGeolocationCity::SantaFe => "SANTA_FE",
CreateSessionRequestUseProxyGeolocationCity::SantaLuzia => "SANTA_LUZIA",
CreateSessionRequestUseProxyGeolocationCity::SantaMaria => "SANTA_MARIA",
CreateSessionRequestUseProxyGeolocationCity::SantaMarta => "SANTA_MARTA",
CreateSessionRequestUseProxyGeolocationCity::SantaRosa => "SANTA_ROSA",
CreateSessionRequestUseProxyGeolocationCity::Santarem => "SANTAREM",
CreateSessionRequestUseProxyGeolocationCity::Santiago => "SANTIAGO",
CreateSessionRequestUseProxyGeolocationCity::SantiagoDeCali => "SANTIAGO_DE CALI",
CreateSessionRequestUseProxyGeolocationCity::SantiagoDeLosCaballeros => {
"SANTIAGO_DE LOS CABALLEROS"
}
CreateSessionRequestUseProxyGeolocationCity::SantoAndre => "SANTO_ANDRE",
CreateSessionRequestUseProxyGeolocationCity::SantoDomingo => "SANTO_DOMINGO",
CreateSessionRequestUseProxyGeolocationCity::SantoDomingoEste => "SANTO_DOMINGO ESTE",
CreateSessionRequestUseProxyGeolocationCity::Santos => "SANTOS",
CreateSessionRequestUseProxyGeolocationCity::SaoBernardoDoCampo => {
"SAO_BERNARDO DO CAMPO"
}
CreateSessionRequestUseProxyGeolocationCity::SaoCarlos => "SAO_CARLOS",
CreateSessionRequestUseProxyGeolocationCity::SaoGoncalo => "SAO_GONCALO",
CreateSessionRequestUseProxyGeolocationCity::SaoJoaoDeMeriti => "SAO_JOAO DE MERITI",
CreateSessionRequestUseProxyGeolocationCity::SaoJose => "SAO_JOSE",
CreateSessionRequestUseProxyGeolocationCity::SaoJoseDoRioPreto => {
"SAO_JOSE DO RIO PRETO"
}
CreateSessionRequestUseProxyGeolocationCity::SaoJoseDosCampos => "SAO_JOSE DOS CAMPOS",
CreateSessionRequestUseProxyGeolocationCity::SaoJoseDosPinhais => {
"SAO_JOSE DOS PINHAIS"
}
CreateSessionRequestUseProxyGeolocationCity::SaoLeopoldo => "SAO_LEOPOLDO",
CreateSessionRequestUseProxyGeolocationCity::SaoLuis => "SAO_LUIS",
CreateSessionRequestUseProxyGeolocationCity::SaoPaulo => "SAO_PAULO",
CreateSessionRequestUseProxyGeolocationCity::SaoVicente => "SAO_VICENTE",
CreateSessionRequestUseProxyGeolocationCity::Sarajevo => "SARAJEVO",
CreateSessionRequestUseProxyGeolocationCity::Saskatoon => "SASKATOON",
CreateSessionRequestUseProxyGeolocationCity::Scarborough => "SCARBOROUGH",
CreateSessionRequestUseProxyGeolocationCity::Seattle => "SEATTLE",
CreateSessionRequestUseProxyGeolocationCity::Semarang => "SEMARANG",
CreateSessionRequestUseProxyGeolocationCity::SeoGu => "SEO_GU",
CreateSessionRequestUseProxyGeolocationCity::SeongnamSi => "SEONGNAM_SI",
CreateSessionRequestUseProxyGeolocationCity::Seoul => "SEOUL",
CreateSessionRequestUseProxyGeolocationCity::Serra => "SERRA",
CreateSessionRequestUseProxyGeolocationCity::SeteLagoas => "SETE_LAGOAS",
CreateSessionRequestUseProxyGeolocationCity::Setif => "SETIF",
CreateSessionRequestUseProxyGeolocationCity::Setubal => "SETUBAL",
CreateSessionRequestUseProxyGeolocationCity::Seville => "SEVILLE",
CreateSessionRequestUseProxyGeolocationCity::Sfax => "SFAX",
CreateSessionRequestUseProxyGeolocationCity::ShahAlam => "SHAH_ALAM",
CreateSessionRequestUseProxyGeolocationCity::Shanghai => "SHANGHAI",
CreateSessionRequestUseProxyGeolocationCity::Sharjah => "SHARJAH",
CreateSessionRequestUseProxyGeolocationCity::Sheffield => "SHEFFIELD",
CreateSessionRequestUseProxyGeolocationCity::Shenzhen => "SHENZHEN",
CreateSessionRequestUseProxyGeolocationCity::Shimla => "SHIMLA",
CreateSessionRequestUseProxyGeolocationCity::Siauliai => "SIAULIAI",
CreateSessionRequestUseProxyGeolocationCity::Sibiu => "SIBIU",
CreateSessionRequestUseProxyGeolocationCity::Sidoarjo => "SIDOARJO",
CreateSessionRequestUseProxyGeolocationCity::Sikar => "SIKAR",
CreateSessionRequestUseProxyGeolocationCity::SilverSpring => "SILVER_SPRING",
CreateSessionRequestUseProxyGeolocationCity::Sinop => "SINOP",
CreateSessionRequestUseProxyGeolocationCity::Sivas => "SIVAS",
CreateSessionRequestUseProxyGeolocationCity::Skikda => "SKIKDA",
CreateSessionRequestUseProxyGeolocationCity::Skopje => "SKOPJE",
CreateSessionRequestUseProxyGeolocationCity::Slough => "SLOUGH",
CreateSessionRequestUseProxyGeolocationCity::Sobral => "SOBRAL",
CreateSessionRequestUseProxyGeolocationCity::Sofia => "SOFIA",
CreateSessionRequestUseProxyGeolocationCity::Sorocaba => "SOROCABA",
CreateSessionRequestUseProxyGeolocationCity::Sousse => "SOUSSE",
CreateSessionRequestUseProxyGeolocationCity::SouthTangerang => "SOUTH_TANGERANG",
CreateSessionRequestUseProxyGeolocationCity::Southampton => "SOUTHAMPTON",
CreateSessionRequestUseProxyGeolocationCity::Southwark => "SOUTHWARK",
CreateSessionRequestUseProxyGeolocationCity::Split => "SPLIT",
CreateSessionRequestUseProxyGeolocationCity::Spokane => "SPOKANE",
CreateSessionRequestUseProxyGeolocationCity::Spring => "SPRING",
CreateSessionRequestUseProxyGeolocationCity::Springfield => "SPRINGFIELD",
CreateSessionRequestUseProxyGeolocationCity::StLouis => "ST_LOUIS",
CreateSessionRequestUseProxyGeolocationCity::StPetersburg => "ST_PETERSBURG",
CreateSessionRequestUseProxyGeolocationCity::StaraZagora => "STARA_ZAGORA",
CreateSessionRequestUseProxyGeolocationCity::StatenIsland => "STATEN_ISLAND",
CreateSessionRequestUseProxyGeolocationCity::Stockholm => "STOCKHOLM",
CreateSessionRequestUseProxyGeolocationCity::Stockton => "STOCKTON",
CreateSessionRequestUseProxyGeolocationCity::StokeOnTrent => "STOKE_ON TRENT",
CreateSessionRequestUseProxyGeolocationCity::Strasbourg => "STRASBOURG",
CreateSessionRequestUseProxyGeolocationCity::Stuttgart => "STUTTGART",
CreateSessionRequestUseProxyGeolocationCity::Sumare => "SUMARE",
CreateSessionRequestUseProxyGeolocationCity::Surabaya => "SURABAYA",
CreateSessionRequestUseProxyGeolocationCity::Surakarta => "SURAKARTA",
CreateSessionRequestUseProxyGeolocationCity::Surat => "SURAT",
CreateSessionRequestUseProxyGeolocationCity::Surrey => "SURREY",
CreateSessionRequestUseProxyGeolocationCity::Suwon => "SUWON",
CreateSessionRequestUseProxyGeolocationCity::Suzano => "SUZANO",
CreateSessionRequestUseProxyGeolocationCity::Sydney => "SYDNEY",
CreateSessionRequestUseProxyGeolocationCity::Szczecin => "SZCZECIN",
CreateSessionRequestUseProxyGeolocationCity::Szeged => "SZEGED",
CreateSessionRequestUseProxyGeolocationCity::Szekesfehervar => "SZEKESFEHERVAR",
CreateSessionRequestUseProxyGeolocationCity::TaboaoDaSerra => "TABOAO_DA SERRA",
CreateSessionRequestUseProxyGeolocationCity::Tacna => "TACNA",
CreateSessionRequestUseProxyGeolocationCity::Tacoma => "TACOMA",
CreateSessionRequestUseProxyGeolocationCity::Taguig => "TAGUIG",
CreateSessionRequestUseProxyGeolocationCity::Taichung => "TAICHUNG",
CreateSessionRequestUseProxyGeolocationCity::TainanCity => "TAINAN_CITY",
CreateSessionRequestUseProxyGeolocationCity::Taipei => "TAIPEI",
CreateSessionRequestUseProxyGeolocationCity::Talavera => "TALAVERA",
CreateSessionRequestUseProxyGeolocationCity::Talca => "TALCA",
CreateSessionRequestUseProxyGeolocationCity::Tallahassee => "TALLAHASSEE",
CreateSessionRequestUseProxyGeolocationCity::Tallinn => "TALLINN",
CreateSessionRequestUseProxyGeolocationCity::Tampa => "TAMPA",
CreateSessionRequestUseProxyGeolocationCity::Tampere => "TAMPERE",
CreateSessionRequestUseProxyGeolocationCity::Tampico => "TAMPICO",
CreateSessionRequestUseProxyGeolocationCity::Tangerang => "TANGERANG",
CreateSessionRequestUseProxyGeolocationCity::Tangier => "TANGIER",
CreateSessionRequestUseProxyGeolocationCity::Tanta => "TANTA",
CreateSessionRequestUseProxyGeolocationCity::Tanza => "TANZA",
CreateSessionRequestUseProxyGeolocationCity::TaoyuanDistrict => "TAOYUAN_DISTRICT",
CreateSessionRequestUseProxyGeolocationCity::Tappahannock => "TAPPAHANNOCK",
CreateSessionRequestUseProxyGeolocationCity::TarlacCity => "TARLAC_CITY",
CreateSessionRequestUseProxyGeolocationCity::Tashkent => "TASHKENT",
CreateSessionRequestUseProxyGeolocationCity::Tasikmalaya => "TASIKMALAYA",
CreateSessionRequestUseProxyGeolocationCity::Tatui => "TATUI",
CreateSessionRequestUseProxyGeolocationCity::Taubate => "TAUBATE",
CreateSessionRequestUseProxyGeolocationCity::Tbilisi => "TBILISI",
CreateSessionRequestUseProxyGeolocationCity::Tegucigalpa => "TEGUCIGALPA",
CreateSessionRequestUseProxyGeolocationCity::Tehran => "TEHRAN",
CreateSessionRequestUseProxyGeolocationCity::TeixeiraDeFreitas => "TEIXEIRA_DE FREITAS",
CreateSessionRequestUseProxyGeolocationCity::Tekirdag => "TEKIRDAG",
CreateSessionRequestUseProxyGeolocationCity::TelAviv => "TEL_AVIV",
CreateSessionRequestUseProxyGeolocationCity::Temuco => "TEMUCO",
CreateSessionRequestUseProxyGeolocationCity::Tepic => "TEPIC",
CreateSessionRequestUseProxyGeolocationCity::Teresina => "TERESINA",
CreateSessionRequestUseProxyGeolocationCity::Ternopil => "TERNOPIL",
CreateSessionRequestUseProxyGeolocationCity::Terrassa => "TERRASSA",
CreateSessionRequestUseProxyGeolocationCity::Tetouan => "TETOUAN",
CreateSessionRequestUseProxyGeolocationCity::Thane => "THANE",
CreateSessionRequestUseProxyGeolocationCity::TheBronx => "THE_BRONX",
CreateSessionRequestUseProxyGeolocationCity::TheHague => "THE_HAGUE",
CreateSessionRequestUseProxyGeolocationCity::Thessaloniki => "THESSALONIKI",
CreateSessionRequestUseProxyGeolocationCity::Thiruvananthapuram => "THIRUVANANTHAPURAM",
CreateSessionRequestUseProxyGeolocationCity::Thrissur => "THRISSUR",
CreateSessionRequestUseProxyGeolocationCity::Tijuana => "TIJUANA",
CreateSessionRequestUseProxyGeolocationCity::Timisoara => "TIMISOARA",
CreateSessionRequestUseProxyGeolocationCity::Tirana => "TIRANA",
CreateSessionRequestUseProxyGeolocationCity::Tlalnepantla => "TLALNEPANTLA",
CreateSessionRequestUseProxyGeolocationCity::TlaxcalaCity => "TLAXCALA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Tlemcen => "TLEMCEN",
CreateSessionRequestUseProxyGeolocationCity::TokatProvince => "TOKAT_PROVINCE",
CreateSessionRequestUseProxyGeolocationCity::Tokyo => "TOKYO",
CreateSessionRequestUseProxyGeolocationCity::Toluca => "TOLUCA",
CreateSessionRequestUseProxyGeolocationCity::Toronto => "TORONTO",
CreateSessionRequestUseProxyGeolocationCity::Torreon => "TORREON",
CreateSessionRequestUseProxyGeolocationCity::Toulouse => "TOULOUSE",
CreateSessionRequestUseProxyGeolocationCity::Trabzon => "TRABZON",
CreateSessionRequestUseProxyGeolocationCity::Trujillo => "TRUJILLO",
CreateSessionRequestUseProxyGeolocationCity::Tubarao => "TUBARAO",
CreateSessionRequestUseProxyGeolocationCity::Tucson => "TUCSON",
CreateSessionRequestUseProxyGeolocationCity::TuguegaraoCity => "TUGUEGARAO_CITY",
CreateSessionRequestUseProxyGeolocationCity::Tulsa => "TULSA",
CreateSessionRequestUseProxyGeolocationCity::Tunis => "TUNIS",
CreateSessionRequestUseProxyGeolocationCity::Tunja => "TUNJA",
CreateSessionRequestUseProxyGeolocationCity::Turin => "TURIN",
CreateSessionRequestUseProxyGeolocationCity::TuxtlaGutierrez => "TUXTLA_GUTIERREZ",
CreateSessionRequestUseProxyGeolocationCity::Tuzla => "TUZLA",
CreateSessionRequestUseProxyGeolocationCity::Uberaba => "UBERABA",
CreateSessionRequestUseProxyGeolocationCity::Uberlandia => "UBERLANDIA",
CreateSessionRequestUseProxyGeolocationCity::Ufa => "UFA",
CreateSessionRequestUseProxyGeolocationCity::UlanBator => "ULAN_BATOR",
CreateSessionRequestUseProxyGeolocationCity::Umeda => "UMEDA",
CreateSessionRequestUseProxyGeolocationCity::Urdaneta => "URDANETA",
CreateSessionRequestUseProxyGeolocationCity::Usak => "USAK",
CreateSessionRequestUseProxyGeolocationCity::Vadodara => "VADODARA",
CreateSessionRequestUseProxyGeolocationCity::Valencia => "VALENCIA",
CreateSessionRequestUseProxyGeolocationCity::Valinhos => "VALINHOS",
CreateSessionRequestUseProxyGeolocationCity::Valladolid => "VALLADOLID",
CreateSessionRequestUseProxyGeolocationCity::Valledupar => "VALLEDUPAR",
CreateSessionRequestUseProxyGeolocationCity::Valparaiso => "VALPARAISO",
CreateSessionRequestUseProxyGeolocationCity::ValparaisoDeGoias => "VALPARAISO_DE GOIAS",
CreateSessionRequestUseProxyGeolocationCity::Van => "VAN",
CreateSessionRequestUseProxyGeolocationCity::Vancouver => "VANCOUVER",
CreateSessionRequestUseProxyGeolocationCity::Varanasi => "VARANASI",
CreateSessionRequestUseProxyGeolocationCity::Varginha => "VARGINHA",
CreateSessionRequestUseProxyGeolocationCity::Varna => "VARNA",
CreateSessionRequestUseProxyGeolocationCity::VarzeaPaulista => "VARZEA_PAULISTA",
CreateSessionRequestUseProxyGeolocationCity::VenustianoCarranza => {
"VENUSTIANO_CARRANZA"
}
CreateSessionRequestUseProxyGeolocationCity::Veracruz => "VERACRUZ",
CreateSessionRequestUseProxyGeolocationCity::Verona => "VERONA",
CreateSessionRequestUseProxyGeolocationCity::Viamao => "VIAMAO",
CreateSessionRequestUseProxyGeolocationCity::Victoria => "VICTORIA",
CreateSessionRequestUseProxyGeolocationCity::Vienna => "VIENNA",
CreateSessionRequestUseProxyGeolocationCity::Vientiane => "VIENTIANE",
CreateSessionRequestUseProxyGeolocationCity::Vigo => "VIGO",
CreateSessionRequestUseProxyGeolocationCity::Vijayawada => "VIJAYAWADA",
CreateSessionRequestUseProxyGeolocationCity::VilaNovaDeGaia => "VILA_NOVA DE GAIA",
CreateSessionRequestUseProxyGeolocationCity::VilaVelha => "VILA_VELHA",
CreateSessionRequestUseProxyGeolocationCity::VillaBallester => "VILLA_BALLESTER",
CreateSessionRequestUseProxyGeolocationCity::Villavicencio => "VILLAVICENCIO",
CreateSessionRequestUseProxyGeolocationCity::Vilnius => "VILNIUS",
CreateSessionRequestUseProxyGeolocationCity::VinaDelMar => "VINA_DEL MAR",
CreateSessionRequestUseProxyGeolocationCity::Vinnytsia => "VINNYTSIA",
CreateSessionRequestUseProxyGeolocationCity::VirginiaBeach => "VIRGINIA_BEACH",
CreateSessionRequestUseProxyGeolocationCity::Visakhapatnam => "VISAKHAPATNAM",
CreateSessionRequestUseProxyGeolocationCity::Vitoria => "VITORIA",
CreateSessionRequestUseProxyGeolocationCity::VitoriaDaConquista => {
"VITORIA_DA CONQUISTA"
}
CreateSessionRequestUseProxyGeolocationCity::VitoriaDeSantoAntao => {
"VITORIA_DE SANTO ANTAO"
}
CreateSessionRequestUseProxyGeolocationCity::VoltaRedonda => "VOLTA_REDONDA",
CreateSessionRequestUseProxyGeolocationCity::Voronezh => "VORONEZH",
CreateSessionRequestUseProxyGeolocationCity::Warsaw => "WARSAW",
CreateSessionRequestUseProxyGeolocationCity::Washington => "WASHINGTON",
CreateSessionRequestUseProxyGeolocationCity::Wellington => "WELLINGTON",
CreateSessionRequestUseProxyGeolocationCity::WestPalmBeach => "WEST_PALM BEACH",
CreateSessionRequestUseProxyGeolocationCity::Wichita => "WICHITA",
CreateSessionRequestUseProxyGeolocationCity::Willemstad => "WILLEMSTAD",
CreateSessionRequestUseProxyGeolocationCity::Wilmington => "WILMINGTON",
CreateSessionRequestUseProxyGeolocationCity::Windhoek => "WINDHOEK",
CreateSessionRequestUseProxyGeolocationCity::Windsor => "WINDSOR",
CreateSessionRequestUseProxyGeolocationCity::Winnipeg => "WINNIPEG",
CreateSessionRequestUseProxyGeolocationCity::Wolverhampton => "WOLVERHAMPTON",
CreateSessionRequestUseProxyGeolocationCity::Woodbridge => "WOODBRIDGE",
CreateSessionRequestUseProxyGeolocationCity::Wroclaw => "WROCLAW",
CreateSessionRequestUseProxyGeolocationCity::Wuppertal => "WUPPERTAL",
CreateSessionRequestUseProxyGeolocationCity::Xalapa => "XALAPA",
CreateSessionRequestUseProxyGeolocationCity::Yalova => "YALOVA",
CreateSessionRequestUseProxyGeolocationCity::Yangon => "YANGON",
CreateSessionRequestUseProxyGeolocationCity::Yekaterinburg => "YEKATERINBURG",
CreateSessionRequestUseProxyGeolocationCity::Yerevan => "YEREVAN",
CreateSessionRequestUseProxyGeolocationCity::Yogyakarta => "YOGYAKARTA",
CreateSessionRequestUseProxyGeolocationCity::Yokohama => "YOKOHAMA",
CreateSessionRequestUseProxyGeolocationCity::YonginSi => "YONGIN_SI",
CreateSessionRequestUseProxyGeolocationCity::Zabrze => "ZABRZE",
CreateSessionRequestUseProxyGeolocationCity::Zagazig => "ZAGAZIG",
CreateSessionRequestUseProxyGeolocationCity::Zagreb => "ZAGREB",
CreateSessionRequestUseProxyGeolocationCity::ZamboangaCity => "ZAMBOANGA_CITY",
CreateSessionRequestUseProxyGeolocationCity::Zapopan => "ZAPOPAN",
CreateSessionRequestUseProxyGeolocationCity::Zaporizhzhya => "ZAPORIZHZHYA",
CreateSessionRequestUseProxyGeolocationCity::Zaragoza => "ZARAGOZA",
CreateSessionRequestUseProxyGeolocationCity::ZhongliDistrict => "ZHONGLI_DISTRICT",
CreateSessionRequestUseProxyGeolocationCity::ZielonaGora => "ZIELONA_GORA",
CreateSessionRequestUseProxyGeolocationCity::Zonguldak => "ZONGULDAK",
CreateSessionRequestUseProxyGeolocationCity::Zurich => "ZURICH",
CreateSessionRequestUseProxyGeolocationCity::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for CreateSessionRequestUseProxyGeolocationCity {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for CreateSessionRequestUseProxyGeolocationCity {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"A_CORUNA" => Some(CreateSessionRequestUseProxyGeolocationCity::ACoruna),
"ABIDJAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Abidjan),
"ABU_DHABI" => Some(CreateSessionRequestUseProxyGeolocationCity::AbuDhabi),
"ABUJA" => Some(CreateSessionRequestUseProxyGeolocationCity::Abuja),
"ACAPULCO_DE JUAREZ" => {
Some(CreateSessionRequestUseProxyGeolocationCity::AcapulcoDeJuarez)
}
"ACCRA" => Some(CreateSessionRequestUseProxyGeolocationCity::Accra),
"ADANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Adana),
"ADAPAZARI" => Some(CreateSessionRequestUseProxyGeolocationCity::Adapazari),
"ADDIS_ABABA" => Some(CreateSessionRequestUseProxyGeolocationCity::AddisAbaba),
"ADELAIDE" => Some(CreateSessionRequestUseProxyGeolocationCity::Adelaide),
"AFYONKARAHISAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Afyonkarahisar),
"AGADIR" => Some(CreateSessionRequestUseProxyGeolocationCity::Agadir),
"AGUAS_LINDAS DE GOIAS" => {
Some(CreateSessionRequestUseProxyGeolocationCity::AguasLindasDeGoias)
}
"AGUASCALIENTES" => Some(CreateSessionRequestUseProxyGeolocationCity::Aguascalientes),
"AHMEDABAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Ahmedabad),
"AIZAWL" => Some(CreateSessionRequestUseProxyGeolocationCity::Aizawl),
"AJMAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Ajman),
"AKRON" => Some(CreateSessionRequestUseProxyGeolocationCity::Akron),
"AKSARAY" => Some(CreateSessionRequestUseProxyGeolocationCity::Aksaray),
"AL_AIN CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::AlAinCity),
"AL_MANSURAH" => Some(CreateSessionRequestUseProxyGeolocationCity::AlMansurah),
"AL_QATIF" => Some(CreateSessionRequestUseProxyGeolocationCity::AlQatif),
"ALAJUELA" => Some(CreateSessionRequestUseProxyGeolocationCity::Alajuela),
"ALBANY" => Some(CreateSessionRequestUseProxyGeolocationCity::Albany),
"ALBUQUERQUE" => Some(CreateSessionRequestUseProxyGeolocationCity::Albuquerque),
"ALEXANDRIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Alexandria),
"ALGIERS" => Some(CreateSessionRequestUseProxyGeolocationCity::Algiers),
"ALICANTE" => Some(CreateSessionRequestUseProxyGeolocationCity::Alicante),
"ALMADA" => Some(CreateSessionRequestUseProxyGeolocationCity::Almada),
"ALMATY" => Some(CreateSessionRequestUseProxyGeolocationCity::Almaty),
"ALMERE_STAD" => Some(CreateSessionRequestUseProxyGeolocationCity::AlmereStad),
"ALVORADA" => Some(CreateSessionRequestUseProxyGeolocationCity::Alvorada),
"AMADORA" => Some(CreateSessionRequestUseProxyGeolocationCity::Amadora),
"AMASYA" => Some(CreateSessionRequestUseProxyGeolocationCity::Amasya),
"AMBATO" => Some(CreateSessionRequestUseProxyGeolocationCity::Ambato),
"AMERICANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Americana),
"AMMAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Amman),
"AMSTERDAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Amsterdam),
"ANANINDEUA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ananindeua),
"ANAPOLIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Anapolis),
"ANGELES_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::AngelesCity),
"ANGERS" => Some(CreateSessionRequestUseProxyGeolocationCity::Angers),
"ANGRA_DOS REIS" => Some(CreateSessionRequestUseProxyGeolocationCity::AngraDosReis),
"ANKARA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ankara),
"ANTAKYA" => Some(CreateSessionRequestUseProxyGeolocationCity::Antakya),
"ANTALYA" => Some(CreateSessionRequestUseProxyGeolocationCity::Antalya),
"ANTANANARIVO" => Some(CreateSessionRequestUseProxyGeolocationCity::Antananarivo),
"ANTIPOLO_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::AntipoloCity),
"ANTOFAGASTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Antofagasta),
"ANTWERP" => Some(CreateSessionRequestUseProxyGeolocationCity::Antwerp),
"APARECIDA_DE GOIANIA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::AparecidaDeGoiania)
}
"APODACA" => Some(CreateSessionRequestUseProxyGeolocationCity::Apodaca),
"ARACAJU" => Some(CreateSessionRequestUseProxyGeolocationCity::Aracaju),
"ARACATUBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Aracatuba),
"ARAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Arad),
"ARAGUAINA" => Some(CreateSessionRequestUseProxyGeolocationCity::Araguaina),
"ARAPIRACA" => Some(CreateSessionRequestUseProxyGeolocationCity::Arapiraca),
"ARARAQUARA" => Some(CreateSessionRequestUseProxyGeolocationCity::Araraquara),
"AREQUIPA" => Some(CreateSessionRequestUseProxyGeolocationCity::Arequipa),
"ARICA" => Some(CreateSessionRequestUseProxyGeolocationCity::Arica),
"ARLINGTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Arlington),
"ARYANAH" => Some(CreateSessionRequestUseProxyGeolocationCity::Aryanah),
"ASTANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Astana),
"ASUNCION" => Some(CreateSessionRequestUseProxyGeolocationCity::Asuncion),
"ASYUT" => Some(CreateSessionRequestUseProxyGeolocationCity::Asyut),
"ATAKUM" => Some(CreateSessionRequestUseProxyGeolocationCity::Atakum),
"ATHENS" => Some(CreateSessionRequestUseProxyGeolocationCity::Athens),
"ATIBAIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Atibaia),
"ATLANTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Atlanta),
"AUBURN" => Some(CreateSessionRequestUseProxyGeolocationCity::Auburn),
"AUCKLAND" => Some(CreateSessionRequestUseProxyGeolocationCity::Auckland),
"AURORA" => Some(CreateSessionRequestUseProxyGeolocationCity::Aurora),
"AUSTIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Austin),
"AVELLANEDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Avellaneda),
"AYDIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Aydin),
"AZCAPOTZALCO" => Some(CreateSessionRequestUseProxyGeolocationCity::Azcapotzalco),
"BACOLOD_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::BacolodCity),
"BACOOR" => Some(CreateSessionRequestUseProxyGeolocationCity::Bacoor),
"BAGHDAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Baghdad),
"BAGUIO_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::BaguioCity),
"BAHIA_BLANCA" => Some(CreateSessionRequestUseProxyGeolocationCity::BahiaBlanca),
"BAKERSFIELD" => Some(CreateSessionRequestUseProxyGeolocationCity::Bakersfield),
"BAKU" => Some(CreateSessionRequestUseProxyGeolocationCity::Baku),
"BALIKESIR" => Some(CreateSessionRequestUseProxyGeolocationCity::Balikesir),
"BALIKPAPAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Balikpapan),
"BALNEARIO_CAMBORIU" => {
Some(CreateSessionRequestUseProxyGeolocationCity::BalnearioCamboriu)
}
"BALTIMORE" => Some(CreateSessionRequestUseProxyGeolocationCity::Baltimore),
"BANDAR_LAMPUNG" => Some(CreateSessionRequestUseProxyGeolocationCity::BandarLampung),
"BANDAR_SERI BEGAWAN" => {
Some(CreateSessionRequestUseProxyGeolocationCity::BandarSeriBegawan)
}
"BANDUNG" => Some(CreateSessionRequestUseProxyGeolocationCity::Bandung),
"BANGKOK" => Some(CreateSessionRequestUseProxyGeolocationCity::Bangkok),
"BANJA_LUKA" => Some(CreateSessionRequestUseProxyGeolocationCity::BanjaLuka),
"BANJARMASIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Banjarmasin),
"BARCELONA" => Some(CreateSessionRequestUseProxyGeolocationCity::Barcelona),
"BARI" => Some(CreateSessionRequestUseProxyGeolocationCity::Bari),
"BARQUISIMETO" => Some(CreateSessionRequestUseProxyGeolocationCity::Barquisimeto),
"BARRA_MANSA" => Some(CreateSessionRequestUseProxyGeolocationCity::BarraMansa),
"BARRANQUILLA" => Some(CreateSessionRequestUseProxyGeolocationCity::Barranquilla),
"BARUERI" => Some(CreateSessionRequestUseProxyGeolocationCity::Barueri),
"BATAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Batam),
"BATANGAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Batangas),
"BATMAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Batman),
"BATNA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::BatnaCity),
"BATON_ROUGE" => Some(CreateSessionRequestUseProxyGeolocationCity::BatonRouge),
"BATUMI" => Some(CreateSessionRequestUseProxyGeolocationCity::Batumi),
"BAURU" => Some(CreateSessionRequestUseProxyGeolocationCity::Bauru),
"BEIRUT" => Some(CreateSessionRequestUseProxyGeolocationCity::Beirut),
"BEJAIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Bejaia),
"BEKASI" => Some(CreateSessionRequestUseProxyGeolocationCity::Bekasi),
"BELEM" => Some(CreateSessionRequestUseProxyGeolocationCity::Belem),
"BELFAST" => Some(CreateSessionRequestUseProxyGeolocationCity::Belfast),
"BELFORD_ROXO" => Some(CreateSessionRequestUseProxyGeolocationCity::BelfordRoxo),
"BELGRADE" => Some(CreateSessionRequestUseProxyGeolocationCity::Belgrade),
"BELO_HORIZONTE" => Some(CreateSessionRequestUseProxyGeolocationCity::BeloHorizonte),
"BENGALURU" => Some(CreateSessionRequestUseProxyGeolocationCity::Bengaluru),
"BENI_MELLAL" => Some(CreateSessionRequestUseProxyGeolocationCity::BeniMellal),
"BERAZATEGUI" => Some(CreateSessionRequestUseProxyGeolocationCity::Berazategui),
"BERN" => Some(CreateSessionRequestUseProxyGeolocationCity::Bern),
"BETIM" => Some(CreateSessionRequestUseProxyGeolocationCity::Betim),
"BHARATPUR" => Some(CreateSessionRequestUseProxyGeolocationCity::Bharatpur),
"BHOPAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Bhopal),
"BHUBANESWAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Bhubaneswar),
"BIALYSTOK" => Some(CreateSessionRequestUseProxyGeolocationCity::Bialystok),
"BIEN_HOA" => Some(CreateSessionRequestUseProxyGeolocationCity::BienHoa),
"BILBAO" => Some(CreateSessionRequestUseProxyGeolocationCity::Bilbao),
"BILECIK" => Some(CreateSessionRequestUseProxyGeolocationCity::Bilecik),
"BIRATNAGAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Biratnagar),
"BIRMINGHAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Birmingham),
"BISHKEK" => Some(CreateSessionRequestUseProxyGeolocationCity::Bishkek),
"BIZERTE" => Some(CreateSessionRequestUseProxyGeolocationCity::Bizerte),
"BLIDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Blida),
"BLOEMFONTEIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Bloemfontein),
"BLOOMINGTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Bloomington),
"BLUMENAU" => Some(CreateSessionRequestUseProxyGeolocationCity::Blumenau),
"BOA_VISTA" => Some(CreateSessionRequestUseProxyGeolocationCity::BoaVista),
"BOCHUM" => Some(CreateSessionRequestUseProxyGeolocationCity::Bochum),
"BOGOR" => Some(CreateSessionRequestUseProxyGeolocationCity::Bogor),
"BOGOTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Bogota),
"BOISE" => Some(CreateSessionRequestUseProxyGeolocationCity::Boise),
"BOKSBURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Boksburg),
"BOLOGNA" => Some(CreateSessionRequestUseProxyGeolocationCity::Bologna),
"BOLU" => Some(CreateSessionRequestUseProxyGeolocationCity::Bolu),
"BORDEAUX" => Some(CreateSessionRequestUseProxyGeolocationCity::Bordeaux),
"BOSTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Boston),
"BOTUCATU" => Some(CreateSessionRequestUseProxyGeolocationCity::Botucatu),
"BRADFORD" => Some(CreateSessionRequestUseProxyGeolocationCity::Bradford),
"BRAGA" => Some(CreateSessionRequestUseProxyGeolocationCity::Braga),
"BRAGANCA_PAULISTA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::BragancaPaulista)
}
"BRAMPTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Brampton),
"BRASILIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Brasilia),
"BRASOV" => Some(CreateSessionRequestUseProxyGeolocationCity::Brasov),
"BRATISLAVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Bratislava),
"BREMEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Bremen),
"BRESCIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Brescia),
"BREST" => Some(CreateSessionRequestUseProxyGeolocationCity::Brest),
"BRIDGETOWN" => Some(CreateSessionRequestUseProxyGeolocationCity::Bridgetown),
"BRISBANE" => Some(CreateSessionRequestUseProxyGeolocationCity::Brisbane),
"BRISTOL" => Some(CreateSessionRequestUseProxyGeolocationCity::Bristol),
"BRNO" => Some(CreateSessionRequestUseProxyGeolocationCity::Brno),
"BROOKLYN" => Some(CreateSessionRequestUseProxyGeolocationCity::Brooklyn),
"BRUSSELS" => Some(CreateSessionRequestUseProxyGeolocationCity::Brussels),
"BUCARAMANGA" => Some(CreateSessionRequestUseProxyGeolocationCity::Bucaramanga),
"BUCHAREST" => Some(CreateSessionRequestUseProxyGeolocationCity::Bucharest),
"BUDAPEST" => Some(CreateSessionRequestUseProxyGeolocationCity::Budapest),
"BUENOS_AIRES" => Some(CreateSessionRequestUseProxyGeolocationCity::BuenosAires),
"BUFFALO" => Some(CreateSessionRequestUseProxyGeolocationCity::Buffalo),
"BUK_GU" => Some(CreateSessionRequestUseProxyGeolocationCity::BukGu),
"BUKHARA" => Some(CreateSessionRequestUseProxyGeolocationCity::Bukhara),
"BURGAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Burgas),
"BURNABY" => Some(CreateSessionRequestUseProxyGeolocationCity::Burnaby),
"BURSA" => Some(CreateSessionRequestUseProxyGeolocationCity::Bursa),
"BUTUAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Butuan),
"BYDGOSZCZ" => Some(CreateSessionRequestUseProxyGeolocationCity::Bydgoszcz),
"CABANATUAN_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::CabanatuanCity),
"CABO_FRIO" => Some(CreateSessionRequestUseProxyGeolocationCity::CaboFrio),
"CABUYAO" => Some(CreateSessionRequestUseProxyGeolocationCity::Cabuyao),
"CACHOEIRO_DE ITAPEMIRIM" => {
Some(CreateSessionRequestUseProxyGeolocationCity::CachoeiroDeItapemirim)
}
"CAGAYAN_DE ORO" => Some(CreateSessionRequestUseProxyGeolocationCity::CagayanDeOro),
"CAGLIARI" => Some(CreateSessionRequestUseProxyGeolocationCity::Cagliari),
"CAIRO" => Some(CreateSessionRequestUseProxyGeolocationCity::Cairo),
"CALAMBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Calamba),
"CALGARY" => Some(CreateSessionRequestUseProxyGeolocationCity::Calgary),
"CALOOCAN_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::CaloocanCity),
"CAMACARI" => Some(CreateSessionRequestUseProxyGeolocationCity::Camacari),
"CAMARAGIBE" => Some(CreateSessionRequestUseProxyGeolocationCity::Camaragibe),
"CAMPECHE" => Some(CreateSessionRequestUseProxyGeolocationCity::Campeche),
"CAMPINA_GRANDE" => Some(CreateSessionRequestUseProxyGeolocationCity::CampinaGrande),
"CAMPINAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Campinas),
"CAMPO_GRANDE" => Some(CreateSessionRequestUseProxyGeolocationCity::CampoGrande),
"CAMPO_LARGO" => Some(CreateSessionRequestUseProxyGeolocationCity::CampoLargo),
"CAMPOS_DOS GOYTACAZES" => {
Some(CreateSessionRequestUseProxyGeolocationCity::CamposDosGoytacazes)
}
"CAN_THO" => Some(CreateSessionRequestUseProxyGeolocationCity::CanTho),
"CANOAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Canoas),
"CANTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Canton),
"CAPE_TOWN" => Some(CreateSessionRequestUseProxyGeolocationCity::CapeTown),
"CARACAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Caracas),
"CARAGUATATUBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Caraguatatuba),
"CARAPICUIBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Carapicuiba),
"CARDIFF" => Some(CreateSessionRequestUseProxyGeolocationCity::Cardiff),
"CARIACICA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cariacica),
"CARMONA" => Some(CreateSessionRequestUseProxyGeolocationCity::Carmona),
"CARTAGENA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cartagena),
"CARUARU" => Some(CreateSessionRequestUseProxyGeolocationCity::Caruaru),
"CASABLANCA" => Some(CreateSessionRequestUseProxyGeolocationCity::Casablanca),
"CASCAVEL" => Some(CreateSessionRequestUseProxyGeolocationCity::Cascavel),
"CASEROS" => Some(CreateSessionRequestUseProxyGeolocationCity::Caseros),
"CASTANHAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Castanhal),
"CASTRIES" => Some(CreateSessionRequestUseProxyGeolocationCity::Castries),
"CATALAO" => Some(CreateSessionRequestUseProxyGeolocationCity::Catalao),
"CATAMARCA" => Some(CreateSessionRequestUseProxyGeolocationCity::Catamarca),
"CATANDUVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Catanduva),
"CATANIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Catania),
"CAUCAIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Caucaia),
"CAXIAS_DO SUL" => Some(CreateSessionRequestUseProxyGeolocationCity::CaxiasDoSul),
"CEBU_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::CebuCity),
"CENTRAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Central),
"CENTRO" => Some(CreateSessionRequestUseProxyGeolocationCity::Centro),
"CENTURION" => Some(CreateSessionRequestUseProxyGeolocationCity::Centurion),
"CHAGUANAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Chaguanas),
"CHANDIGARH" => Some(CreateSessionRequestUseProxyGeolocationCity::Chandigarh),
"CHANDLER" => Some(CreateSessionRequestUseProxyGeolocationCity::Chandler),
"CHANG_HUA" => Some(CreateSessionRequestUseProxyGeolocationCity::ChangHua),
"CHAPECO" => Some(CreateSessionRequestUseProxyGeolocationCity::Chapeco),
"CHARLESTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Charleston),
"CHARLOTTE" => Some(CreateSessionRequestUseProxyGeolocationCity::Charlotte),
"CHELYABINSK" => Some(CreateSessionRequestUseProxyGeolocationCity::Chelyabinsk),
"CHENNAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Chennai),
"CHERKASY" => Some(CreateSessionRequestUseProxyGeolocationCity::Cherkasy),
"CHERNIVTSI" => Some(CreateSessionRequestUseProxyGeolocationCity::Chernivtsi),
"CHIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Chia),
"CHIANG_MAI" => Some(CreateSessionRequestUseProxyGeolocationCity::ChiangMai),
"CHICLAYO" => Some(CreateSessionRequestUseProxyGeolocationCity::Chiclayo),
"CHIHUAHUA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::ChihuahuaCity),
"CHIMBOTE" => Some(CreateSessionRequestUseProxyGeolocationCity::Chimbote),
"CHISINAU" => Some(CreateSessionRequestUseProxyGeolocationCity::Chisinau),
"CHITTAGONG" => Some(CreateSessionRequestUseProxyGeolocationCity::Chittagong),
"CHRISTCHURCH" => Some(CreateSessionRequestUseProxyGeolocationCity::Christchurch),
"CINCINNATI" => Some(CreateSessionRequestUseProxyGeolocationCity::Cincinnati),
"CIREBON" => Some(CreateSessionRequestUseProxyGeolocationCity::Cirebon),
"CITY_OF MUNTINLUPA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::CityOfMuntinlupa)
}
"CIUDAD_DEL ESTE" => Some(CreateSessionRequestUseProxyGeolocationCity::CiudadDelEste),
"CIUDAD_GUAYANA" => Some(CreateSessionRequestUseProxyGeolocationCity::CiudadGuayana),
"CIUDAD_JUAREZ" => Some(CreateSessionRequestUseProxyGeolocationCity::CiudadJuarez),
"CIUDAD_NEZAHUALCOYOTL" => {
Some(CreateSessionRequestUseProxyGeolocationCity::CiudadNezahualcoyotl)
}
"CIUDAD_OBREGON" => Some(CreateSessionRequestUseProxyGeolocationCity::CiudadObregon),
"CLEVELAND" => Some(CreateSessionRequestUseProxyGeolocationCity::Cleveland),
"CLUJ_NAPOCA" => Some(CreateSessionRequestUseProxyGeolocationCity::ClujNapoca),
"COCHABAMBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cochabamba),
"COIMBATORE" => Some(CreateSessionRequestUseProxyGeolocationCity::Coimbatore),
"COIMBRA" => Some(CreateSessionRequestUseProxyGeolocationCity::Coimbra),
"COLOGNE" => Some(CreateSessionRequestUseProxyGeolocationCity::Cologne),
"COLOMBO" => Some(CreateSessionRequestUseProxyGeolocationCity::Colombo),
"COLORADO_SPRINGS" => {
Some(CreateSessionRequestUseProxyGeolocationCity::ColoradoSprings)
}
"COLUMBIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Columbia),
"COLUMBUS" => Some(CreateSessionRequestUseProxyGeolocationCity::Columbus),
"COMODORO_RIVADAVIA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::ComodoroRivadavia)
}
"CONCEPCION" => Some(CreateSessionRequestUseProxyGeolocationCity::Concepcion),
"CONCORD" => Some(CreateSessionRequestUseProxyGeolocationCity::Concord),
"CONSTANTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Constanta),
"CONSTANTINE" => Some(CreateSessionRequestUseProxyGeolocationCity::Constantine),
"CONTAGEM" => Some(CreateSessionRequestUseProxyGeolocationCity::Contagem),
"COPENHAGEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Copenhagen),
"CORDOBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cordoba),
"CORRIENTES" => Some(CreateSessionRequestUseProxyGeolocationCity::Corrientes),
"CORUM" => Some(CreateSessionRequestUseProxyGeolocationCity::Corum),
"COTIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cotia),
"COVENTRY" => Some(CreateSessionRequestUseProxyGeolocationCity::Coventry),
"CRAIOVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Craiova),
"CRICIUMA" => Some(CreateSessionRequestUseProxyGeolocationCity::Criciuma),
"CROYDON" => Some(CreateSessionRequestUseProxyGeolocationCity::Croydon),
"CUAUTITLAN_IZCALLI" => {
Some(CreateSessionRequestUseProxyGeolocationCity::CuautitlanIzcalli)
}
"CUCUTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cucuta),
"CUENCA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cuenca),
"CUERNAVACA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cuernavaca),
"CUIABA" => Some(CreateSessionRequestUseProxyGeolocationCity::Cuiaba),
"CULIACAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Culiacan),
"CURITIBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Curitiba),
"CUSCO" => Some(CreateSessionRequestUseProxyGeolocationCity::Cusco),
"DA_NANG" => Some(CreateSessionRequestUseProxyGeolocationCity::DaNang),
"DAGUPAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Dagupan),
"DAKAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Dakar),
"DALLAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Dallas),
"DAMIETTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Damietta),
"DAMMAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Dammam),
"DAR_ES SALAAM" => Some(CreateSessionRequestUseProxyGeolocationCity::DarEsSalaam),
"DASMARINAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Dasmarinas),
"DAVAO_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::DavaoCity),
"DAYTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Dayton),
"DEBRECEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Debrecen),
"DECATUR" => Some(CreateSessionRequestUseProxyGeolocationCity::Decatur),
"DEHRADUN" => Some(CreateSessionRequestUseProxyGeolocationCity::Dehradun),
"DELHI" => Some(CreateSessionRequestUseProxyGeolocationCity::Delhi),
"DENIZLI" => Some(CreateSessionRequestUseProxyGeolocationCity::Denizli),
"DENPASAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Denpasar),
"DENVER" => Some(CreateSessionRequestUseProxyGeolocationCity::Denver),
"DEPOK" => Some(CreateSessionRequestUseProxyGeolocationCity::Depok),
"DERBY" => Some(CreateSessionRequestUseProxyGeolocationCity::Derby),
"DETROIT" => Some(CreateSessionRequestUseProxyGeolocationCity::Detroit),
"DHAKA" => Some(CreateSessionRequestUseProxyGeolocationCity::Dhaka),
"DIADEMA" => Some(CreateSessionRequestUseProxyGeolocationCity::Diadema),
"DIVINOPOLIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Divinopolis),
"DIYARBAKIR" => Some(CreateSessionRequestUseProxyGeolocationCity::Diyarbakir),
"DJELFA" => Some(CreateSessionRequestUseProxyGeolocationCity::Djelfa),
"DNIPRO" => Some(CreateSessionRequestUseProxyGeolocationCity::Dnipro),
"DOHA" => Some(CreateSessionRequestUseProxyGeolocationCity::Doha),
"DORTMUND" => Some(CreateSessionRequestUseProxyGeolocationCity::Dortmund),
"DOURADOS" => Some(CreateSessionRequestUseProxyGeolocationCity::Dourados),
"DRESDEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Dresden),
"DUBAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Dubai),
"DUBLIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Dublin),
"DUEZCE" => Some(CreateSessionRequestUseProxyGeolocationCity::Duezce),
"DUISBURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Duisburg),
"DUQUE_DE CAXIAS" => Some(CreateSessionRequestUseProxyGeolocationCity::DuqueDeCaxias),
"DURANGO" => Some(CreateSessionRequestUseProxyGeolocationCity::Durango),
"DURBAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Durban),
"DUSSELDORF" => Some(CreateSessionRequestUseProxyGeolocationCity::Dusseldorf),
"ECATEPEC" => Some(CreateSessionRequestUseProxyGeolocationCity::Ecatepec),
"EDINBURGH" => Some(CreateSessionRequestUseProxyGeolocationCity::Edinburgh),
"EDIRNE" => Some(CreateSessionRequestUseProxyGeolocationCity::Edirne),
"EDMONTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Edmonton),
"EL_JADIDA" => Some(CreateSessionRequestUseProxyGeolocationCity::ElJadida),
"EL_PASO" => Some(CreateSessionRequestUseProxyGeolocationCity::ElPaso),
"ELAZIG" => Some(CreateSessionRequestUseProxyGeolocationCity::Elazig),
"EMBU" => Some(CreateSessionRequestUseProxyGeolocationCity::Embu),
"ENSENADA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ensenada),
"ERBIL" => Some(CreateSessionRequestUseProxyGeolocationCity::Erbil),
"ERZURUM" => Some(CreateSessionRequestUseProxyGeolocationCity::Erzurum),
"ESKISEHIR" => Some(CreateSessionRequestUseProxyGeolocationCity::Eskisehir),
"ESPOO" => Some(CreateSessionRequestUseProxyGeolocationCity::Espoo),
"ESSEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Essen),
"FAISALABAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Faisalabad),
"FAYETTEVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Fayetteville),
"FAZENDA_RIO GRANDE" => {
Some(CreateSessionRequestUseProxyGeolocationCity::FazendaRioGrande)
}
"FEIRA_DE SANTANA" => Some(CreateSessionRequestUseProxyGeolocationCity::FeiraDeSantana),
"FES" => Some(CreateSessionRequestUseProxyGeolocationCity::Fes),
"FLORENCE" => Some(CreateSessionRequestUseProxyGeolocationCity::Florence),
"FLORENCIO_VARELA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::FlorencioVarela)
}
"FLORIANOPOLIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Florianopolis),
"FONTANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Fontana),
"FORMOSA" => Some(CreateSessionRequestUseProxyGeolocationCity::Formosa),
"FORT_LAUDERDALE" => Some(CreateSessionRequestUseProxyGeolocationCity::FortLauderdale),
"FORT_WAYNE" => Some(CreateSessionRequestUseProxyGeolocationCity::FortWayne),
"FORT_WORTH" => Some(CreateSessionRequestUseProxyGeolocationCity::FortWorth),
"FORTALEZA" => Some(CreateSessionRequestUseProxyGeolocationCity::Fortaleza),
"FOZ_DO IGUACU" => Some(CreateSessionRequestUseProxyGeolocationCity::FozDoIguacu),
"FRANCA" => Some(CreateSessionRequestUseProxyGeolocationCity::Franca),
"FRANCISCO_MORATO" => {
Some(CreateSessionRequestUseProxyGeolocationCity::FranciscoMorato)
}
"FRANCO_DA ROCHA" => Some(CreateSessionRequestUseProxyGeolocationCity::FrancoDaRocha),
"FRANKFURT_AM MAIN" => {
Some(CreateSessionRequestUseProxyGeolocationCity::FrankfurtAmMain)
}
"FREDERICKSBURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Fredericksburg),
"FRESNO" => Some(CreateSessionRequestUseProxyGeolocationCity::Fresno),
"FUNCHAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Funchal),
"GABORONE" => Some(CreateSessionRequestUseProxyGeolocationCity::Gaborone),
"GAINESVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Gainesville),
"GALATI" => Some(CreateSessionRequestUseProxyGeolocationCity::Galati),
"GANGNAM_GU" => Some(CreateSessionRequestUseProxyGeolocationCity::GangnamGu),
"GARANHUNS" => Some(CreateSessionRequestUseProxyGeolocationCity::Garanhuns),
"GATINEAU" => Some(CreateSessionRequestUseProxyGeolocationCity::Gatineau),
"GAZIANTEP" => Some(CreateSessionRequestUseProxyGeolocationCity::Gaziantep),
"GDANSK" => Some(CreateSessionRequestUseProxyGeolocationCity::Gdansk),
"GDYNIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Gdynia),
"GENERAL_TRIAS" => Some(CreateSessionRequestUseProxyGeolocationCity::GeneralTrias),
"GENEVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Geneva),
"GENOA" => Some(CreateSessionRequestUseProxyGeolocationCity::Genoa),
"GEORGE_TOWN" => Some(CreateSessionRequestUseProxyGeolocationCity::GeorgeTown),
"GEORGETOWN" => Some(CreateSessionRequestUseProxyGeolocationCity::Georgetown),
"GHAZIABAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Ghaziabad),
"GHENT" => Some(CreateSessionRequestUseProxyGeolocationCity::Ghent),
"GIJON" => Some(CreateSessionRequestUseProxyGeolocationCity::Gijon),
"GIRESUN" => Some(CreateSessionRequestUseProxyGeolocationCity::Giresun),
"GIZA" => Some(CreateSessionRequestUseProxyGeolocationCity::Giza),
"GLASGOW" => Some(CreateSessionRequestUseProxyGeolocationCity::Glasgow),
"GLENDALE" => Some(CreateSessionRequestUseProxyGeolocationCity::Glendale),
"GLIWICE" => Some(CreateSessionRequestUseProxyGeolocationCity::Gliwice),
"GOIANIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Goiania),
"GOMEL" => Some(CreateSessionRequestUseProxyGeolocationCity::Gomel),
"GOTHENBURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Gothenburg),
"GOVERNADOR_VALADARES" => {
Some(CreateSessionRequestUseProxyGeolocationCity::GovernadorValadares)
}
"GOYANG_SI" => Some(CreateSessionRequestUseProxyGeolocationCity::GoyangSi),
"GRANADA" => Some(CreateSessionRequestUseProxyGeolocationCity::Granada),
"GRAND_RAPIDS" => Some(CreateSessionRequestUseProxyGeolocationCity::GrandRapids),
"GRAVATAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Gravatai),
"GRAZ" => Some(CreateSessionRequestUseProxyGeolocationCity::Graz),
"GREENSBORO" => Some(CreateSessionRequestUseProxyGeolocationCity::Greensboro),
"GREENVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Greenville),
"GUADALAJARA" => Some(CreateSessionRequestUseProxyGeolocationCity::Guadalajara),
"GUADALUPE" => Some(CreateSessionRequestUseProxyGeolocationCity::Guadalupe),
"GUANGZHOU" => Some(CreateSessionRequestUseProxyGeolocationCity::Guangzhou),
"GUARAPUAVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Guarapuava),
"GUARATINGUETA" => Some(CreateSessionRequestUseProxyGeolocationCity::Guaratingueta),
"GUARUJA" => Some(CreateSessionRequestUseProxyGeolocationCity::Guaruja),
"GUARULHOS" => Some(CreateSessionRequestUseProxyGeolocationCity::Guarulhos),
"GUATEMALA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::GuatemalaCity),
"GUAYAQUIL" => Some(CreateSessionRequestUseProxyGeolocationCity::Guayaquil),
"GUJRANWALA" => Some(CreateSessionRequestUseProxyGeolocationCity::Gujranwala),
"GURUGRAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Gurugram),
"GUSTAVO_ADOLFO MADERO" => {
Some(CreateSessionRequestUseProxyGeolocationCity::GustavoAdolfoMadero)
}
"GUWAHATI" => Some(CreateSessionRequestUseProxyGeolocationCity::Guwahati),
"GWANAK_GU" => Some(CreateSessionRequestUseProxyGeolocationCity::GwanakGu),
"HACKNEY" => Some(CreateSessionRequestUseProxyGeolocationCity::Hackney),
"HAIFA" => Some(CreateSessionRequestUseProxyGeolocationCity::Haifa),
"HAIPHONG" => Some(CreateSessionRequestUseProxyGeolocationCity::Haiphong),
"HAMBURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Hamburg),
"HAMILTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Hamilton),
"HANOI" => Some(CreateSessionRequestUseProxyGeolocationCity::Hanoi),
"HANOVER" => Some(CreateSessionRequestUseProxyGeolocationCity::Hanover),
"HARARE" => Some(CreateSessionRequestUseProxyGeolocationCity::Harare),
"HAVANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Havana),
"HELSINKI" => Some(CreateSessionRequestUseProxyGeolocationCity::Helsinki),
"HENDERSON" => Some(CreateSessionRequestUseProxyGeolocationCity::Henderson),
"HEREDIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Heredia),
"HERMOSILLO" => Some(CreateSessionRequestUseProxyGeolocationCity::Hermosillo),
"HIALEAH" => Some(CreateSessionRequestUseProxyGeolocationCity::Hialeah),
"HO_CHI MINH CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::HoChiMinhCity),
"HOLLYWOOD" => Some(CreateSessionRequestUseProxyGeolocationCity::Hollywood),
"HOLON" => Some(CreateSessionRequestUseProxyGeolocationCity::Holon),
"HONOLULU" => Some(CreateSessionRequestUseProxyGeolocationCity::Honolulu),
"HORTOLANDIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Hortolandia),
"HRODNA" => Some(CreateSessionRequestUseProxyGeolocationCity::Hrodna),
"HSINCHU" => Some(CreateSessionRequestUseProxyGeolocationCity::Hsinchu),
"HUANCAYO" => Some(CreateSessionRequestUseProxyGeolocationCity::Huancayo),
"HUANUCO" => Some(CreateSessionRequestUseProxyGeolocationCity::Huanuco),
"HULL" => Some(CreateSessionRequestUseProxyGeolocationCity::Hull),
"HURLINGHAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Hurlingham),
"HYDERABAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Hyderabad),
"IASI" => Some(CreateSessionRequestUseProxyGeolocationCity::Iasi),
"IBAGUE" => Some(CreateSessionRequestUseProxyGeolocationCity::Ibague),
"ICA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ica),
"ILAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Ilam),
"ILFORD" => Some(CreateSessionRequestUseProxyGeolocationCity::Ilford),
"ILIGAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Iligan),
"ILOILO_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::IloiloCity),
"IMPERATRIZ" => Some(CreateSessionRequestUseProxyGeolocationCity::Imperatriz),
"IMUS" => Some(CreateSessionRequestUseProxyGeolocationCity::Imus),
"INCHEON" => Some(CreateSessionRequestUseProxyGeolocationCity::Incheon),
"INDAIATUBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Indaiatuba),
"INDIANAPOLIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Indianapolis),
"INDORE" => Some(CreateSessionRequestUseProxyGeolocationCity::Indore),
"IPATINGA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ipatinga),
"IPOH" => Some(CreateSessionRequestUseProxyGeolocationCity::Ipoh),
"IQUIQUE" => Some(CreateSessionRequestUseProxyGeolocationCity::Iquique),
"IRVINE" => Some(CreateSessionRequestUseProxyGeolocationCity::Irvine),
"ISIDRO_CASANOVA" => Some(CreateSessionRequestUseProxyGeolocationCity::IsidroCasanova),
"ISLAMABAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Islamabad),
"ISLINGTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Islington),
"ISMAILIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ismailia),
"ISPARTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Isparta),
"ISTANBUL" => Some(CreateSessionRequestUseProxyGeolocationCity::Istanbul),
"ITABORAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Itaborai),
"ITABUNA" => Some(CreateSessionRequestUseProxyGeolocationCity::Itabuna),
"ITAJAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Itajai),
"ITANHAEM" => Some(CreateSessionRequestUseProxyGeolocationCity::Itanhaem),
"ITAPEVI" => Some(CreateSessionRequestUseProxyGeolocationCity::Itapevi),
"ITAQUAQUECETUBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Itaquaquecetuba),
"ITUZAINGO" => Some(CreateSessionRequestUseProxyGeolocationCity::Ituzaingo),
"IZMIR" => Some(CreateSessionRequestUseProxyGeolocationCity::Izmir),
"IZTAPALAPA" => Some(CreateSessionRequestUseProxyGeolocationCity::Iztapalapa),
"JABOATAO_DOS GUARARAPES" => {
Some(CreateSessionRequestUseProxyGeolocationCity::JaboataoDosGuararapes)
}
"JACAREI" => Some(CreateSessionRequestUseProxyGeolocationCity::Jacarei),
"JACKSON" => Some(CreateSessionRequestUseProxyGeolocationCity::Jackson),
"JACKSONVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Jacksonville),
"JAIPUR" => Some(CreateSessionRequestUseProxyGeolocationCity::Jaipur),
"JAKARTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Jakarta),
"JARAGUA_DO SUL" => Some(CreateSessionRequestUseProxyGeolocationCity::JaraguaDoSul),
"JAU" => Some(CreateSessionRequestUseProxyGeolocationCity::Jau),
"JEDDAH" => Some(CreateSessionRequestUseProxyGeolocationCity::Jeddah),
"JEMBER" => Some(CreateSessionRequestUseProxyGeolocationCity::Jember),
"JERUSALEM" => Some(CreateSessionRequestUseProxyGeolocationCity::Jerusalem),
"JOAO_MONLEVADE" => Some(CreateSessionRequestUseProxyGeolocationCity::JoaoMonlevade),
"JOAO_PESSOA" => Some(CreateSessionRequestUseProxyGeolocationCity::JoaoPessoa),
"JODHPUR" => Some(CreateSessionRequestUseProxyGeolocationCity::Jodhpur),
"JOHANNESBURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Johannesburg),
"JOHOR_BAHRU" => Some(CreateSessionRequestUseProxyGeolocationCity::JohorBahru),
"JOINVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Joinville),
"JOSE_C PAZ" => Some(CreateSessionRequestUseProxyGeolocationCity::JoseCPaz),
"JOSE_MARIA EZEIZA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::JoseMariaEzeiza)
}
"JUAREZ" => Some(CreateSessionRequestUseProxyGeolocationCity::Juarez),
"JUAZEIRO_DO NORTE" => {
Some(CreateSessionRequestUseProxyGeolocationCity::JuazeiroDoNorte)
}
"JUIZ_DE FORA" => Some(CreateSessionRequestUseProxyGeolocationCity::JuizDeFora),
"JUNDIAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Jundiai),
"KAHRAMANMARAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Kahramanmaras),
"KAMPALA" => Some(CreateSessionRequestUseProxyGeolocationCity::Kampala),
"KANPUR" => Some(CreateSessionRequestUseProxyGeolocationCity::Kanpur),
"KANSAS_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::KansasCity),
"KAOHSIUNG_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::KaohsiungCity),
"KARABUK" => Some(CreateSessionRequestUseProxyGeolocationCity::Karabuk),
"KARACHI" => Some(CreateSessionRequestUseProxyGeolocationCity::Karachi),
"KARLSRUHE" => Some(CreateSessionRequestUseProxyGeolocationCity::Karlsruhe),
"KARNAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Karnal),
"KASKI" => Some(CreateSessionRequestUseProxyGeolocationCity::Kaski),
"KASTAMONU" => Some(CreateSessionRequestUseProxyGeolocationCity::Kastamonu),
"KATHMANDU" => Some(CreateSessionRequestUseProxyGeolocationCity::Kathmandu),
"KATOWICE" => Some(CreateSessionRequestUseProxyGeolocationCity::Katowice),
"KATSINA" => Some(CreateSessionRequestUseProxyGeolocationCity::Katsina),
"KATY" => Some(CreateSessionRequestUseProxyGeolocationCity::Katy),
"KAUNAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Kaunas),
"KAYSERI" => Some(CreateSessionRequestUseProxyGeolocationCity::Kayseri),
"KAZAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Kazan),
"KECSKEMET" => Some(CreateSessionRequestUseProxyGeolocationCity::Kecskemet),
"KEDIRI" => Some(CreateSessionRequestUseProxyGeolocationCity::Kediri),
"KENITRA" => Some(CreateSessionRequestUseProxyGeolocationCity::Kenitra),
"KHARKIV" => Some(CreateSessionRequestUseProxyGeolocationCity::Kharkiv),
"KHMELNYTSKYI" => Some(CreateSessionRequestUseProxyGeolocationCity::Khmelnytskyi),
"KHON_KAEN" => Some(CreateSessionRequestUseProxyGeolocationCity::KhonKaen),
"KIELCE" => Some(CreateSessionRequestUseProxyGeolocationCity::Kielce),
"KIGALI" => Some(CreateSessionRequestUseProxyGeolocationCity::Kigali),
"KINGSTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Kingston),
"KIRKLARELI" => Some(CreateSessionRequestUseProxyGeolocationCity::Kirklareli),
"KISSIMMEE" => Some(CreateSessionRequestUseProxyGeolocationCity::Kissimmee),
"KITCHENER" => Some(CreateSessionRequestUseProxyGeolocationCity::Kitchener),
"KLAIPEDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Klaipeda),
"KNOXVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Knoxville),
"KOCHI" => Some(CreateSessionRequestUseProxyGeolocationCity::Kochi),
"KOLKATA" => Some(CreateSessionRequestUseProxyGeolocationCity::Kolkata),
"KOLLAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Kollam),
"KONYA" => Some(CreateSessionRequestUseProxyGeolocationCity::Konya),
"KOSEKOY" => Some(CreateSessionRequestUseProxyGeolocationCity::Kosekoy),
"KOSICE" => Some(CreateSessionRequestUseProxyGeolocationCity::Kosice),
"KOTA_KINABALU" => Some(CreateSessionRequestUseProxyGeolocationCity::KotaKinabalu),
"KOZHIKODE" => Some(CreateSessionRequestUseProxyGeolocationCity::Kozhikode),
"KRAKOW" => Some(CreateSessionRequestUseProxyGeolocationCity::Krakow),
"KRASNODAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Krasnodar),
"KRYVYI_RIH" => Some(CreateSessionRequestUseProxyGeolocationCity::KryvyiRih),
"KUALA_LUMPUR" => Some(CreateSessionRequestUseProxyGeolocationCity::KualaLumpur),
"KUCHING" => Some(CreateSessionRequestUseProxyGeolocationCity::Kuching),
"KUTAHYA" => Some(CreateSessionRequestUseProxyGeolocationCity::Kutahya),
"KUTAISI" => Some(CreateSessionRequestUseProxyGeolocationCity::Kutaisi),
"KUWAIT_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::KuwaitCity),
"KYIV" => Some(CreateSessionRequestUseProxyGeolocationCity::Kyiv),
"LA_PAZ" => Some(CreateSessionRequestUseProxyGeolocationCity::LaPaz),
"LA_PLATA" => Some(CreateSessionRequestUseProxyGeolocationCity::LaPlata),
"LA_RIOJA" => Some(CreateSessionRequestUseProxyGeolocationCity::LaRioja),
"LA_SERENA" => Some(CreateSessionRequestUseProxyGeolocationCity::LaSerena),
"LAFAYETTE" => Some(CreateSessionRequestUseProxyGeolocationCity::Lafayette),
"LAFERRERE" => Some(CreateSessionRequestUseProxyGeolocationCity::Laferrere),
"LAGES" => Some(CreateSessionRequestUseProxyGeolocationCity::Lages),
"LAGOS" => Some(CreateSessionRequestUseProxyGeolocationCity::Lagos),
"LAHORE" => Some(CreateSessionRequestUseProxyGeolocationCity::Lahore),
"LAHUG" => Some(CreateSessionRequestUseProxyGeolocationCity::Lahug),
"LAKE_WORTH" => Some(CreateSessionRequestUseProxyGeolocationCity::LakeWorth),
"LAKELAND" => Some(CreateSessionRequestUseProxyGeolocationCity::Lakeland),
"LANCASTER" => Some(CreateSessionRequestUseProxyGeolocationCity::Lancaster),
"LANUS" => Some(CreateSessionRequestUseProxyGeolocationCity::Lanus),
"LAS_PALMAS DE GRAN CANARIA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::LasPalmasDeGranCanaria)
}
"LAS_PINAS" => Some(CreateSessionRequestUseProxyGeolocationCity::LasPinas),
"LAS_VEGAS" => Some(CreateSessionRequestUseProxyGeolocationCity::LasVegas),
"LAUSANNE" => Some(CreateSessionRequestUseProxyGeolocationCity::Lausanne),
"LAVAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Laval),
"LAWRENCEVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Lawrenceville),
"LE_MANS" => Some(CreateSessionRequestUseProxyGeolocationCity::LeMans),
"LEEDS" => Some(CreateSessionRequestUseProxyGeolocationCity::Leeds),
"LEICESTER" => Some(CreateSessionRequestUseProxyGeolocationCity::Leicester),
"LEIPZIG" => Some(CreateSessionRequestUseProxyGeolocationCity::Leipzig),
"LEON" => Some(CreateSessionRequestUseProxyGeolocationCity::Leon),
"LEXINGTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Lexington),
"LIBREVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Libreville),
"LIEGE" => Some(CreateSessionRequestUseProxyGeolocationCity::Liege),
"LILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Lille),
"LIMA" => Some(CreateSessionRequestUseProxyGeolocationCity::Lima),
"LIMASSOL" => Some(CreateSessionRequestUseProxyGeolocationCity::Limassol),
"LIMEIRA" => Some(CreateSessionRequestUseProxyGeolocationCity::Limeira),
"LINCOLN" => Some(CreateSessionRequestUseProxyGeolocationCity::Lincoln),
"LINHARES" => Some(CreateSessionRequestUseProxyGeolocationCity::Linhares),
"LIPA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::LipaCity),
"LISBON" => Some(CreateSessionRequestUseProxyGeolocationCity::Lisbon),
"LIVERPOOL" => Some(CreateSessionRequestUseProxyGeolocationCity::Liverpool),
"LJUBLJANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ljubljana),
"LODZ" => Some(CreateSessionRequestUseProxyGeolocationCity::Lodz),
"LOJA" => Some(CreateSessionRequestUseProxyGeolocationCity::Loja),
"LOMAS_DE ZAMORA" => Some(CreateSessionRequestUseProxyGeolocationCity::LomasDeZamora),
"LOME" => Some(CreateSessionRequestUseProxyGeolocationCity::Lome),
"LONDRINA" => Some(CreateSessionRequestUseProxyGeolocationCity::Londrina),
"LONG_BEACH" => Some(CreateSessionRequestUseProxyGeolocationCity::LongBeach),
"LONGUEUIL" => Some(CreateSessionRequestUseProxyGeolocationCity::Longueuil),
"LOUISVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Louisville),
"LUANDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Luanda),
"LUBLIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Lublin),
"LUCENA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::LucenaCity),
"LUCKNOW" => Some(CreateSessionRequestUseProxyGeolocationCity::Lucknow),
"LUDHIANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ludhiana),
"LUSAKA" => Some(CreateSessionRequestUseProxyGeolocationCity::Lusaka),
"LUXEMBOURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Luxembourg),
"LUZIANIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Luziania),
"LVIV" => Some(CreateSessionRequestUseProxyGeolocationCity::Lviv),
"LYON" => Some(CreateSessionRequestUseProxyGeolocationCity::Lyon),
"MABALACAT" => Some(CreateSessionRequestUseProxyGeolocationCity::Mabalacat),
"MACAE" => Some(CreateSessionRequestUseProxyGeolocationCity::Macae),
"MACAO" => Some(CreateSessionRequestUseProxyGeolocationCity::Macao),
"MACAPA" => Some(CreateSessionRequestUseProxyGeolocationCity::Macapa),
"MACEIO" => Some(CreateSessionRequestUseProxyGeolocationCity::Maceio),
"MACHALA" => Some(CreateSessionRequestUseProxyGeolocationCity::Machala),
"MADISON" => Some(CreateSessionRequestUseProxyGeolocationCity::Madison),
"MADRID" => Some(CreateSessionRequestUseProxyGeolocationCity::Madrid),
"MAGE" => Some(CreateSessionRequestUseProxyGeolocationCity::Mage),
"MAGELANG" => Some(CreateSessionRequestUseProxyGeolocationCity::Magelang),
"MAGNESIA_AD SIPYLUM" => {
Some(CreateSessionRequestUseProxyGeolocationCity::MagnesiaAdSipylum)
}
"MAKASSAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Makassar),
"MAKATI_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::MakatiCity),
"MALABON" => Some(CreateSessionRequestUseProxyGeolocationCity::Malabon),
"MALAGA" => Some(CreateSessionRequestUseProxyGeolocationCity::Malaga),
"MALANG" => Some(CreateSessionRequestUseProxyGeolocationCity::Malang),
"MALAPPURAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Malappuram),
"MALDONADO" => Some(CreateSessionRequestUseProxyGeolocationCity::Maldonado),
"MALE" => Some(CreateSessionRequestUseProxyGeolocationCity::Male),
"MALMO" => Some(CreateSessionRequestUseProxyGeolocationCity::Malmo),
"MANADO" => Some(CreateSessionRequestUseProxyGeolocationCity::Manado),
"MANAGUA" => Some(CreateSessionRequestUseProxyGeolocationCity::Managua),
"MANAMA" => Some(CreateSessionRequestUseProxyGeolocationCity::Manama),
"MANAUS" => Some(CreateSessionRequestUseProxyGeolocationCity::Manaus),
"MANCHESTER" => Some(CreateSessionRequestUseProxyGeolocationCity::Manchester),
"MANDALUYONG_CITY" => {
Some(CreateSessionRequestUseProxyGeolocationCity::MandaluyongCity)
}
"MANILA" => Some(CreateSessionRequestUseProxyGeolocationCity::Manila),
"MANIZALES" => Some(CreateSessionRequestUseProxyGeolocationCity::Manizales),
"MANNHEIM" => Some(CreateSessionRequestUseProxyGeolocationCity::Mannheim),
"MAPUTO" => Some(CreateSessionRequestUseProxyGeolocationCity::Maputo),
"MAR_DEL PLATA" => Some(CreateSessionRequestUseProxyGeolocationCity::MarDelPlata),
"MARABA" => Some(CreateSessionRequestUseProxyGeolocationCity::Maraba),
"MARACAIBO" => Some(CreateSessionRequestUseProxyGeolocationCity::Maracaibo),
"MARACANAU" => Some(CreateSessionRequestUseProxyGeolocationCity::Maracanau),
"MARACAY" => Some(CreateSessionRequestUseProxyGeolocationCity::Maracay),
"MARDIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Mardin),
"MARIBOR" => Some(CreateSessionRequestUseProxyGeolocationCity::Maribor),
"MARICA" => Some(CreateSessionRequestUseProxyGeolocationCity::Marica),
"MARIETTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Marietta),
"MARIKINA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::MarikinaCity),
"MARILIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Marilia),
"MARINGA" => Some(CreateSessionRequestUseProxyGeolocationCity::Maringa),
"MARRAKESH" => Some(CreateSessionRequestUseProxyGeolocationCity::Marrakesh),
"MARSEILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Marseille),
"MAUA" => Some(CreateSessionRequestUseProxyGeolocationCity::Maua),
"MAZATLAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Mazatlan),
"MEDAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Medan),
"MEDELLIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Medellin),
"MEDINA" => Some(CreateSessionRequestUseProxyGeolocationCity::Medina),
"MEERUT" => Some(CreateSessionRequestUseProxyGeolocationCity::Meerut),
"MEKNES" => Some(CreateSessionRequestUseProxyGeolocationCity::Meknes),
"MELBOURNE" => Some(CreateSessionRequestUseProxyGeolocationCity::Melbourne),
"MEMPHIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Memphis),
"MENDOZA" => Some(CreateSessionRequestUseProxyGeolocationCity::Mendoza),
"MERIDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Merida),
"MERKEZ" => Some(CreateSessionRequestUseProxyGeolocationCity::Merkez),
"MERLO" => Some(CreateSessionRequestUseProxyGeolocationCity::Merlo),
"MERSIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Mersin),
"MESA" => Some(CreateSessionRequestUseProxyGeolocationCity::Mesa),
"MEXICALI" => Some(CreateSessionRequestUseProxyGeolocationCity::Mexicali),
"MEXICO_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::MexicoCity),
"MILAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Milan),
"MILTON_KEYNES" => Some(CreateSessionRequestUseProxyGeolocationCity::MiltonKeynes),
"MILWAUKEE" => Some(CreateSessionRequestUseProxyGeolocationCity::Milwaukee),
"MINNEAPOLIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Minneapolis),
"MINSK" => Some(CreateSessionRequestUseProxyGeolocationCity::Minsk),
"MISKOLC" => Some(CreateSessionRequestUseProxyGeolocationCity::Miskolc),
"MISSISSAUGA" => Some(CreateSessionRequestUseProxyGeolocationCity::Mississauga),
"MOGI_DAS CRUZES" => Some(CreateSessionRequestUseProxyGeolocationCity::MogiDasCruzes),
"MOHALI" => Some(CreateSessionRequestUseProxyGeolocationCity::Mohali),
"MONROE" => Some(CreateSessionRequestUseProxyGeolocationCity::Monroe),
"MONTE_GRANDE" => Some(CreateSessionRequestUseProxyGeolocationCity::MonteGrande),
"MONTEGO_BAY" => Some(CreateSessionRequestUseProxyGeolocationCity::MontegoBay),
"MONTERREY" => Some(CreateSessionRequestUseProxyGeolocationCity::Monterrey),
"MONTES_CLAROS" => Some(CreateSessionRequestUseProxyGeolocationCity::MontesClaros),
"MONTEVIDEO" => Some(CreateSessionRequestUseProxyGeolocationCity::Montevideo),
"MONTGOMERY" => Some(CreateSessionRequestUseProxyGeolocationCity::Montgomery),
"MONTPELLIER" => Some(CreateSessionRequestUseProxyGeolocationCity::Montpellier),
"MONTREAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Montreal),
"MORELIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Morelia),
"MORENO" => Some(CreateSessionRequestUseProxyGeolocationCity::Moreno),
"MORON" => Some(CreateSessionRequestUseProxyGeolocationCity::Moron),
"MOSSORO" => Some(CreateSessionRequestUseProxyGeolocationCity::Mossoro),
"MUGLA" => Some(CreateSessionRequestUseProxyGeolocationCity::Mugla),
"MULTAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Multan),
"MUMBAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Mumbai),
"MUNICH" => Some(CreateSessionRequestUseProxyGeolocationCity::Munich),
"MURCIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Murcia),
"MUSCAT" => Some(CreateSessionRequestUseProxyGeolocationCity::Muscat),
"MUZAFFARGARH" => Some(CreateSessionRequestUseProxyGeolocationCity::Muzaffargarh),
"MYKOLAYIV" => Some(CreateSessionRequestUseProxyGeolocationCity::Mykolayiv),
"NAALDWIJK" => Some(CreateSessionRequestUseProxyGeolocationCity::Naaldwijk),
"NAGA" => Some(CreateSessionRequestUseProxyGeolocationCity::Naga),
"NAGPUR" => Some(CreateSessionRequestUseProxyGeolocationCity::Nagpur),
"NAIROBI" => Some(CreateSessionRequestUseProxyGeolocationCity::Nairobi),
"NANTES" => Some(CreateSessionRequestUseProxyGeolocationCity::Nantes),
"NAPLES" => Some(CreateSessionRequestUseProxyGeolocationCity::Naples),
"NASHVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Nashville),
"NASSAU" => Some(CreateSessionRequestUseProxyGeolocationCity::Nassau),
"NASUGBU" => Some(CreateSessionRequestUseProxyGeolocationCity::Nasugbu),
"NATAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Natal),
"NAUCALPAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Naucalpan),
"NAVI_MUMBAI" => Some(CreateSessionRequestUseProxyGeolocationCity::NaviMumbai),
"NEIVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Neiva),
"NEUQUEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Neuquen),
"NEVSEHIR" => Some(CreateSessionRequestUseProxyGeolocationCity::Nevsehir),
"NEW_DELHI" => Some(CreateSessionRequestUseProxyGeolocationCity::NewDelhi),
"NEW_ORLEANS" => Some(CreateSessionRequestUseProxyGeolocationCity::NewOrleans),
"NEW_TAIPEI" => Some(CreateSessionRequestUseProxyGeolocationCity::NewTaipei),
"NEWARK" => Some(CreateSessionRequestUseProxyGeolocationCity::Newark),
"NEWCASTLE_UPON TYNE" => {
Some(CreateSessionRequestUseProxyGeolocationCity::NewcastleUponTyne)
}
"NHA_TRANG" => Some(CreateSessionRequestUseProxyGeolocationCity::NhaTrang),
"NICE" => Some(CreateSessionRequestUseProxyGeolocationCity::Nice),
"NICOSIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Nicosia),
"NILOPOLIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Nilopolis),
"NIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Nis),
"NITEROI" => Some(CreateSessionRequestUseProxyGeolocationCity::Niteroi),
"NITRA" => Some(CreateSessionRequestUseProxyGeolocationCity::Nitra),
"NIZHNIY_NOVGOROD" => {
Some(CreateSessionRequestUseProxyGeolocationCity::NizhniyNovgorod)
}
"NOGALES" => Some(CreateSessionRequestUseProxyGeolocationCity::Nogales),
"NOIDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Noida),
"NORTHAMPTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Northampton),
"NORWICH" => Some(CreateSessionRequestUseProxyGeolocationCity::Norwich),
"NOTTINGHAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Nottingham),
"NOVA_FRIBURGO" => Some(CreateSessionRequestUseProxyGeolocationCity::NovaFriburgo),
"NOVA_IGUACU" => Some(CreateSessionRequestUseProxyGeolocationCity::NovaIguacu),
"NOVI_SAD" => Some(CreateSessionRequestUseProxyGeolocationCity::NoviSad),
"NOVO_HAMBURGO" => Some(CreateSessionRequestUseProxyGeolocationCity::NovoHamburgo),
"NOVOSIBIRSK" => Some(CreateSessionRequestUseProxyGeolocationCity::Novosibirsk),
"NUREMBERG" => Some(CreateSessionRequestUseProxyGeolocationCity::Nuremberg),
"OAKLAND" => Some(CreateSessionRequestUseProxyGeolocationCity::Oakland),
"OAXACA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::OaxacaCity),
"ODESA" => Some(CreateSessionRequestUseProxyGeolocationCity::Odesa),
"OKLAHOMA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::OklahomaCity),
"OLINDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Olinda),
"OLOMOUC" => Some(CreateSessionRequestUseProxyGeolocationCity::Olomouc),
"OLONGAPO_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::OlongapoCity),
"OLSZTYN" => Some(CreateSessionRequestUseProxyGeolocationCity::Olsztyn),
"OMAHA" => Some(CreateSessionRequestUseProxyGeolocationCity::Omaha),
"ORADEA" => Some(CreateSessionRequestUseProxyGeolocationCity::Oradea),
"ORAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Oran),
"ORDU" => Some(CreateSessionRequestUseProxyGeolocationCity::Ordu),
"ORLANDO" => Some(CreateSessionRequestUseProxyGeolocationCity::Orlando),
"OSASCO" => Some(CreateSessionRequestUseProxyGeolocationCity::Osasco),
"OSLO" => Some(CreateSessionRequestUseProxyGeolocationCity::Oslo),
"OSMANIYE" => Some(CreateSessionRequestUseProxyGeolocationCity::Osmaniye),
"OSTRAVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ostrava),
"OTTAWA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ottawa),
"OUJDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Oujda),
"OURINHOS" => Some(CreateSessionRequestUseProxyGeolocationCity::Ourinhos),
"PACHUCA" => Some(CreateSessionRequestUseProxyGeolocationCity::Pachuca),
"PADOVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Padova),
"PALAKKAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Palakkad),
"PALEMBANG" => Some(CreateSessionRequestUseProxyGeolocationCity::Palembang),
"PALERMO" => Some(CreateSessionRequestUseProxyGeolocationCity::Palermo),
"PALHOCA" => Some(CreateSessionRequestUseProxyGeolocationCity::Palhoca),
"PALMA" => Some(CreateSessionRequestUseProxyGeolocationCity::Palma),
"PALMAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Palmas),
"PANAMA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::PanamaCity),
"PARAMARIBO" => Some(CreateSessionRequestUseProxyGeolocationCity::Paramaribo),
"PARANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Parana),
"PARANAGUA" => Some(CreateSessionRequestUseProxyGeolocationCity::Paranagua),
"PARANAQUE_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::ParanaqueCity),
"PARAUAPEBAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Parauapebas),
"PARIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Paris),
"PARNAIBA" => Some(CreateSessionRequestUseProxyGeolocationCity::Parnaiba),
"PARNAMIRIM" => Some(CreateSessionRequestUseProxyGeolocationCity::Parnamirim),
"PASSO_FUNDO" => Some(CreateSessionRequestUseProxyGeolocationCity::PassoFundo),
"PASTO" => Some(CreateSessionRequestUseProxyGeolocationCity::Pasto),
"PATAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Patan),
"PATNA" => Some(CreateSessionRequestUseProxyGeolocationCity::Patna),
"PATOS_DE MINAS" => Some(CreateSessionRequestUseProxyGeolocationCity::PatosDeMinas),
"PAULISTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Paulista),
"PECS" => Some(CreateSessionRequestUseProxyGeolocationCity::Pecs),
"PEKANBARU" => Some(CreateSessionRequestUseProxyGeolocationCity::Pekanbaru),
"PELOTAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Pelotas),
"PEORIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Peoria),
"PEREIRA" => Some(CreateSessionRequestUseProxyGeolocationCity::Pereira),
"PERM" => Some(CreateSessionRequestUseProxyGeolocationCity::Perm),
"PERTH" => Some(CreateSessionRequestUseProxyGeolocationCity::Perth),
"PESCARA" => Some(CreateSessionRequestUseProxyGeolocationCity::Pescara),
"PESHAWAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Peshawar),
"PETAH_TIKVA" => Some(CreateSessionRequestUseProxyGeolocationCity::PetahTikva),
"PETALING_JAYA" => Some(CreateSessionRequestUseProxyGeolocationCity::PetalingJaya),
"PETROLINA" => Some(CreateSessionRequestUseProxyGeolocationCity::Petrolina),
"PETROPOLIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Petropolis),
"PHILADELPHIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Philadelphia),
"PHNOM_PENH" => Some(CreateSessionRequestUseProxyGeolocationCity::PhnomPenh),
"PHOENIX" => Some(CreateSessionRequestUseProxyGeolocationCity::Phoenix),
"PILAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Pilar),
"PINDAMONHANGABA" => Some(CreateSessionRequestUseProxyGeolocationCity::Pindamonhangaba),
"PIRACICABA" => Some(CreateSessionRequestUseProxyGeolocationCity::Piracicaba),
"PITESTI" => Some(CreateSessionRequestUseProxyGeolocationCity::Pitesti),
"PITTSBURGH" => Some(CreateSessionRequestUseProxyGeolocationCity::Pittsburgh),
"PIURA" => Some(CreateSessionRequestUseProxyGeolocationCity::Piura),
"PLANO" => Some(CreateSessionRequestUseProxyGeolocationCity::Plano),
"PLOIESTI" => Some(CreateSessionRequestUseProxyGeolocationCity::Ploiesti),
"PLOVDIV" => Some(CreateSessionRequestUseProxyGeolocationCity::Plovdiv),
"PLYMOUTH" => Some(CreateSessionRequestUseProxyGeolocationCity::Plymouth),
"POCOS_DE CALDAS" => Some(CreateSessionRequestUseProxyGeolocationCity::PocosDeCaldas),
"PODGORICA" => Some(CreateSessionRequestUseProxyGeolocationCity::Podgorica),
"POLTAVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Poltava),
"PONTA_GROSSA" => Some(CreateSessionRequestUseProxyGeolocationCity::PontaGrossa),
"PONTIANAK" => Some(CreateSessionRequestUseProxyGeolocationCity::Pontianak),
"POPAYAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Popayan),
"PORT_AU PRINCE" => Some(CreateSessionRequestUseProxyGeolocationCity::PortAuPrince),
"PORT_ELIZABETH" => Some(CreateSessionRequestUseProxyGeolocationCity::PortElizabeth),
"PORT_HARCOURT" => Some(CreateSessionRequestUseProxyGeolocationCity::PortHarcourt),
"PORT_LOUIS" => Some(CreateSessionRequestUseProxyGeolocationCity::PortLouis),
"PORT_MONTT" => Some(CreateSessionRequestUseProxyGeolocationCity::PortMontt),
"PORT_OF SPAIN" => Some(CreateSessionRequestUseProxyGeolocationCity::PortOfSpain),
"PORT_SAID" => Some(CreateSessionRequestUseProxyGeolocationCity::PortSaid),
"PORTLAND" => Some(CreateSessionRequestUseProxyGeolocationCity::Portland),
"PORTO" => Some(CreateSessionRequestUseProxyGeolocationCity::Porto),
"PORTO_ALEGRE" => Some(CreateSessionRequestUseProxyGeolocationCity::PortoAlegre),
"PORTO_SEGURO" => Some(CreateSessionRequestUseProxyGeolocationCity::PortoSeguro),
"PORTO_VELHO" => Some(CreateSessionRequestUseProxyGeolocationCity::PortoVelho),
"PORTOVIEJO" => Some(CreateSessionRequestUseProxyGeolocationCity::Portoviejo),
"POSADAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Posadas),
"POUSO_ALEGRE" => Some(CreateSessionRequestUseProxyGeolocationCity::PousoAlegre),
"POZNAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Poznan),
"PRAGUE" => Some(CreateSessionRequestUseProxyGeolocationCity::Prague),
"PRAIA_GRANDE" => Some(CreateSessionRequestUseProxyGeolocationCity::PraiaGrande),
"PRESIDENTE_PRUDENTE" => {
Some(CreateSessionRequestUseProxyGeolocationCity::PresidentePrudente)
}
"PRETORIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Pretoria),
"PRISTINA" => Some(CreateSessionRequestUseProxyGeolocationCity::Pristina),
"PROVIDENCE" => Some(CreateSessionRequestUseProxyGeolocationCity::Providence),
"PUCALLPA" => Some(CreateSessionRequestUseProxyGeolocationCity::Pucallpa),
"PUCHONG_BATU DUA BELAS" => {
Some(CreateSessionRequestUseProxyGeolocationCity::PuchongBatuDuaBelas)
}
"PUEBLA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::PueblaCity),
"PUNE" => Some(CreateSessionRequestUseProxyGeolocationCity::Pune),
"QUEBEC" => Some(CreateSessionRequestUseProxyGeolocationCity::Quebec),
"QUEENS" => Some(CreateSessionRequestUseProxyGeolocationCity::Queens),
"QUEIMADOS" => Some(CreateSessionRequestUseProxyGeolocationCity::Queimados),
"QUERETARO_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::QueretaroCity),
"QUEZON_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::QuezonCity),
"QUILMES" => Some(CreateSessionRequestUseProxyGeolocationCity::Quilmes),
"QUITO" => Some(CreateSessionRequestUseProxyGeolocationCity::Quito),
"RABAT" => Some(CreateSessionRequestUseProxyGeolocationCity::Rabat),
"RAIPUR" => Some(CreateSessionRequestUseProxyGeolocationCity::Raipur),
"RAJKOT" => Some(CreateSessionRequestUseProxyGeolocationCity::Rajkot),
"RAJSHAHI" => Some(CreateSessionRequestUseProxyGeolocationCity::Rajshahi),
"RALEIGH" => Some(CreateSessionRequestUseProxyGeolocationCity::Raleigh),
"RAMAT_GAN" => Some(CreateSessionRequestUseProxyGeolocationCity::RamatGan),
"RANCAGUA" => Some(CreateSessionRequestUseProxyGeolocationCity::Rancagua),
"RANCHI" => Some(CreateSessionRequestUseProxyGeolocationCity::Ranchi),
"RAS_AL KHAIMAH" => Some(CreateSessionRequestUseProxyGeolocationCity::RasAlKhaimah),
"RAWALPINDI" => Some(CreateSessionRequestUseProxyGeolocationCity::Rawalpindi),
"READING" => Some(CreateSessionRequestUseProxyGeolocationCity::Reading),
"RECIFE" => Some(CreateSessionRequestUseProxyGeolocationCity::Recife),
"REGINA" => Some(CreateSessionRequestUseProxyGeolocationCity::Regina),
"RENNES" => Some(CreateSessionRequestUseProxyGeolocationCity::Rennes),
"RENO" => Some(CreateSessionRequestUseProxyGeolocationCity::Reno),
"RESISTENCIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Resistencia),
"REYKJAVIK" => Some(CreateSessionRequestUseProxyGeolocationCity::Reykjavik),
"REYNOSA" => Some(CreateSessionRequestUseProxyGeolocationCity::Reynosa),
"RIBEIRAO_DAS NEVES" => {
Some(CreateSessionRequestUseProxyGeolocationCity::RibeiraoDasNeves)
}
"RIBEIRAO_PRETO" => Some(CreateSessionRequestUseProxyGeolocationCity::RibeiraoPreto),
"RICHMOND" => Some(CreateSessionRequestUseProxyGeolocationCity::Richmond),
"RIGA" => Some(CreateSessionRequestUseProxyGeolocationCity::Riga),
"RIO_BRANCO" => Some(CreateSessionRequestUseProxyGeolocationCity::RioBranco),
"RIO_CLARO" => Some(CreateSessionRequestUseProxyGeolocationCity::RioClaro),
"RIO_CUARTO" => Some(CreateSessionRequestUseProxyGeolocationCity::RioCuarto),
"RIO_DE JANEIRO" => Some(CreateSessionRequestUseProxyGeolocationCity::RioDeJaneiro),
"RIO_DO SUL" => Some(CreateSessionRequestUseProxyGeolocationCity::RioDoSul),
"RIO_GALLEGOS" => Some(CreateSessionRequestUseProxyGeolocationCity::RioGallegos),
"RIO_GRANDE" => Some(CreateSessionRequestUseProxyGeolocationCity::RioGrande),
"RISHON_LETSIYYON" => {
Some(CreateSessionRequestUseProxyGeolocationCity::RishonLetsiyyon)
}
"RIVERSIDE" => Some(CreateSessionRequestUseProxyGeolocationCity::Riverside),
"RIYADH" => Some(CreateSessionRequestUseProxyGeolocationCity::Riyadh),
"RIZE" => Some(CreateSessionRequestUseProxyGeolocationCity::Rize),
"ROCHESTER" => Some(CreateSessionRequestUseProxyGeolocationCity::Rochester),
"ROME" => Some(CreateSessionRequestUseProxyGeolocationCity::Rome),
"RONDONOPOLIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Rondonopolis),
"ROSARIO" => Some(CreateSessionRequestUseProxyGeolocationCity::Rosario),
"ROSEAU" => Some(CreateSessionRequestUseProxyGeolocationCity::Roseau),
"ROSTOV_ON DON" => Some(CreateSessionRequestUseProxyGeolocationCity::RostovOnDon),
"ROTTERDAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Rotterdam),
"ROUEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Rouen),
"ROUSSE" => Some(CreateSessionRequestUseProxyGeolocationCity::Rousse),
"RZESZOW" => Some(CreateSessionRequestUseProxyGeolocationCity::Rzeszow),
"SACRAMENTO" => Some(CreateSessionRequestUseProxyGeolocationCity::Sacramento),
"SAGAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Sagar),
"SAINT_PAUL" => Some(CreateSessionRequestUseProxyGeolocationCity::SaintPaul),
"SALE" => Some(CreateSessionRequestUseProxyGeolocationCity::Sale),
"SALT_LAKE CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::SaltLakeCity),
"SALTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Salta),
"SALTILLO" => Some(CreateSessionRequestUseProxyGeolocationCity::Saltillo),
"SALVADOR" => Some(CreateSessionRequestUseProxyGeolocationCity::Salvador),
"SAMARA" => Some(CreateSessionRequestUseProxyGeolocationCity::Samara),
"SAMARINDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Samarinda),
"SAMARKAND" => Some(CreateSessionRequestUseProxyGeolocationCity::Samarkand),
"SAMSUN" => Some(CreateSessionRequestUseProxyGeolocationCity::Samsun),
"SAN_ANTONIO" => Some(CreateSessionRequestUseProxyGeolocationCity::SanAntonio),
"SAN_DIEGO" => Some(CreateSessionRequestUseProxyGeolocationCity::SanDiego),
"SAN_FERNANDO" => Some(CreateSessionRequestUseProxyGeolocationCity::SanFernando),
"SAN_FRANCISCO" => Some(CreateSessionRequestUseProxyGeolocationCity::SanFrancisco),
"SAN_JOSE" => Some(CreateSessionRequestUseProxyGeolocationCity::SanJose),
"SAN_JOSE DEL MONTE" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SanJoseDelMonte)
}
"SAN_JUAN" => Some(CreateSessionRequestUseProxyGeolocationCity::SanJuan),
"SAN_JUSTO" => Some(CreateSessionRequestUseProxyGeolocationCity::SanJusto),
"SAN_LUIS" => Some(CreateSessionRequestUseProxyGeolocationCity::SanLuis),
"SAN_LUIS POTOSI CITY" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SanLuisPotosiCity)
}
"SAN_MIGUEL" => Some(CreateSessionRequestUseProxyGeolocationCity::SanMiguel),
"SAN_MIGUEL DE TUCUMAN" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SanMiguelDeTucuman)
}
"SAN_PABLO CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::SanPabloCity),
"SAN_PEDRO" => Some(CreateSessionRequestUseProxyGeolocationCity::SanPedro),
"SAN_PEDRO SULA" => Some(CreateSessionRequestUseProxyGeolocationCity::SanPedroSula),
"SAN_SALVADOR" => Some(CreateSessionRequestUseProxyGeolocationCity::SanSalvador),
"SAN_SALVADOR DE JUJUY" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SanSalvadorDeJujuy)
}
"SANAA" => Some(CreateSessionRequestUseProxyGeolocationCity::Sanaa),
"SANLIURFA" => Some(CreateSessionRequestUseProxyGeolocationCity::Sanliurfa),
"SANTA_CRUZ" => Some(CreateSessionRequestUseProxyGeolocationCity::SantaCruz),
"SANTA_CRUZ DE TENERIFE" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SantaCruzDeTenerife)
}
"SANTA_CRUZ DO SUL" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SantaCruzDoSul)
}
"SANTA_FE" => Some(CreateSessionRequestUseProxyGeolocationCity::SantaFe),
"SANTA_LUZIA" => Some(CreateSessionRequestUseProxyGeolocationCity::SantaLuzia),
"SANTA_MARIA" => Some(CreateSessionRequestUseProxyGeolocationCity::SantaMaria),
"SANTA_MARTA" => Some(CreateSessionRequestUseProxyGeolocationCity::SantaMarta),
"SANTA_ROSA" => Some(CreateSessionRequestUseProxyGeolocationCity::SantaRosa),
"SANTAREM" => Some(CreateSessionRequestUseProxyGeolocationCity::Santarem),
"SANTIAGO" => Some(CreateSessionRequestUseProxyGeolocationCity::Santiago),
"SANTIAGO_DE CALI" => Some(CreateSessionRequestUseProxyGeolocationCity::SantiagoDeCali),
"SANTIAGO_DE LOS CABALLEROS" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SantiagoDeLosCaballeros)
}
"SANTO_ANDRE" => Some(CreateSessionRequestUseProxyGeolocationCity::SantoAndre),
"SANTO_DOMINGO" => Some(CreateSessionRequestUseProxyGeolocationCity::SantoDomingo),
"SANTO_DOMINGO ESTE" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SantoDomingoEste)
}
"SANTOS" => Some(CreateSessionRequestUseProxyGeolocationCity::Santos),
"SAO_BERNARDO DO CAMPO" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SaoBernardoDoCampo)
}
"SAO_CARLOS" => Some(CreateSessionRequestUseProxyGeolocationCity::SaoCarlos),
"SAO_GONCALO" => Some(CreateSessionRequestUseProxyGeolocationCity::SaoGoncalo),
"SAO_JOAO DE MERITI" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SaoJoaoDeMeriti)
}
"SAO_JOSE" => Some(CreateSessionRequestUseProxyGeolocationCity::SaoJose),
"SAO_JOSE DO RIO PRETO" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SaoJoseDoRioPreto)
}
"SAO_JOSE DOS CAMPOS" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SaoJoseDosCampos)
}
"SAO_JOSE DOS PINHAIS" => {
Some(CreateSessionRequestUseProxyGeolocationCity::SaoJoseDosPinhais)
}
"SAO_LEOPOLDO" => Some(CreateSessionRequestUseProxyGeolocationCity::SaoLeopoldo),
"SAO_LUIS" => Some(CreateSessionRequestUseProxyGeolocationCity::SaoLuis),
"SAO_PAULO" => Some(CreateSessionRequestUseProxyGeolocationCity::SaoPaulo),
"SAO_VICENTE" => Some(CreateSessionRequestUseProxyGeolocationCity::SaoVicente),
"SARAJEVO" => Some(CreateSessionRequestUseProxyGeolocationCity::Sarajevo),
"SASKATOON" => Some(CreateSessionRequestUseProxyGeolocationCity::Saskatoon),
"SCARBOROUGH" => Some(CreateSessionRequestUseProxyGeolocationCity::Scarborough),
"SEATTLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Seattle),
"SEMARANG" => Some(CreateSessionRequestUseProxyGeolocationCity::Semarang),
"SEO_GU" => Some(CreateSessionRequestUseProxyGeolocationCity::SeoGu),
"SEONGNAM_SI" => Some(CreateSessionRequestUseProxyGeolocationCity::SeongnamSi),
"SEOUL" => Some(CreateSessionRequestUseProxyGeolocationCity::Seoul),
"SERRA" => Some(CreateSessionRequestUseProxyGeolocationCity::Serra),
"SETE_LAGOAS" => Some(CreateSessionRequestUseProxyGeolocationCity::SeteLagoas),
"SETIF" => Some(CreateSessionRequestUseProxyGeolocationCity::Setif),
"SETUBAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Setubal),
"SEVILLE" => Some(CreateSessionRequestUseProxyGeolocationCity::Seville),
"SFAX" => Some(CreateSessionRequestUseProxyGeolocationCity::Sfax),
"SHAH_ALAM" => Some(CreateSessionRequestUseProxyGeolocationCity::ShahAlam),
"SHANGHAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Shanghai),
"SHARJAH" => Some(CreateSessionRequestUseProxyGeolocationCity::Sharjah),
"SHEFFIELD" => Some(CreateSessionRequestUseProxyGeolocationCity::Sheffield),
"SHENZHEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Shenzhen),
"SHIMLA" => Some(CreateSessionRequestUseProxyGeolocationCity::Shimla),
"SIAULIAI" => Some(CreateSessionRequestUseProxyGeolocationCity::Siauliai),
"SIBIU" => Some(CreateSessionRequestUseProxyGeolocationCity::Sibiu),
"SIDOARJO" => Some(CreateSessionRequestUseProxyGeolocationCity::Sidoarjo),
"SIKAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Sikar),
"SILVER_SPRING" => Some(CreateSessionRequestUseProxyGeolocationCity::SilverSpring),
"SINOP" => Some(CreateSessionRequestUseProxyGeolocationCity::Sinop),
"SIVAS" => Some(CreateSessionRequestUseProxyGeolocationCity::Sivas),
"SKIKDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Skikda),
"SKOPJE" => Some(CreateSessionRequestUseProxyGeolocationCity::Skopje),
"SLOUGH" => Some(CreateSessionRequestUseProxyGeolocationCity::Slough),
"SOBRAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Sobral),
"SOFIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Sofia),
"SOROCABA" => Some(CreateSessionRequestUseProxyGeolocationCity::Sorocaba),
"SOUSSE" => Some(CreateSessionRequestUseProxyGeolocationCity::Sousse),
"SOUTH_TANGERANG" => Some(CreateSessionRequestUseProxyGeolocationCity::SouthTangerang),
"SOUTHAMPTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Southampton),
"SOUTHWARK" => Some(CreateSessionRequestUseProxyGeolocationCity::Southwark),
"SPLIT" => Some(CreateSessionRequestUseProxyGeolocationCity::Split),
"SPOKANE" => Some(CreateSessionRequestUseProxyGeolocationCity::Spokane),
"SPRING" => Some(CreateSessionRequestUseProxyGeolocationCity::Spring),
"SPRINGFIELD" => Some(CreateSessionRequestUseProxyGeolocationCity::Springfield),
"ST_LOUIS" => Some(CreateSessionRequestUseProxyGeolocationCity::StLouis),
"ST_PETERSBURG" => Some(CreateSessionRequestUseProxyGeolocationCity::StPetersburg),
"STARA_ZAGORA" => Some(CreateSessionRequestUseProxyGeolocationCity::StaraZagora),
"STATEN_ISLAND" => Some(CreateSessionRequestUseProxyGeolocationCity::StatenIsland),
"STOCKHOLM" => Some(CreateSessionRequestUseProxyGeolocationCity::Stockholm),
"STOCKTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Stockton),
"STOKE_ON TRENT" => Some(CreateSessionRequestUseProxyGeolocationCity::StokeOnTrent),
"STRASBOURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Strasbourg),
"STUTTGART" => Some(CreateSessionRequestUseProxyGeolocationCity::Stuttgart),
"SUMARE" => Some(CreateSessionRequestUseProxyGeolocationCity::Sumare),
"SURABAYA" => Some(CreateSessionRequestUseProxyGeolocationCity::Surabaya),
"SURAKARTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Surakarta),
"SURAT" => Some(CreateSessionRequestUseProxyGeolocationCity::Surat),
"SURREY" => Some(CreateSessionRequestUseProxyGeolocationCity::Surrey),
"SUWON" => Some(CreateSessionRequestUseProxyGeolocationCity::Suwon),
"SUZANO" => Some(CreateSessionRequestUseProxyGeolocationCity::Suzano),
"SYDNEY" => Some(CreateSessionRequestUseProxyGeolocationCity::Sydney),
"SZCZECIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Szczecin),
"SZEGED" => Some(CreateSessionRequestUseProxyGeolocationCity::Szeged),
"SZEKESFEHERVAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Szekesfehervar),
"TABOAO_DA SERRA" => Some(CreateSessionRequestUseProxyGeolocationCity::TaboaoDaSerra),
"TACNA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tacna),
"TACOMA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tacoma),
"TAGUIG" => Some(CreateSessionRequestUseProxyGeolocationCity::Taguig),
"TAICHUNG" => Some(CreateSessionRequestUseProxyGeolocationCity::Taichung),
"TAINAN_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::TainanCity),
"TAIPEI" => Some(CreateSessionRequestUseProxyGeolocationCity::Taipei),
"TALAVERA" => Some(CreateSessionRequestUseProxyGeolocationCity::Talavera),
"TALCA" => Some(CreateSessionRequestUseProxyGeolocationCity::Talca),
"TALLAHASSEE" => Some(CreateSessionRequestUseProxyGeolocationCity::Tallahassee),
"TALLINN" => Some(CreateSessionRequestUseProxyGeolocationCity::Tallinn),
"TAMPA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tampa),
"TAMPERE" => Some(CreateSessionRequestUseProxyGeolocationCity::Tampere),
"TAMPICO" => Some(CreateSessionRequestUseProxyGeolocationCity::Tampico),
"TANGERANG" => Some(CreateSessionRequestUseProxyGeolocationCity::Tangerang),
"TANGIER" => Some(CreateSessionRequestUseProxyGeolocationCity::Tangier),
"TANTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tanta),
"TANZA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tanza),
"TAOYUAN_DISTRICT" => {
Some(CreateSessionRequestUseProxyGeolocationCity::TaoyuanDistrict)
}
"TAPPAHANNOCK" => Some(CreateSessionRequestUseProxyGeolocationCity::Tappahannock),
"TARLAC_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::TarlacCity),
"TASHKENT" => Some(CreateSessionRequestUseProxyGeolocationCity::Tashkent),
"TASIKMALAYA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tasikmalaya),
"TATUI" => Some(CreateSessionRequestUseProxyGeolocationCity::Tatui),
"TAUBATE" => Some(CreateSessionRequestUseProxyGeolocationCity::Taubate),
"TBILISI" => Some(CreateSessionRequestUseProxyGeolocationCity::Tbilisi),
"TEGUCIGALPA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tegucigalpa),
"TEHRAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Tehran),
"TEIXEIRA_DE FREITAS" => {
Some(CreateSessionRequestUseProxyGeolocationCity::TeixeiraDeFreitas)
}
"TEKIRDAG" => Some(CreateSessionRequestUseProxyGeolocationCity::Tekirdag),
"TEL_AVIV" => Some(CreateSessionRequestUseProxyGeolocationCity::TelAviv),
"TEMUCO" => Some(CreateSessionRequestUseProxyGeolocationCity::Temuco),
"TEPIC" => Some(CreateSessionRequestUseProxyGeolocationCity::Tepic),
"TERESINA" => Some(CreateSessionRequestUseProxyGeolocationCity::Teresina),
"TERNOPIL" => Some(CreateSessionRequestUseProxyGeolocationCity::Ternopil),
"TERRASSA" => Some(CreateSessionRequestUseProxyGeolocationCity::Terrassa),
"TETOUAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Tetouan),
"THANE" => Some(CreateSessionRequestUseProxyGeolocationCity::Thane),
"THE_BRONX" => Some(CreateSessionRequestUseProxyGeolocationCity::TheBronx),
"THE_HAGUE" => Some(CreateSessionRequestUseProxyGeolocationCity::TheHague),
"THESSALONIKI" => Some(CreateSessionRequestUseProxyGeolocationCity::Thessaloniki),
"THIRUVANANTHAPURAM" => {
Some(CreateSessionRequestUseProxyGeolocationCity::Thiruvananthapuram)
}
"THRISSUR" => Some(CreateSessionRequestUseProxyGeolocationCity::Thrissur),
"TIJUANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tijuana),
"TIMISOARA" => Some(CreateSessionRequestUseProxyGeolocationCity::Timisoara),
"TIRANA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tirana),
"TLALNEPANTLA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tlalnepantla),
"TLAXCALA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::TlaxcalaCity),
"TLEMCEN" => Some(CreateSessionRequestUseProxyGeolocationCity::Tlemcen),
"TOKAT_PROVINCE" => Some(CreateSessionRequestUseProxyGeolocationCity::TokatProvince),
"TOKYO" => Some(CreateSessionRequestUseProxyGeolocationCity::Tokyo),
"TOLUCA" => Some(CreateSessionRequestUseProxyGeolocationCity::Toluca),
"TORONTO" => Some(CreateSessionRequestUseProxyGeolocationCity::Toronto),
"TORREON" => Some(CreateSessionRequestUseProxyGeolocationCity::Torreon),
"TOULOUSE" => Some(CreateSessionRequestUseProxyGeolocationCity::Toulouse),
"TRABZON" => Some(CreateSessionRequestUseProxyGeolocationCity::Trabzon),
"TRUJILLO" => Some(CreateSessionRequestUseProxyGeolocationCity::Trujillo),
"TUBARAO" => Some(CreateSessionRequestUseProxyGeolocationCity::Tubarao),
"TUCSON" => Some(CreateSessionRequestUseProxyGeolocationCity::Tucson),
"TUGUEGARAO_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::TuguegaraoCity),
"TULSA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tulsa),
"TUNIS" => Some(CreateSessionRequestUseProxyGeolocationCity::Tunis),
"TUNJA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tunja),
"TURIN" => Some(CreateSessionRequestUseProxyGeolocationCity::Turin),
"TUXTLA_GUTIERREZ" => {
Some(CreateSessionRequestUseProxyGeolocationCity::TuxtlaGutierrez)
}
"TUZLA" => Some(CreateSessionRequestUseProxyGeolocationCity::Tuzla),
"UBERABA" => Some(CreateSessionRequestUseProxyGeolocationCity::Uberaba),
"UBERLANDIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Uberlandia),
"UFA" => Some(CreateSessionRequestUseProxyGeolocationCity::Ufa),
"ULAN_BATOR" => Some(CreateSessionRequestUseProxyGeolocationCity::UlanBator),
"UMEDA" => Some(CreateSessionRequestUseProxyGeolocationCity::Umeda),
"URDANETA" => Some(CreateSessionRequestUseProxyGeolocationCity::Urdaneta),
"USAK" => Some(CreateSessionRequestUseProxyGeolocationCity::Usak),
"VADODARA" => Some(CreateSessionRequestUseProxyGeolocationCity::Vadodara),
"VALENCIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Valencia),
"VALINHOS" => Some(CreateSessionRequestUseProxyGeolocationCity::Valinhos),
"VALLADOLID" => Some(CreateSessionRequestUseProxyGeolocationCity::Valladolid),
"VALLEDUPAR" => Some(CreateSessionRequestUseProxyGeolocationCity::Valledupar),
"VALPARAISO" => Some(CreateSessionRequestUseProxyGeolocationCity::Valparaiso),
"VALPARAISO_DE GOIAS" => {
Some(CreateSessionRequestUseProxyGeolocationCity::ValparaisoDeGoias)
}
"VAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Van),
"VANCOUVER" => Some(CreateSessionRequestUseProxyGeolocationCity::Vancouver),
"VARANASI" => Some(CreateSessionRequestUseProxyGeolocationCity::Varanasi),
"VARGINHA" => Some(CreateSessionRequestUseProxyGeolocationCity::Varginha),
"VARNA" => Some(CreateSessionRequestUseProxyGeolocationCity::Varna),
"VARZEA_PAULISTA" => Some(CreateSessionRequestUseProxyGeolocationCity::VarzeaPaulista),
"VENUSTIANO_CARRANZA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::VenustianoCarranza)
}
"VERACRUZ" => Some(CreateSessionRequestUseProxyGeolocationCity::Veracruz),
"VERONA" => Some(CreateSessionRequestUseProxyGeolocationCity::Verona),
"VIAMAO" => Some(CreateSessionRequestUseProxyGeolocationCity::Viamao),
"VICTORIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Victoria),
"VIENNA" => Some(CreateSessionRequestUseProxyGeolocationCity::Vienna),
"VIENTIANE" => Some(CreateSessionRequestUseProxyGeolocationCity::Vientiane),
"VIGO" => Some(CreateSessionRequestUseProxyGeolocationCity::Vigo),
"VIJAYAWADA" => Some(CreateSessionRequestUseProxyGeolocationCity::Vijayawada),
"VILA_NOVA DE GAIA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::VilaNovaDeGaia)
}
"VILA_VELHA" => Some(CreateSessionRequestUseProxyGeolocationCity::VilaVelha),
"VILLA_BALLESTER" => Some(CreateSessionRequestUseProxyGeolocationCity::VillaBallester),
"VILLAVICENCIO" => Some(CreateSessionRequestUseProxyGeolocationCity::Villavicencio),
"VILNIUS" => Some(CreateSessionRequestUseProxyGeolocationCity::Vilnius),
"VINA_DEL MAR" => Some(CreateSessionRequestUseProxyGeolocationCity::VinaDelMar),
"VINNYTSIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Vinnytsia),
"VIRGINIA_BEACH" => Some(CreateSessionRequestUseProxyGeolocationCity::VirginiaBeach),
"VISAKHAPATNAM" => Some(CreateSessionRequestUseProxyGeolocationCity::Visakhapatnam),
"VITORIA" => Some(CreateSessionRequestUseProxyGeolocationCity::Vitoria),
"VITORIA_DA CONQUISTA" => {
Some(CreateSessionRequestUseProxyGeolocationCity::VitoriaDaConquista)
}
"VITORIA_DE SANTO ANTAO" => {
Some(CreateSessionRequestUseProxyGeolocationCity::VitoriaDeSantoAntao)
}
"VOLTA_REDONDA" => Some(CreateSessionRequestUseProxyGeolocationCity::VoltaRedonda),
"VORONEZH" => Some(CreateSessionRequestUseProxyGeolocationCity::Voronezh),
"WARSAW" => Some(CreateSessionRequestUseProxyGeolocationCity::Warsaw),
"WASHINGTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Washington),
"WELLINGTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Wellington),
"WEST_PALM BEACH" => Some(CreateSessionRequestUseProxyGeolocationCity::WestPalmBeach),
"WICHITA" => Some(CreateSessionRequestUseProxyGeolocationCity::Wichita),
"WILLEMSTAD" => Some(CreateSessionRequestUseProxyGeolocationCity::Willemstad),
"WILMINGTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Wilmington),
"WINDHOEK" => Some(CreateSessionRequestUseProxyGeolocationCity::Windhoek),
"WINDSOR" => Some(CreateSessionRequestUseProxyGeolocationCity::Windsor),
"WINNIPEG" => Some(CreateSessionRequestUseProxyGeolocationCity::Winnipeg),
"WOLVERHAMPTON" => Some(CreateSessionRequestUseProxyGeolocationCity::Wolverhampton),
"WOODBRIDGE" => Some(CreateSessionRequestUseProxyGeolocationCity::Woodbridge),
"WROCLAW" => Some(CreateSessionRequestUseProxyGeolocationCity::Wroclaw),
"WUPPERTAL" => Some(CreateSessionRequestUseProxyGeolocationCity::Wuppertal),
"XALAPA" => Some(CreateSessionRequestUseProxyGeolocationCity::Xalapa),
"YALOVA" => Some(CreateSessionRequestUseProxyGeolocationCity::Yalova),
"YANGON" => Some(CreateSessionRequestUseProxyGeolocationCity::Yangon),
"YEKATERINBURG" => Some(CreateSessionRequestUseProxyGeolocationCity::Yekaterinburg),
"YEREVAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Yerevan),
"YOGYAKARTA" => Some(CreateSessionRequestUseProxyGeolocationCity::Yogyakarta),
"YOKOHAMA" => Some(CreateSessionRequestUseProxyGeolocationCity::Yokohama),
"YONGIN_SI" => Some(CreateSessionRequestUseProxyGeolocationCity::YonginSi),
"ZABRZE" => Some(CreateSessionRequestUseProxyGeolocationCity::Zabrze),
"ZAGAZIG" => Some(CreateSessionRequestUseProxyGeolocationCity::Zagazig),
"ZAGREB" => Some(CreateSessionRequestUseProxyGeolocationCity::Zagreb),
"ZAMBOANGA_CITY" => Some(CreateSessionRequestUseProxyGeolocationCity::ZamboangaCity),
"ZAPOPAN" => Some(CreateSessionRequestUseProxyGeolocationCity::Zapopan),
"ZAPORIZHZHYA" => Some(CreateSessionRequestUseProxyGeolocationCity::Zaporizhzhya),
"ZARAGOZA" => Some(CreateSessionRequestUseProxyGeolocationCity::Zaragoza),
"ZHONGLI_DISTRICT" => {
Some(CreateSessionRequestUseProxyGeolocationCity::ZhongliDistrict)
}
"ZIELONA_GORA" => Some(CreateSessionRequestUseProxyGeolocationCity::ZielonaGora),
"ZONGULDAK" => Some(CreateSessionRequestUseProxyGeolocationCity::Zonguldak),
"ZURICH" => Some(CreateSessionRequestUseProxyGeolocationCity::Zurich),
_ => None,
};
Ok(known.unwrap_or(CreateSessionRequestUseProxyGeolocationCity::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum CreateSessionRequestUseProxyGeolocationCountry {
Us,
Ca,
Mx,
GB,
De,
Fr,
It,
Es,
Pl,
Nl,
Se,
No,
Dk,
Fi,
Ch,
At,
Be,
Ie,
Pt,
Gr,
Cz,
Hu,
Ro,
Bg,
Sk,
Si,
Hr,
Ee,
Lv,
Lt,
Lu,
Mt,
Cy,
Is,
Li,
Mc,
Sm,
Va,
Jp,
Kr,
Cn,
Hk,
Tw,
Sg,
Au,
Nz,
In,
Th,
My,
Ph,
ID,
Vn,
Af,
Bd,
Bn,
Kh,
La,
Lk,
Mm,
Np,
Pk,
Fj,
Pg,
Ae,
Sa,
Il,
Tr,
Ir,
Iq,
Jo,
Kw,
Lb,
Om,
Qa,
Bh,
Ye,
Sy,
Za,
Eg,
Ma,
Ng,
Ke,
Dz,
Ao,
Bw,
Et,
Gh,
Ci,
Ly,
Mz,
Rw,
Sn,
Tn,
Ug,
Zm,
Zw,
Tz,
Mu,
Sc,
Br,
Ar,
Cl,
Co,
Pe,
Ve,
Ec,
Uy,
Py,
Bo,
Cr,
Cu,
Do,
Gt,
Hn,
Jm,
Ni,
Pa,
Sv,
Tt,
Bb,
Bz,
Gy,
Sr,
Ru,
Ua,
By,
Kz,
Uz,
Az,
Ge,
Am,
Md,
Mk,
Al,
Ba,
Rs,
Me,
Xk,
Mn,
Kg,
Tj,
Tm,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for CreateSessionRequestUseProxyGeolocationCountry {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
CreateSessionRequestUseProxyGeolocationCountry::Us => "US",
CreateSessionRequestUseProxyGeolocationCountry::Ca => "CA",
CreateSessionRequestUseProxyGeolocationCountry::Mx => "MX",
CreateSessionRequestUseProxyGeolocationCountry::GB => "GB",
CreateSessionRequestUseProxyGeolocationCountry::De => "DE",
CreateSessionRequestUseProxyGeolocationCountry::Fr => "FR",
CreateSessionRequestUseProxyGeolocationCountry::It => "IT",
CreateSessionRequestUseProxyGeolocationCountry::Es => "ES",
CreateSessionRequestUseProxyGeolocationCountry::Pl => "PL",
CreateSessionRequestUseProxyGeolocationCountry::Nl => "NL",
CreateSessionRequestUseProxyGeolocationCountry::Se => "SE",
CreateSessionRequestUseProxyGeolocationCountry::No => "NO",
CreateSessionRequestUseProxyGeolocationCountry::Dk => "DK",
CreateSessionRequestUseProxyGeolocationCountry::Fi => "FI",
CreateSessionRequestUseProxyGeolocationCountry::Ch => "CH",
CreateSessionRequestUseProxyGeolocationCountry::At => "AT",
CreateSessionRequestUseProxyGeolocationCountry::Be => "BE",
CreateSessionRequestUseProxyGeolocationCountry::Ie => "IE",
CreateSessionRequestUseProxyGeolocationCountry::Pt => "PT",
CreateSessionRequestUseProxyGeolocationCountry::Gr => "GR",
CreateSessionRequestUseProxyGeolocationCountry::Cz => "CZ",
CreateSessionRequestUseProxyGeolocationCountry::Hu => "HU",
CreateSessionRequestUseProxyGeolocationCountry::Ro => "RO",
CreateSessionRequestUseProxyGeolocationCountry::Bg => "BG",
CreateSessionRequestUseProxyGeolocationCountry::Sk => "SK",
CreateSessionRequestUseProxyGeolocationCountry::Si => "SI",
CreateSessionRequestUseProxyGeolocationCountry::Hr => "HR",
CreateSessionRequestUseProxyGeolocationCountry::Ee => "EE",
CreateSessionRequestUseProxyGeolocationCountry::Lv => "LV",
CreateSessionRequestUseProxyGeolocationCountry::Lt => "LT",
CreateSessionRequestUseProxyGeolocationCountry::Lu => "LU",
CreateSessionRequestUseProxyGeolocationCountry::Mt => "MT",
CreateSessionRequestUseProxyGeolocationCountry::Cy => "CY",
CreateSessionRequestUseProxyGeolocationCountry::Is => "IS",
CreateSessionRequestUseProxyGeolocationCountry::Li => "LI",
CreateSessionRequestUseProxyGeolocationCountry::Mc => "MC",
CreateSessionRequestUseProxyGeolocationCountry::Sm => "SM",
CreateSessionRequestUseProxyGeolocationCountry::Va => "VA",
CreateSessionRequestUseProxyGeolocationCountry::Jp => "JP",
CreateSessionRequestUseProxyGeolocationCountry::Kr => "KR",
CreateSessionRequestUseProxyGeolocationCountry::Cn => "CN",
CreateSessionRequestUseProxyGeolocationCountry::Hk => "HK",
CreateSessionRequestUseProxyGeolocationCountry::Tw => "TW",
CreateSessionRequestUseProxyGeolocationCountry::Sg => "SG",
CreateSessionRequestUseProxyGeolocationCountry::Au => "AU",
CreateSessionRequestUseProxyGeolocationCountry::Nz => "NZ",
CreateSessionRequestUseProxyGeolocationCountry::In => "IN",
CreateSessionRequestUseProxyGeolocationCountry::Th => "TH",
CreateSessionRequestUseProxyGeolocationCountry::My => "MY",
CreateSessionRequestUseProxyGeolocationCountry::Ph => "PH",
CreateSessionRequestUseProxyGeolocationCountry::ID => "ID",
CreateSessionRequestUseProxyGeolocationCountry::Vn => "VN",
CreateSessionRequestUseProxyGeolocationCountry::Af => "AF",
CreateSessionRequestUseProxyGeolocationCountry::Bd => "BD",
CreateSessionRequestUseProxyGeolocationCountry::Bn => "BN",
CreateSessionRequestUseProxyGeolocationCountry::Kh => "KH",
CreateSessionRequestUseProxyGeolocationCountry::La => "LA",
CreateSessionRequestUseProxyGeolocationCountry::Lk => "LK",
CreateSessionRequestUseProxyGeolocationCountry::Mm => "MM",
CreateSessionRequestUseProxyGeolocationCountry::Np => "NP",
CreateSessionRequestUseProxyGeolocationCountry::Pk => "PK",
CreateSessionRequestUseProxyGeolocationCountry::Fj => "FJ",
CreateSessionRequestUseProxyGeolocationCountry::Pg => "PG",
CreateSessionRequestUseProxyGeolocationCountry::Ae => "AE",
CreateSessionRequestUseProxyGeolocationCountry::Sa => "SA",
CreateSessionRequestUseProxyGeolocationCountry::Il => "IL",
CreateSessionRequestUseProxyGeolocationCountry::Tr => "TR",
CreateSessionRequestUseProxyGeolocationCountry::Ir => "IR",
CreateSessionRequestUseProxyGeolocationCountry::Iq => "IQ",
CreateSessionRequestUseProxyGeolocationCountry::Jo => "JO",
CreateSessionRequestUseProxyGeolocationCountry::Kw => "KW",
CreateSessionRequestUseProxyGeolocationCountry::Lb => "LB",
CreateSessionRequestUseProxyGeolocationCountry::Om => "OM",
CreateSessionRequestUseProxyGeolocationCountry::Qa => "QA",
CreateSessionRequestUseProxyGeolocationCountry::Bh => "BH",
CreateSessionRequestUseProxyGeolocationCountry::Ye => "YE",
CreateSessionRequestUseProxyGeolocationCountry::Sy => "SY",
CreateSessionRequestUseProxyGeolocationCountry::Za => "ZA",
CreateSessionRequestUseProxyGeolocationCountry::Eg => "EG",
CreateSessionRequestUseProxyGeolocationCountry::Ma => "MA",
CreateSessionRequestUseProxyGeolocationCountry::Ng => "NG",
CreateSessionRequestUseProxyGeolocationCountry::Ke => "KE",
CreateSessionRequestUseProxyGeolocationCountry::Dz => "DZ",
CreateSessionRequestUseProxyGeolocationCountry::Ao => "AO",
CreateSessionRequestUseProxyGeolocationCountry::Bw => "BW",
CreateSessionRequestUseProxyGeolocationCountry::Et => "ET",
CreateSessionRequestUseProxyGeolocationCountry::Gh => "GH",
CreateSessionRequestUseProxyGeolocationCountry::Ci => "CI",
CreateSessionRequestUseProxyGeolocationCountry::Ly => "LY",
CreateSessionRequestUseProxyGeolocationCountry::Mz => "MZ",
CreateSessionRequestUseProxyGeolocationCountry::Rw => "RW",
CreateSessionRequestUseProxyGeolocationCountry::Sn => "SN",
CreateSessionRequestUseProxyGeolocationCountry::Tn => "TN",
CreateSessionRequestUseProxyGeolocationCountry::Ug => "UG",
CreateSessionRequestUseProxyGeolocationCountry::Zm => "ZM",
CreateSessionRequestUseProxyGeolocationCountry::Zw => "ZW",
CreateSessionRequestUseProxyGeolocationCountry::Tz => "TZ",
CreateSessionRequestUseProxyGeolocationCountry::Mu => "MU",
CreateSessionRequestUseProxyGeolocationCountry::Sc => "SC",
CreateSessionRequestUseProxyGeolocationCountry::Br => "BR",
CreateSessionRequestUseProxyGeolocationCountry::Ar => "AR",
CreateSessionRequestUseProxyGeolocationCountry::Cl => "CL",
CreateSessionRequestUseProxyGeolocationCountry::Co => "CO",
CreateSessionRequestUseProxyGeolocationCountry::Pe => "PE",
CreateSessionRequestUseProxyGeolocationCountry::Ve => "VE",
CreateSessionRequestUseProxyGeolocationCountry::Ec => "EC",
CreateSessionRequestUseProxyGeolocationCountry::Uy => "UY",
CreateSessionRequestUseProxyGeolocationCountry::Py => "PY",
CreateSessionRequestUseProxyGeolocationCountry::Bo => "BO",
CreateSessionRequestUseProxyGeolocationCountry::Cr => "CR",
CreateSessionRequestUseProxyGeolocationCountry::Cu => "CU",
CreateSessionRequestUseProxyGeolocationCountry::Do => "DO",
CreateSessionRequestUseProxyGeolocationCountry::Gt => "GT",
CreateSessionRequestUseProxyGeolocationCountry::Hn => "HN",
CreateSessionRequestUseProxyGeolocationCountry::Jm => "JM",
CreateSessionRequestUseProxyGeolocationCountry::Ni => "NI",
CreateSessionRequestUseProxyGeolocationCountry::Pa => "PA",
CreateSessionRequestUseProxyGeolocationCountry::Sv => "SV",
CreateSessionRequestUseProxyGeolocationCountry::Tt => "TT",
CreateSessionRequestUseProxyGeolocationCountry::Bb => "BB",
CreateSessionRequestUseProxyGeolocationCountry::Bz => "BZ",
CreateSessionRequestUseProxyGeolocationCountry::Gy => "GY",
CreateSessionRequestUseProxyGeolocationCountry::Sr => "SR",
CreateSessionRequestUseProxyGeolocationCountry::Ru => "RU",
CreateSessionRequestUseProxyGeolocationCountry::Ua => "UA",
CreateSessionRequestUseProxyGeolocationCountry::By => "BY",
CreateSessionRequestUseProxyGeolocationCountry::Kz => "KZ",
CreateSessionRequestUseProxyGeolocationCountry::Uz => "UZ",
CreateSessionRequestUseProxyGeolocationCountry::Az => "AZ",
CreateSessionRequestUseProxyGeolocationCountry::Ge => "GE",
CreateSessionRequestUseProxyGeolocationCountry::Am => "AM",
CreateSessionRequestUseProxyGeolocationCountry::Md => "MD",
CreateSessionRequestUseProxyGeolocationCountry::Mk => "MK",
CreateSessionRequestUseProxyGeolocationCountry::Al => "AL",
CreateSessionRequestUseProxyGeolocationCountry::Ba => "BA",
CreateSessionRequestUseProxyGeolocationCountry::Rs => "RS",
CreateSessionRequestUseProxyGeolocationCountry::Me => "ME",
CreateSessionRequestUseProxyGeolocationCountry::Xk => "XK",
CreateSessionRequestUseProxyGeolocationCountry::Mn => "MN",
CreateSessionRequestUseProxyGeolocationCountry::Kg => "KG",
CreateSessionRequestUseProxyGeolocationCountry::Tj => "TJ",
CreateSessionRequestUseProxyGeolocationCountry::Tm => "TM",
CreateSessionRequestUseProxyGeolocationCountry::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for CreateSessionRequestUseProxyGeolocationCountry {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for CreateSessionRequestUseProxyGeolocationCountry {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"US" => Some(CreateSessionRequestUseProxyGeolocationCountry::Us),
"CA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ca),
"MX" => Some(CreateSessionRequestUseProxyGeolocationCountry::Mx),
"GB" => Some(CreateSessionRequestUseProxyGeolocationCountry::GB),
"DE" => Some(CreateSessionRequestUseProxyGeolocationCountry::De),
"FR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Fr),
"IT" => Some(CreateSessionRequestUseProxyGeolocationCountry::It),
"ES" => Some(CreateSessionRequestUseProxyGeolocationCountry::Es),
"PL" => Some(CreateSessionRequestUseProxyGeolocationCountry::Pl),
"NL" => Some(CreateSessionRequestUseProxyGeolocationCountry::Nl),
"SE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Se),
"NO" => Some(CreateSessionRequestUseProxyGeolocationCountry::No),
"DK" => Some(CreateSessionRequestUseProxyGeolocationCountry::Dk),
"FI" => Some(CreateSessionRequestUseProxyGeolocationCountry::Fi),
"CH" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ch),
"AT" => Some(CreateSessionRequestUseProxyGeolocationCountry::At),
"BE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Be),
"IE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ie),
"PT" => Some(CreateSessionRequestUseProxyGeolocationCountry::Pt),
"GR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Gr),
"CZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Cz),
"HU" => Some(CreateSessionRequestUseProxyGeolocationCountry::Hu),
"RO" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ro),
"BG" => Some(CreateSessionRequestUseProxyGeolocationCountry::Bg),
"SK" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sk),
"SI" => Some(CreateSessionRequestUseProxyGeolocationCountry::Si),
"HR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Hr),
"EE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ee),
"LV" => Some(CreateSessionRequestUseProxyGeolocationCountry::Lv),
"LT" => Some(CreateSessionRequestUseProxyGeolocationCountry::Lt),
"LU" => Some(CreateSessionRequestUseProxyGeolocationCountry::Lu),
"MT" => Some(CreateSessionRequestUseProxyGeolocationCountry::Mt),
"CY" => Some(CreateSessionRequestUseProxyGeolocationCountry::Cy),
"IS" => Some(CreateSessionRequestUseProxyGeolocationCountry::Is),
"LI" => Some(CreateSessionRequestUseProxyGeolocationCountry::Li),
"MC" => Some(CreateSessionRequestUseProxyGeolocationCountry::Mc),
"SM" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sm),
"VA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Va),
"JP" => Some(CreateSessionRequestUseProxyGeolocationCountry::Jp),
"KR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Kr),
"CN" => Some(CreateSessionRequestUseProxyGeolocationCountry::Cn),
"HK" => Some(CreateSessionRequestUseProxyGeolocationCountry::Hk),
"TW" => Some(CreateSessionRequestUseProxyGeolocationCountry::Tw),
"SG" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sg),
"AU" => Some(CreateSessionRequestUseProxyGeolocationCountry::Au),
"NZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Nz),
"IN" => Some(CreateSessionRequestUseProxyGeolocationCountry::In),
"TH" => Some(CreateSessionRequestUseProxyGeolocationCountry::Th),
"MY" => Some(CreateSessionRequestUseProxyGeolocationCountry::My),
"PH" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ph),
"ID" => Some(CreateSessionRequestUseProxyGeolocationCountry::ID),
"VN" => Some(CreateSessionRequestUseProxyGeolocationCountry::Vn),
"AF" => Some(CreateSessionRequestUseProxyGeolocationCountry::Af),
"BD" => Some(CreateSessionRequestUseProxyGeolocationCountry::Bd),
"BN" => Some(CreateSessionRequestUseProxyGeolocationCountry::Bn),
"KH" => Some(CreateSessionRequestUseProxyGeolocationCountry::Kh),
"LA" => Some(CreateSessionRequestUseProxyGeolocationCountry::La),
"LK" => Some(CreateSessionRequestUseProxyGeolocationCountry::Lk),
"MM" => Some(CreateSessionRequestUseProxyGeolocationCountry::Mm),
"NP" => Some(CreateSessionRequestUseProxyGeolocationCountry::Np),
"PK" => Some(CreateSessionRequestUseProxyGeolocationCountry::Pk),
"FJ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Fj),
"PG" => Some(CreateSessionRequestUseProxyGeolocationCountry::Pg),
"AE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ae),
"SA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sa),
"IL" => Some(CreateSessionRequestUseProxyGeolocationCountry::Il),
"TR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Tr),
"IR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ir),
"IQ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Iq),
"JO" => Some(CreateSessionRequestUseProxyGeolocationCountry::Jo),
"KW" => Some(CreateSessionRequestUseProxyGeolocationCountry::Kw),
"LB" => Some(CreateSessionRequestUseProxyGeolocationCountry::Lb),
"OM" => Some(CreateSessionRequestUseProxyGeolocationCountry::Om),
"QA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Qa),
"BH" => Some(CreateSessionRequestUseProxyGeolocationCountry::Bh),
"YE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ye),
"SY" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sy),
"ZA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Za),
"EG" => Some(CreateSessionRequestUseProxyGeolocationCountry::Eg),
"MA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ma),
"NG" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ng),
"KE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ke),
"DZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Dz),
"AO" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ao),
"BW" => Some(CreateSessionRequestUseProxyGeolocationCountry::Bw),
"ET" => Some(CreateSessionRequestUseProxyGeolocationCountry::Et),
"GH" => Some(CreateSessionRequestUseProxyGeolocationCountry::Gh),
"CI" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ci),
"LY" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ly),
"MZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Mz),
"RW" => Some(CreateSessionRequestUseProxyGeolocationCountry::Rw),
"SN" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sn),
"TN" => Some(CreateSessionRequestUseProxyGeolocationCountry::Tn),
"UG" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ug),
"ZM" => Some(CreateSessionRequestUseProxyGeolocationCountry::Zm),
"ZW" => Some(CreateSessionRequestUseProxyGeolocationCountry::Zw),
"TZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Tz),
"MU" => Some(CreateSessionRequestUseProxyGeolocationCountry::Mu),
"SC" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sc),
"BR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Br),
"AR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ar),
"CL" => Some(CreateSessionRequestUseProxyGeolocationCountry::Cl),
"CO" => Some(CreateSessionRequestUseProxyGeolocationCountry::Co),
"PE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Pe),
"VE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ve),
"EC" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ec),
"UY" => Some(CreateSessionRequestUseProxyGeolocationCountry::Uy),
"PY" => Some(CreateSessionRequestUseProxyGeolocationCountry::Py),
"BO" => Some(CreateSessionRequestUseProxyGeolocationCountry::Bo),
"CR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Cr),
"CU" => Some(CreateSessionRequestUseProxyGeolocationCountry::Cu),
"DO" => Some(CreateSessionRequestUseProxyGeolocationCountry::Do),
"GT" => Some(CreateSessionRequestUseProxyGeolocationCountry::Gt),
"HN" => Some(CreateSessionRequestUseProxyGeolocationCountry::Hn),
"JM" => Some(CreateSessionRequestUseProxyGeolocationCountry::Jm),
"NI" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ni),
"PA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Pa),
"SV" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sv),
"TT" => Some(CreateSessionRequestUseProxyGeolocationCountry::Tt),
"BB" => Some(CreateSessionRequestUseProxyGeolocationCountry::Bb),
"BZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Bz),
"GY" => Some(CreateSessionRequestUseProxyGeolocationCountry::Gy),
"SR" => Some(CreateSessionRequestUseProxyGeolocationCountry::Sr),
"RU" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ru),
"UA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ua),
"BY" => Some(CreateSessionRequestUseProxyGeolocationCountry::By),
"KZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Kz),
"UZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Uz),
"AZ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Az),
"GE" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ge),
"AM" => Some(CreateSessionRequestUseProxyGeolocationCountry::Am),
"MD" => Some(CreateSessionRequestUseProxyGeolocationCountry::Md),
"MK" => Some(CreateSessionRequestUseProxyGeolocationCountry::Mk),
"AL" => Some(CreateSessionRequestUseProxyGeolocationCountry::Al),
"BA" => Some(CreateSessionRequestUseProxyGeolocationCountry::Ba),
"RS" => Some(CreateSessionRequestUseProxyGeolocationCountry::Rs),
"ME" => Some(CreateSessionRequestUseProxyGeolocationCountry::Me),
"XK" => Some(CreateSessionRequestUseProxyGeolocationCountry::Xk),
"MN" => Some(CreateSessionRequestUseProxyGeolocationCountry::Mn),
"KG" => Some(CreateSessionRequestUseProxyGeolocationCountry::Kg),
"TJ" => Some(CreateSessionRequestUseProxyGeolocationCountry::Tj),
"TM" => Some(CreateSessionRequestUseProxyGeolocationCountry::Tm),
_ => None,
};
Ok(known.unwrap_or(CreateSessionRequestUseProxyGeolocationCountry::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum CreateSessionRequestUseProxyGeolocationState {
Al,
Ak,
Az,
Ar,
Ca,
Co,
Ct,
De,
Fl,
Ga,
Hi,
ID,
Il,
In,
Ia,
Ks,
Ky,
La,
Me,
Md,
Ma,
Mi,
Mn,
Ms,
Mo,
Mt,
Ne,
Nv,
Nh,
Nj,
Nm,
Ny,
Nc,
Nd,
Oh,
Ok,
Or,
Pa,
Ri,
Sc,
Sd,
Tn,
Tx,
Ut,
Vt,
Va,
Wa,
Wv,
Wi,
Wy,
Dc,
Pr,
Gu,
Vi,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for CreateSessionRequestUseProxyGeolocationState {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
CreateSessionRequestUseProxyGeolocationState::Al => "AL",
CreateSessionRequestUseProxyGeolocationState::Ak => "AK",
CreateSessionRequestUseProxyGeolocationState::Az => "AZ",
CreateSessionRequestUseProxyGeolocationState::Ar => "AR",
CreateSessionRequestUseProxyGeolocationState::Ca => "CA",
CreateSessionRequestUseProxyGeolocationState::Co => "CO",
CreateSessionRequestUseProxyGeolocationState::Ct => "CT",
CreateSessionRequestUseProxyGeolocationState::De => "DE",
CreateSessionRequestUseProxyGeolocationState::Fl => "FL",
CreateSessionRequestUseProxyGeolocationState::Ga => "GA",
CreateSessionRequestUseProxyGeolocationState::Hi => "HI",
CreateSessionRequestUseProxyGeolocationState::ID => "ID",
CreateSessionRequestUseProxyGeolocationState::Il => "IL",
CreateSessionRequestUseProxyGeolocationState::In => "IN",
CreateSessionRequestUseProxyGeolocationState::Ia => "IA",
CreateSessionRequestUseProxyGeolocationState::Ks => "KS",
CreateSessionRequestUseProxyGeolocationState::Ky => "KY",
CreateSessionRequestUseProxyGeolocationState::La => "LA",
CreateSessionRequestUseProxyGeolocationState::Me => "ME",
CreateSessionRequestUseProxyGeolocationState::Md => "MD",
CreateSessionRequestUseProxyGeolocationState::Ma => "MA",
CreateSessionRequestUseProxyGeolocationState::Mi => "MI",
CreateSessionRequestUseProxyGeolocationState::Mn => "MN",
CreateSessionRequestUseProxyGeolocationState::Ms => "MS",
CreateSessionRequestUseProxyGeolocationState::Mo => "MO",
CreateSessionRequestUseProxyGeolocationState::Mt => "MT",
CreateSessionRequestUseProxyGeolocationState::Ne => "NE",
CreateSessionRequestUseProxyGeolocationState::Nv => "NV",
CreateSessionRequestUseProxyGeolocationState::Nh => "NH",
CreateSessionRequestUseProxyGeolocationState::Nj => "NJ",
CreateSessionRequestUseProxyGeolocationState::Nm => "NM",
CreateSessionRequestUseProxyGeolocationState::Ny => "NY",
CreateSessionRequestUseProxyGeolocationState::Nc => "NC",
CreateSessionRequestUseProxyGeolocationState::Nd => "ND",
CreateSessionRequestUseProxyGeolocationState::Oh => "OH",
CreateSessionRequestUseProxyGeolocationState::Ok => "OK",
CreateSessionRequestUseProxyGeolocationState::Or => "OR",
CreateSessionRequestUseProxyGeolocationState::Pa => "PA",
CreateSessionRequestUseProxyGeolocationState::Ri => "RI",
CreateSessionRequestUseProxyGeolocationState::Sc => "SC",
CreateSessionRequestUseProxyGeolocationState::Sd => "SD",
CreateSessionRequestUseProxyGeolocationState::Tn => "TN",
CreateSessionRequestUseProxyGeolocationState::Tx => "TX",
CreateSessionRequestUseProxyGeolocationState::Ut => "UT",
CreateSessionRequestUseProxyGeolocationState::Vt => "VT",
CreateSessionRequestUseProxyGeolocationState::Va => "VA",
CreateSessionRequestUseProxyGeolocationState::Wa => "WA",
CreateSessionRequestUseProxyGeolocationState::Wv => "WV",
CreateSessionRequestUseProxyGeolocationState::Wi => "WI",
CreateSessionRequestUseProxyGeolocationState::Wy => "WY",
CreateSessionRequestUseProxyGeolocationState::Dc => "DC",
CreateSessionRequestUseProxyGeolocationState::Pr => "PR",
CreateSessionRequestUseProxyGeolocationState::Gu => "GU",
CreateSessionRequestUseProxyGeolocationState::Vi => "VI",
CreateSessionRequestUseProxyGeolocationState::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for CreateSessionRequestUseProxyGeolocationState {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for CreateSessionRequestUseProxyGeolocationState {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"AL" => Some(CreateSessionRequestUseProxyGeolocationState::Al),
"AK" => Some(CreateSessionRequestUseProxyGeolocationState::Ak),
"AZ" => Some(CreateSessionRequestUseProxyGeolocationState::Az),
"AR" => Some(CreateSessionRequestUseProxyGeolocationState::Ar),
"CA" => Some(CreateSessionRequestUseProxyGeolocationState::Ca),
"CO" => Some(CreateSessionRequestUseProxyGeolocationState::Co),
"CT" => Some(CreateSessionRequestUseProxyGeolocationState::Ct),
"DE" => Some(CreateSessionRequestUseProxyGeolocationState::De),
"FL" => Some(CreateSessionRequestUseProxyGeolocationState::Fl),
"GA" => Some(CreateSessionRequestUseProxyGeolocationState::Ga),
"HI" => Some(CreateSessionRequestUseProxyGeolocationState::Hi),
"ID" => Some(CreateSessionRequestUseProxyGeolocationState::ID),
"IL" => Some(CreateSessionRequestUseProxyGeolocationState::Il),
"IN" => Some(CreateSessionRequestUseProxyGeolocationState::In),
"IA" => Some(CreateSessionRequestUseProxyGeolocationState::Ia),
"KS" => Some(CreateSessionRequestUseProxyGeolocationState::Ks),
"KY" => Some(CreateSessionRequestUseProxyGeolocationState::Ky),
"LA" => Some(CreateSessionRequestUseProxyGeolocationState::La),
"ME" => Some(CreateSessionRequestUseProxyGeolocationState::Me),
"MD" => Some(CreateSessionRequestUseProxyGeolocationState::Md),
"MA" => Some(CreateSessionRequestUseProxyGeolocationState::Ma),
"MI" => Some(CreateSessionRequestUseProxyGeolocationState::Mi),
"MN" => Some(CreateSessionRequestUseProxyGeolocationState::Mn),
"MS" => Some(CreateSessionRequestUseProxyGeolocationState::Ms),
"MO" => Some(CreateSessionRequestUseProxyGeolocationState::Mo),
"MT" => Some(CreateSessionRequestUseProxyGeolocationState::Mt),
"NE" => Some(CreateSessionRequestUseProxyGeolocationState::Ne),
"NV" => Some(CreateSessionRequestUseProxyGeolocationState::Nv),
"NH" => Some(CreateSessionRequestUseProxyGeolocationState::Nh),
"NJ" => Some(CreateSessionRequestUseProxyGeolocationState::Nj),
"NM" => Some(CreateSessionRequestUseProxyGeolocationState::Nm),
"NY" => Some(CreateSessionRequestUseProxyGeolocationState::Ny),
"NC" => Some(CreateSessionRequestUseProxyGeolocationState::Nc),
"ND" => Some(CreateSessionRequestUseProxyGeolocationState::Nd),
"OH" => Some(CreateSessionRequestUseProxyGeolocationState::Oh),
"OK" => Some(CreateSessionRequestUseProxyGeolocationState::Ok),
"OR" => Some(CreateSessionRequestUseProxyGeolocationState::Or),
"PA" => Some(CreateSessionRequestUseProxyGeolocationState::Pa),
"RI" => Some(CreateSessionRequestUseProxyGeolocationState::Ri),
"SC" => Some(CreateSessionRequestUseProxyGeolocationState::Sc),
"SD" => Some(CreateSessionRequestUseProxyGeolocationState::Sd),
"TN" => Some(CreateSessionRequestUseProxyGeolocationState::Tn),
"TX" => Some(CreateSessionRequestUseProxyGeolocationState::Tx),
"UT" => Some(CreateSessionRequestUseProxyGeolocationState::Ut),
"VT" => Some(CreateSessionRequestUseProxyGeolocationState::Vt),
"VA" => Some(CreateSessionRequestUseProxyGeolocationState::Va),
"WA" => Some(CreateSessionRequestUseProxyGeolocationState::Wa),
"WV" => Some(CreateSessionRequestUseProxyGeolocationState::Wv),
"WI" => Some(CreateSessionRequestUseProxyGeolocationState::Wi),
"WY" => Some(CreateSessionRequestUseProxyGeolocationState::Wy),
"DC" => Some(CreateSessionRequestUseProxyGeolocationState::Dc),
"PR" => Some(CreateSessionRequestUseProxyGeolocationState::Pr),
"GU" => Some(CreateSessionRequestUseProxyGeolocationState::Gu),
"VI" => Some(CreateSessionRequestUseProxyGeolocationState::Vi),
_ => None,
};
Ok(known.unwrap_or(CreateSessionRequestUseProxyGeolocationState::Unknown(s)))
}
}
/// Geographic location for the proxy
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsUseProxyGeolocationGeolocation {
/// City name (e.g., 'NEW_YORK', 'LOS_ANGELES')
#[serde(default, skip_serializing_if = "Option::is_none")]
pub city: Option<CreateSessionRequestUseProxyGeolocationCity>,
/// Country code (e.g., 'US', 'GB', 'DE') - ISO 3166-1 alpha-2
pub country: CreateSessionRequestUseProxyGeolocationCountry,
/// State code (e.g., 'NY', 'CA') - US states only
#[serde(default, skip_serializing_if = "Option::is_none")]
pub state: Option<CreateSessionRequestUseProxyGeolocationState>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsUseProxyGeolocation {
/// Geographic location for the proxy
pub geolocation: Box<SessionCreateParamsUseProxyGeolocationGeolocation>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCreateParamsUseProxyServer {
/// Proxy server URL
pub server: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[allow(clippy::large_enum_variant)]
#[serde(untagged)]
pub enum SessionCreateParamsUseProxy {
V0(bool),
V1(SessionCreateParamsUseProxyGeolocation),
V2(SessionCreateParamsUseProxyServer),
V3(serde_json::Value),
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CredentialListResponseCredential {
/// Date and time the credential was created
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// Label for the credential
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
/// The namespace the credential is stored against. Defaults to "default".
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
/// Website origin the credential is for
#[serde(default, skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
/// Date and time the credential was last updated
#[serde(rename = "updatedAt")]
pub updated_at: chrono::DateTime<chrono::Utc>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ErrorResponseContext {
pub keyword: String,
pub message: String,
pub params: serde_json::Value,
}
/// List of extensions for the organization
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ExtensionListResponseExtension {
/// Creation timestamp
#[serde(rename = "createdAt")]
pub created_at: String,
/// Unique extension identifier (e.g., ext_12345)
pub id: String,
/// Extension name
pub name: String,
/// Last update timestamp
#[serde(rename = "updatedAt")]
pub updated_at: String,
}
/// Array of files for the current page
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct FileListData {
/// Timestamp when the file was created
#[serde(rename = "lastModified")]
pub last_modified: chrono::DateTime<chrono::Utc>,
/// Path to the file in the storage system
pub path: String,
/// Size of the file in bytes
pub size: i64,
}
/// The dimensions associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseDimensions {
pub height: f64,
pub width: f64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintFingerprintBattery {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub charging: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "chargingTime"
)]
pub charging_time: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "dischargingTime"
)]
pub discharging_time: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub level: Option<f64>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintFingerprintMultimediaDevicesMicro {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintFingerprintMultimediaDevicesSpeaker {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintFingerprintMultimediaDevicesWebcam {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseFingerprintFingerprintMultimediaDevices {
pub micros: Vec<ProfileCreateResponseFingerprintFingerprintMultimediaDevicesMicro>,
pub speakers: Vec<ProfileCreateResponseFingerprintFingerprintMultimediaDevicesSpeaker>,
pub webcams: Vec<ProfileCreateResponseFingerprintFingerprintMultimediaDevicesWebcam>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseFingerprintFingerprintNavigatorExtraProperties {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "globalPrivacyControl"
)]
pub global_privacy_control: Option<bool>,
#[serde(rename = "installedApps")]
pub installed_apps: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pdfViewerEnabled"
)]
pub pdf_viewer_enabled: Option<bool>,
#[serde(rename = "vendorFlavors")]
pub vendor_flavors: Vec<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintFingerprintNavigatorUserAgentDataBrand {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub brand: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub version: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseFingerprintFingerprintNavigatorUserAgentData {
pub brands: Vec<ProfileCreateResponseFingerprintFingerprintNavigatorUserAgentDataBrand>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub mobile: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseFingerprintFingerprintNavigator {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "appCodeName"
)]
pub app_code_name: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "appName")]
pub app_name: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "appVersion"
)]
pub app_version: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "deviceMemory"
)]
pub device_memory: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "doNotTrack"
)]
pub do_not_track: Option<String>,
#[serde(rename = "extraProperties")]
pub extra_properties: Box<ProfileCreateResponseFingerprintFingerprintNavigatorExtraProperties>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "hardwareConcurrency"
)]
pub hardware_concurrency: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub language: Option<String>,
pub languages: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "maxTouchPoints"
)]
pub max_touch_points: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub oscpu: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub product: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "productSub"
)]
pub product_sub: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
#[serde(rename = "userAgentData")]
pub user_agent_data: Box<ProfileCreateResponseFingerprintFingerprintNavigatorUserAgentData>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub vendor: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "vendorSub")]
pub vendor_sub: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub webdriver: Option<bool>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintFingerprintPluginsDataPluginMimeType {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "enabledPlugin"
)]
pub enabled_plugin: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub suffixes: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "type")]
pub type_: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseFingerprintFingerprintPluginsDataPlugin {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub filename: Option<String>,
#[serde(rename = "mimeTypes")]
pub mime_types: Vec<ProfileCreateResponseFingerprintFingerprintPluginsDataPluginMimeType>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseFingerprintFingerprintPluginsData {
#[serde(rename = "mimeTypes")]
pub mime_types: Vec<String>,
pub plugins: Vec<ProfileCreateResponseFingerprintFingerprintPluginsDataPlugin>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintFingerprintScreen {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "availHeight"
)]
pub avail_height: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "availLeft")]
pub avail_left: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "availTop")]
pub avail_top: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "availWidth"
)]
pub avail_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "clientHeight"
)]
pub client_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "clientWidth"
)]
pub client_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "colorDepth"
)]
pub color_depth: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "devicePixelRatio"
)]
pub device_pixel_ratio: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "hasHDR")]
pub has_hdr: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "innerHeight"
)]
pub inner_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "innerWidth"
)]
pub inner_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "outerHeight"
)]
pub outer_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "outerWidth"
)]
pub outer_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pageXOffset"
)]
pub page_x_offset: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pageYOffset"
)]
pub page_y_offset: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pixelDepth"
)]
pub pixel_depth: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "screenX")]
pub screen_x: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub width: Option<f64>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintFingerprintVideoCard {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub renderer: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub vendor: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseFingerprintFingerprint {
#[serde(rename = "audioCodecs")]
pub audio_codecs: HashMap<String, String>,
pub battery: Box<ProfileCreateResponseFingerprintFingerprintBattery>,
pub fonts: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "mockWebRTC"
)]
pub mock_web_rtc: Option<bool>,
#[serde(rename = "multimediaDevices")]
pub multimedia_devices: Box<ProfileCreateResponseFingerprintFingerprintMultimediaDevices>,
pub navigator: Box<ProfileCreateResponseFingerprintFingerprintNavigator>,
#[serde(rename = "pluginsData")]
pub plugins_data: Box<ProfileCreateResponseFingerprintFingerprintPluginsData>,
pub screen: Box<ProfileCreateResponseFingerprintFingerprintScreen>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub slim: Option<bool>,
#[serde(rename = "videoCard")]
pub video_card: Box<ProfileCreateResponseFingerprintFingerprintVideoCard>,
#[serde(rename = "videoCodecs")]
pub video_codecs: HashMap<String, String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileCreateResponseFingerprintHeaders {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub accept: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "accept-encoding"
)]
pub accept_encoding: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "accept-language"
)]
pub accept_language: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dnt: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sec-ch-ua")]
pub sec_ch_ua: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-ch-ua-mobile"
)]
pub sec_ch_ua_mobile: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-ch-ua-platform"
)]
pub sec_ch_ua_platform: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-dest"
)]
pub sec_fetch_dest: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-mode"
)]
pub sec_fetch_mode: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-site"
)]
pub sec_fetch_site: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-user"
)]
pub sec_fetch_user: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "upgrade-insecure-requests"
)]
pub upgrade_insecure_requests: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "user-agent"
)]
pub user_agent: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
/// The fingerprint associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateResponseFingerprint {
pub fingerprint: Box<ProfileCreateResponseFingerprintFingerprint>,
pub headers: Box<ProfileCreateResponseFingerprintHeaders>,
}
/// The dimensions associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileCreateParamsDimensions {
pub height: f64,
pub width: f64,
}
/// The dimensions associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileDimensions {
pub height: f64,
pub width: f64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintFingerprintBattery {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub charging: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "chargingTime"
)]
pub charging_time: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "dischargingTime"
)]
pub discharging_time: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub level: Option<f64>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintFingerprintMultimediaDevicesMicro {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintFingerprintMultimediaDevicesSpeaker {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintFingerprintMultimediaDevicesWebcam {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileFingerprintFingerprintMultimediaDevices {
pub micros: Vec<ProfileListResponseProfileFingerprintFingerprintMultimediaDevicesMicro>,
pub speakers: Vec<ProfileListResponseProfileFingerprintFingerprintMultimediaDevicesSpeaker>,
pub webcams: Vec<ProfileListResponseProfileFingerprintFingerprintMultimediaDevicesWebcam>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileFingerprintFingerprintNavigatorExtraProperties {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "globalPrivacyControl"
)]
pub global_privacy_control: Option<bool>,
#[serde(rename = "installedApps")]
pub installed_apps: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pdfViewerEnabled"
)]
pub pdf_viewer_enabled: Option<bool>,
#[serde(rename = "vendorFlavors")]
pub vendor_flavors: Vec<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintFingerprintNavigatorUserAgentDataBrand {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub brand: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub version: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileFingerprintFingerprintNavigatorUserAgentData {
pub brands: Vec<ProfileListResponseProfileFingerprintFingerprintNavigatorUserAgentDataBrand>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub mobile: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileFingerprintFingerprintNavigator {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "appCodeName"
)]
pub app_code_name: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "appName")]
pub app_name: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "appVersion"
)]
pub app_version: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "deviceMemory"
)]
pub device_memory: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "doNotTrack"
)]
pub do_not_track: Option<String>,
#[serde(rename = "extraProperties")]
pub extra_properties:
Box<ProfileListResponseProfileFingerprintFingerprintNavigatorExtraProperties>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "hardwareConcurrency"
)]
pub hardware_concurrency: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub language: Option<String>,
pub languages: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "maxTouchPoints"
)]
pub max_touch_points: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub oscpu: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub product: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "productSub"
)]
pub product_sub: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
#[serde(rename = "userAgentData")]
pub user_agent_data:
Box<ProfileListResponseProfileFingerprintFingerprintNavigatorUserAgentData>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub vendor: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "vendorSub")]
pub vendor_sub: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub webdriver: Option<bool>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintFingerprintPluginsDataPluginMimeType {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "enabledPlugin"
)]
pub enabled_plugin: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub suffixes: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "type")]
pub type_: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileFingerprintFingerprintPluginsDataPlugin {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub filename: Option<String>,
#[serde(rename = "mimeTypes")]
pub mime_types: Vec<ProfileListResponseProfileFingerprintFingerprintPluginsDataPluginMimeType>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileFingerprintFingerprintPluginsData {
#[serde(rename = "mimeTypes")]
pub mime_types: Vec<String>,
pub plugins: Vec<ProfileListResponseProfileFingerprintFingerprintPluginsDataPlugin>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintFingerprintScreen {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "availHeight"
)]
pub avail_height: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "availLeft")]
pub avail_left: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "availTop")]
pub avail_top: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "availWidth"
)]
pub avail_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "clientHeight"
)]
pub client_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "clientWidth"
)]
pub client_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "colorDepth"
)]
pub color_depth: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "devicePixelRatio"
)]
pub device_pixel_ratio: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "hasHDR")]
pub has_hdr: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "innerHeight"
)]
pub inner_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "innerWidth"
)]
pub inner_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "outerHeight"
)]
pub outer_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "outerWidth"
)]
pub outer_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pageXOffset"
)]
pub page_x_offset: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pageYOffset"
)]
pub page_y_offset: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pixelDepth"
)]
pub pixel_depth: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "screenX")]
pub screen_x: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub width: Option<f64>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintFingerprintVideoCard {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub renderer: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub vendor: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileFingerprintFingerprint {
#[serde(rename = "audioCodecs")]
pub audio_codecs: HashMap<String, String>,
pub battery: Box<ProfileListResponseProfileFingerprintFingerprintBattery>,
pub fonts: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "mockWebRTC"
)]
pub mock_web_rtc: Option<bool>,
#[serde(rename = "multimediaDevices")]
pub multimedia_devices: Box<ProfileListResponseProfileFingerprintFingerprintMultimediaDevices>,
pub navigator: Box<ProfileListResponseProfileFingerprintFingerprintNavigator>,
#[serde(rename = "pluginsData")]
pub plugins_data: Box<ProfileListResponseProfileFingerprintFingerprintPluginsData>,
pub screen: Box<ProfileListResponseProfileFingerprintFingerprintScreen>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub slim: Option<bool>,
#[serde(rename = "videoCard")]
pub video_card: Box<ProfileListResponseProfileFingerprintFingerprintVideoCard>,
#[serde(rename = "videoCodecs")]
pub video_codecs: HashMap<String, String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListResponseProfileFingerprintHeaders {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub accept: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "accept-encoding"
)]
pub accept_encoding: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "accept-language"
)]
pub accept_language: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dnt: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sec-ch-ua")]
pub sec_ch_ua: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-ch-ua-mobile"
)]
pub sec_ch_ua_mobile: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-ch-ua-platform"
)]
pub sec_ch_ua_platform: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-dest"
)]
pub sec_fetch_dest: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-mode"
)]
pub sec_fetch_mode: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-site"
)]
pub sec_fetch_site: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-user"
)]
pub sec_fetch_user: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "upgrade-insecure-requests"
)]
pub upgrade_insecure_requests: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "user-agent"
)]
pub user_agent: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
/// The fingerprint associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfileFingerprint {
pub fingerprint: Box<ProfileListResponseProfileFingerprintFingerprint>,
pub headers: Box<ProfileListResponseProfileFingerprintHeaders>,
}
/// The list of profiles
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileListResponseProfile {
/// The date and time when the profile was created
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// The credentials configuration associated with the profile
#[serde(rename = "credentialsConfig")]
pub credentials_config: serde_json::Value,
/// The dimensions associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dimensions: Option<Box<ProfileListResponseProfileDimensions>>,
/// The extension IDs associated with the profile
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "extensionIds"
)]
pub extension_ids: Option<Vec<String>>,
/// The fingerprint associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none")]
pub fingerprint: Option<Box<ProfileListResponseProfileFingerprint>>,
/// The unique identifier for the profile
pub id: String,
/// The project ID associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// The last session ID associated with the profile
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sourceSessionId"
)]
pub source_session_id: Option<String>,
/// The status of the profile
pub status: ProfileStatus,
/// The date and time when the profile was last updated
#[serde(rename = "updatedAt")]
pub updated_at: chrono::DateTime<chrono::Utc>,
/// The proxy configuration associated with the profile
#[serde(rename = "useProxyConfig")]
pub use_proxy_config: serde_json::Value,
/// The user agent associated with the profile
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ScrapeResponseContent {
/// Cleaned HTML content of the webpage
#[serde(default, skip_serializing_if = "Option::is_none")]
pub cleaned_html: Option<String>,
/// Raw HTML content of the webpage
#[serde(default, skip_serializing_if = "Option::is_none")]
pub html: Option<String>,
/// Webpage content converted to Markdown
#[serde(default, skip_serializing_if = "Option::is_none")]
pub markdown: Option<String>,
/// Webpage content in Readability format
#[serde(default, skip_serializing_if = "Option::is_none")]
pub readability: Option<HashMap<String, serde_json::Value>>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ScrapeResponseLink {
/// Text content of the link
pub text: String,
/// URL of the link
pub url: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ScrapeResponseMetadata {
/// Author of the article content
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "articleAuthor"
)]
pub article_author: Option<String>,
/// Author of the webpage content
#[serde(default, skip_serializing_if = "Option::is_none")]
pub author: Option<String>,
/// Canonical URL of the webpage
#[serde(default, skip_serializing_if = "Option::is_none")]
pub canonical: Option<String>,
/// Description of the webpage
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
/// Favicon URL of the website
#[serde(default, skip_serializing_if = "Option::is_none")]
pub favicon: Option<String>,
/// JSON-LD structured data from the webpage
#[serde(default, skip_serializing_if = "Option::is_none", rename = "jsonLd")]
pub json_ld: Option<serde_json::Value>,
/// Keywords associated with the webpage
#[serde(default, skip_serializing_if = "Option::is_none")]
pub keywords: Option<String>,
/// Detected language of the webpage
#[serde(default, skip_serializing_if = "Option::is_none")]
pub language: Option<String>,
/// Last modification time of the content
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "modifiedTime"
)]
pub modified_time: Option<String>,
/// Open Graph description
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "ogDescription"
)]
pub og_description: Option<String>,
/// Open Graph image URL
#[serde(default, skip_serializing_if = "Option::is_none", rename = "ogImage")]
pub og_image: Option<String>,
/// Open Graph site name
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "ogSiteName"
)]
pub og_site_name: Option<String>,
/// Open Graph title
#[serde(default, skip_serializing_if = "Option::is_none", rename = "ogTitle")]
pub og_title: Option<String>,
/// Open Graph URL
#[serde(default, skip_serializing_if = "Option::is_none", rename = "ogUrl")]
pub og_url: Option<String>,
/// Publication time of the content
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "publishedTime"
)]
pub published_time: Option<String>,
/// HTTP status code of the response
#[serde(rename = "statusCode")]
pub status_code: i64,
/// Timestamp when the scrape was performed
#[serde(default, skip_serializing_if = "Option::is_none")]
pub timestamp: Option<chrono::DateTime<chrono::Utc>>,
/// Title of the webpage
#[serde(default, skip_serializing_if = "Option::is_none")]
pub title: Option<String>,
/// Source URL of the scraped page
#[serde(default, skip_serializing_if = "Option::is_none", rename = "urlSource")]
pub url_source: Option<String>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ScrapeResponsePdf {
/// URL of the generated PDF
pub url: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ScrapeResponseScreenshot {
/// URL of the screenshot image
pub url: String,
}
/// The partition key of the cookie
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionContextCookiePartitionKey {
/// Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.
#[serde(rename = "hasCrossSiteAncestor")]
pub has_cross_site_ancestor: bool,
/// The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.
#[serde(rename = "topLevelSite")]
pub top_level_site: String,
}
/// Cookies to initialize in the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionContextCookie {
/// The domain of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub domain: Option<String>,
/// The expiration date of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub expires: Option<f64>,
/// Whether the cookie is HTTP only
#[serde(default, skip_serializing_if = "Option::is_none", rename = "httpOnly")]
pub http_only: Option<bool>,
/// The name of the cookie
pub name: String,
/// The partition key of the cookie
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "partitionKey"
)]
pub partition_key: Option<Box<SessionContextCookiePartitionKey>>,
/// The path of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub path: Option<String>,
/// The priority of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub priority: Option<CreateSessionRequestSessionContextCookiesItemPriority>,
/// Whether the cookie is a same party cookie
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sameParty")]
pub same_party: Option<bool>,
/// The same site attribute of the cookie
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sameSite")]
pub same_site: Option<CreateSessionRequestSessionContextCookiesItemSameSite>,
/// Whether the cookie is secure
#[serde(default, skip_serializing_if = "Option::is_none")]
pub secure: Option<bool>,
/// Whether the cookie is a session cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub session: Option<bool>,
/// The size of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub size: Option<i64>,
/// The source port of the cookie
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sourcePort"
)]
pub source_port: Option<f64>,
/// The source scheme of the cookie
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sourceScheme"
)]
pub source_scheme: Option<CreateSessionRequestSessionContextCookiesItemSourceScheme>,
/// The URL of the cookie
#[serde(default, skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
/// The value of the cookie
pub value: String,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionContextIndexedDBDataRecordBlobFile {
#[serde(rename = "blobNumber")]
pub blob_number: f64,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub filename: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "lastModified"
)]
pub last_modified: Option<chrono::DateTime<chrono::Utc>>,
#[serde(rename = "mimeType")]
pub mime_type: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub path: Option<String>,
pub size: i64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionContextIndexedDBDataRecord {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "blobFiles")]
pub blob_files: Option<Vec<SessionContextIndexedDBDataRecordBlobFile>>,
pub key: serde_json::Value,
pub value: serde_json::Value,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionContextIndexedDBData {
pub id: f64,
pub name: String,
pub records: Vec<SessionContextIndexedDBDataRecord>,
}
/// Domain-specific indexedDB items to initialize in the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionContextIndexedDB {
pub data: Vec<SessionContextIndexedDBData>,
pub id: f64,
pub name: String,
}
#[derive(Debug, Clone, PartialEq, Eq)]
#[non_exhaustive]
pub enum SessionCostResponseUsageBrowserUnit {
Minute,
Second,
/// A value returned by the API that this version of the SDK does not recognize.
Unknown(String),
}
impl std::fmt::Display for SessionCostResponseUsageBrowserUnit {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
let s = match self {
SessionCostResponseUsageBrowserUnit::Minute => "minute",
SessionCostResponseUsageBrowserUnit::Second => "second",
SessionCostResponseUsageBrowserUnit::Unknown(inner) => inner.as_str(),
};
f.write_str(s)
}
}
impl serde::Serialize for SessionCostResponseUsageBrowserUnit {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.collect_str(self)
}
}
impl<'de> serde::Deserialize<'de> for SessionCostResponseUsageBrowserUnit {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
let s = <String as serde::Deserialize>::deserialize(deserializer)?;
let known = match s.as_str() {
"minute" => Some(SessionCostResponseUsageBrowserUnit::Minute),
"second" => Some(SessionCostResponseUsageBrowserUnit::Second),
_ => None,
};
Ok(known.unwrap_or(SessionCostResponseUsageBrowserUnit::Unknown(s)))
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCostResponseUsageBrowser {
/// Billing unit for browser usage
pub unit: SessionCostResponseUsageBrowserUnit,
/// Billable browser usage value
pub value: f64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCostResponseUsageCaptcha {
/// Billable captcha solves
pub solves: i64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCostResponseUsageProxy {
/// Billable Steel proxy bytes for the session
pub bytes: i64,
}
/// Billable usage inputs used to calculate the costs
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionCostResponseUsage {
pub browser: Box<SessionCostResponseUsageBrowser>,
pub captcha: Box<SessionCostResponseUsageCaptcha>,
pub proxy: Box<SessionCostResponseUsageProxy>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionLiveDetailsResponsePage {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub favicon: Option<String>,
pub id: String,
#[serde(rename = "sessionViewerFullscreenUrl")]
pub session_viewer_fullscreen_url: String,
#[serde(rename = "sessionViewerUrl")]
pub session_viewer_url: String,
pub title: String,
pub url: String,
}
/// Configuration for the debug URL and session viewer. Controls interaction capabilities and cursor visibility.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionDebugConfig {
/// Whether interaction is allowed via the debug URL viewer. When false, the session viewer is view-only.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub interactive: Option<bool>,
/// Whether the OS-level mouse cursor is shown in the WebRTC stream (headful mode only).
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "systemCursor"
)]
pub system_cursor: Option<bool>,
}
/// Device configuration for the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionDeviceConfig {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub device: Option<CreateSessionRequestDeviceConfigDevice>,
}
/// Viewport and browser window dimensions for the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionDimensions {
/// Height of the browser window
pub height: i64,
/// Width of the browser window
pub width: i64,
}
/// Bandwidth optimizations that were applied to the session.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionOptimizeBandwidth {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockHosts"
)]
pub block_hosts: Option<Vec<String>>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockImages"
)]
pub block_images: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockMedia"
)]
pub block_media: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockStylesheets"
)]
pub block_stylesheets: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockUrlPatterns"
)]
pub block_url_patterns: Option<Vec<String>>,
}
/// Stealth configuration for the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionStealthConfig {
/// When true, captchas will be automatically solved when detected. When false, use the solve endpoints to manually initiate solving.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "autoCaptchaSolving"
)]
pub auto_captcha_solving: Option<bool>,
/// This flag will make the browser act more human-like by moving the mouse in a more natural way
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "humanizeInteractions"
)]
pub humanize_interactions: Option<bool>,
/// This flag will skip the fingerprint generation for the session.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "skipFingerprintInjection"
)]
pub skip_fingerprint_injection: Option<bool>,
}
/// Configuration for the debug URL and session viewer. Controls interaction capabilities and cursor visibility.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionListSessionDebugConfig {
/// Whether interaction is allowed via the debug URL viewer. When false, the session viewer is view-only.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub interactive: Option<bool>,
/// Whether the OS-level mouse cursor is shown in the WebRTC stream (headful mode only).
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "systemCursor"
)]
pub system_cursor: Option<bool>,
}
/// Device configuration for the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionListSessionDeviceConfig {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub device: Option<CreateSessionRequestDeviceConfigDevice>,
}
/// Viewport and browser window dimensions for the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionListSessionDimensions {
/// Height of the browser window
pub height: i64,
/// Width of the browser window
pub width: i64,
}
/// Bandwidth optimizations that were applied to the session.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionListSessionOptimizeBandwidth {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockHosts"
)]
pub block_hosts: Option<Vec<String>>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockImages"
)]
pub block_images: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockMedia"
)]
pub block_media: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockStylesheets"
)]
pub block_stylesheets: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "blockUrlPatterns"
)]
pub block_url_patterns: Option<Vec<String>>,
}
/// Stealth configuration for the session
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionListSessionStealthConfig {
/// When true, captchas will be automatically solved when detected. When false, use the solve endpoints to manually initiate solving.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "autoCaptchaSolving"
)]
pub auto_captcha_solving: Option<bool>,
/// This flag will make the browser act more human-like by moving the mouse in a more natural way
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "humanizeInteractions"
)]
pub humanize_interactions: Option<bool>,
/// This flag will skip the fingerprint generation for the session.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "skipFingerprintInjection"
)]
pub skip_fingerprint_injection: Option<bool>,
}
/// List of browser sessions
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SessionListSession {
/// Timestamp when the session started
#[serde(rename = "createdAt")]
pub created_at: chrono::DateTime<chrono::Utc>,
/// Amount of credits consumed by the session
#[serde(rename = "creditsUsed")]
pub credits_used: i64,
/// Configuration for the debug URL and session viewer. Controls interaction capabilities and cursor visibility.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "debugConfig"
)]
pub debug_config: Option<Box<SessionListSessionDebugConfig>>,
/// URL for debugging the session
#[serde(rename = "debugUrl")]
pub debug_url: String,
/// Device configuration for the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "deviceConfig"
)]
pub device_config: Option<Box<SessionListSessionDeviceConfig>>,
/// Viewport and browser window dimensions for the session
pub dimensions: Box<SessionListSessionDimensions>,
/// Duration of the session in milliseconds
pub duration: i64,
/// Number of events processed in the session
#[serde(rename = "eventCount")]
pub event_count: i64,
/// Launch the browser in fullscreen mode, covering the full screen with no Chrome UI.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub fullscreen: Option<bool>,
/// Indicates if the session is headless or headful
#[serde(default, skip_serializing_if = "Option::is_none")]
pub headless: Option<bool>,
/// Unique identifier for the session
pub id: String,
/// Inactivity timeout in milliseconds, if one was set when the session was created
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "inactivityTimeout"
)]
pub inactivity_timeout: Option<i64>,
/// Indicates if Selenium is used in the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "isSelenium"
)]
pub is_selenium: Option<bool>,
/// Bandwidth optimizations that were applied to the session.
#[serde(rename = "optimizeBandwidth")]
pub optimize_bandwidth: Box<SessionListSessionOptimizeBandwidth>,
/// This flag will persist the profile for the session.
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "persistProfile"
)]
pub persist_profile: Option<bool>,
/// The ID of the profile associated with the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "profileId")]
pub profile_id: Option<String>,
/// The project associated with the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// Amount of data transmitted through the proxy
#[serde(rename = "proxyBytesUsed")]
pub proxy_bytes_used: i64,
/// Source of the proxy used for the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "proxySource"
)]
pub proxy_source: Option<SessionResponseProxySource>,
/// The region where the session was created.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub region: Option<SessionResponseRegion>,
/// Why the session reached a terminal state. Null while the session is live, or when the reason is unknown (e.g. sessions created before this was tracked). One of: user_requested (released via the API/SDK), timeout (hard `timeout` elapsed), inactivity_timeout (no activity for the configured window), creation_timeout (never started in time), startup_failed (could not be dispatched), browser_closed (the browser or agent closed itself — not a crash), browser_crashed (the browser crashed or its machine became unresponsive).
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "releaseReason"
)]
pub release_reason: Option<SessionResponseReleaseReason>,
/// URL to view session details
#[serde(rename = "sessionViewerUrl")]
pub session_viewer_url: String,
/// Indicates if captcha solving is enabled
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "solveCaptcha"
)]
pub solve_captcha: Option<bool>,
/// Status of the session
pub status: SessionResponseStatus,
/// Stealth configuration for the session
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "stealthConfig"
)]
pub stealth_config: Option<Box<SessionListSessionStealthConfig>>,
/// Session timeout duration in milliseconds
pub timeout: i64,
/// User agent string used in the session
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
/// URL for the session's WebSocket connection
#[serde(rename = "websocketUrl")]
pub websocket_url: String,
}
/// The dimensions associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseDimensions {
pub height: f64,
pub width: f64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintFingerprintBattery {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub charging: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "chargingTime"
)]
pub charging_time: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "dischargingTime"
)]
pub discharging_time: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub level: Option<f64>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintFingerprintMultimediaDevicesMicro {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintFingerprintMultimediaDevicesSpeaker {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintFingerprintMultimediaDevicesWebcam {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseFingerprintFingerprintMultimediaDevices {
pub micros: Vec<ProfileGetResponseFingerprintFingerprintMultimediaDevicesMicro>,
pub speakers: Vec<ProfileGetResponseFingerprintFingerprintMultimediaDevicesSpeaker>,
pub webcams: Vec<ProfileGetResponseFingerprintFingerprintMultimediaDevicesWebcam>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseFingerprintFingerprintNavigatorExtraProperties {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "globalPrivacyControl"
)]
pub global_privacy_control: Option<bool>,
#[serde(rename = "installedApps")]
pub installed_apps: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pdfViewerEnabled"
)]
pub pdf_viewer_enabled: Option<bool>,
#[serde(rename = "vendorFlavors")]
pub vendor_flavors: Vec<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintFingerprintNavigatorUserAgentDataBrand {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub brand: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub version: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseFingerprintFingerprintNavigatorUserAgentData {
pub brands: Vec<ProfileGetResponseFingerprintFingerprintNavigatorUserAgentDataBrand>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub mobile: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseFingerprintFingerprintNavigator {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "appCodeName"
)]
pub app_code_name: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "appName")]
pub app_name: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "appVersion"
)]
pub app_version: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "deviceMemory"
)]
pub device_memory: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "doNotTrack"
)]
pub do_not_track: Option<String>,
#[serde(rename = "extraProperties")]
pub extra_properties: Box<ProfileGetResponseFingerprintFingerprintNavigatorExtraProperties>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "hardwareConcurrency"
)]
pub hardware_concurrency: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub language: Option<String>,
pub languages: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "maxTouchPoints"
)]
pub max_touch_points: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub oscpu: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub product: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "productSub"
)]
pub product_sub: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
#[serde(rename = "userAgentData")]
pub user_agent_data: Box<ProfileGetResponseFingerprintFingerprintNavigatorUserAgentData>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub vendor: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "vendorSub")]
pub vendor_sub: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub webdriver: Option<bool>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintFingerprintPluginsDataPluginMimeType {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "enabledPlugin"
)]
pub enabled_plugin: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub suffixes: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "type")]
pub type_: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseFingerprintFingerprintPluginsDataPlugin {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub filename: Option<String>,
#[serde(rename = "mimeTypes")]
pub mime_types: Vec<ProfileGetResponseFingerprintFingerprintPluginsDataPluginMimeType>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseFingerprintFingerprintPluginsData {
#[serde(rename = "mimeTypes")]
pub mime_types: Vec<String>,
pub plugins: Vec<ProfileGetResponseFingerprintFingerprintPluginsDataPlugin>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintFingerprintScreen {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "availHeight"
)]
pub avail_height: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "availLeft")]
pub avail_left: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "availTop")]
pub avail_top: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "availWidth"
)]
pub avail_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "clientHeight"
)]
pub client_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "clientWidth"
)]
pub client_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "colorDepth"
)]
pub color_depth: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "devicePixelRatio"
)]
pub device_pixel_ratio: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "hasHDR")]
pub has_hdr: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "innerHeight"
)]
pub inner_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "innerWidth"
)]
pub inner_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "outerHeight"
)]
pub outer_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "outerWidth"
)]
pub outer_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pageXOffset"
)]
pub page_x_offset: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pageYOffset"
)]
pub page_y_offset: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pixelDepth"
)]
pub pixel_depth: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "screenX")]
pub screen_x: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub width: Option<f64>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintFingerprintVideoCard {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub renderer: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub vendor: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseFingerprintFingerprint {
#[serde(rename = "audioCodecs")]
pub audio_codecs: HashMap<String, String>,
pub battery: Box<ProfileGetResponseFingerprintFingerprintBattery>,
pub fonts: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "mockWebRTC"
)]
pub mock_web_rtc: Option<bool>,
#[serde(rename = "multimediaDevices")]
pub multimedia_devices: Box<ProfileGetResponseFingerprintFingerprintMultimediaDevices>,
pub navigator: Box<ProfileGetResponseFingerprintFingerprintNavigator>,
#[serde(rename = "pluginsData")]
pub plugins_data: Box<ProfileGetResponseFingerprintFingerprintPluginsData>,
pub screen: Box<ProfileGetResponseFingerprintFingerprintScreen>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub slim: Option<bool>,
#[serde(rename = "videoCard")]
pub video_card: Box<ProfileGetResponseFingerprintFingerprintVideoCard>,
#[serde(rename = "videoCodecs")]
pub video_codecs: HashMap<String, String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetResponseFingerprintHeaders {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub accept: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "accept-encoding"
)]
pub accept_encoding: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "accept-language"
)]
pub accept_language: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dnt: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sec-ch-ua")]
pub sec_ch_ua: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-ch-ua-mobile"
)]
pub sec_ch_ua_mobile: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-ch-ua-platform"
)]
pub sec_ch_ua_platform: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-dest"
)]
pub sec_fetch_dest: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-mode"
)]
pub sec_fetch_mode: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-site"
)]
pub sec_fetch_site: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-user"
)]
pub sec_fetch_user: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "upgrade-insecure-requests"
)]
pub upgrade_insecure_requests: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "user-agent"
)]
pub user_agent: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
/// The fingerprint associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileGetResponseFingerprint {
pub fingerprint: Box<ProfileGetResponseFingerprintFingerprint>,
pub headers: Box<ProfileGetResponseFingerprintHeaders>,
}
/// The dimensions associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateParamsDimensions {
pub height: f64,
pub width: f64,
}
/// The dimensions associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseDimensions {
pub height: f64,
pub width: f64,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintFingerprintBattery {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub charging: Option<bool>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "chargingTime"
)]
pub charging_time: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "dischargingTime"
)]
pub discharging_time: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub level: Option<f64>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintFingerprintMultimediaDevicesMicro {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintFingerprintMultimediaDevicesSpeaker {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintFingerprintMultimediaDevicesWebcam {
#[serde(default, skip_serializing_if = "Option::is_none", rename = "deviceId")]
pub device_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "groupId")]
pub group_id: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub label: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseFingerprintFingerprintMultimediaDevices {
pub micros: Vec<ProfileUpdateResponseFingerprintFingerprintMultimediaDevicesMicro>,
pub speakers: Vec<ProfileUpdateResponseFingerprintFingerprintMultimediaDevicesSpeaker>,
pub webcams: Vec<ProfileUpdateResponseFingerprintFingerprintMultimediaDevicesWebcam>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseFingerprintFingerprintNavigatorExtraProperties {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "globalPrivacyControl"
)]
pub global_privacy_control: Option<bool>,
#[serde(rename = "installedApps")]
pub installed_apps: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pdfViewerEnabled"
)]
pub pdf_viewer_enabled: Option<bool>,
#[serde(rename = "vendorFlavors")]
pub vendor_flavors: Vec<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintFingerprintNavigatorUserAgentDataBrand {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub brand: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub version: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseFingerprintFingerprintNavigatorUserAgentData {
pub brands: Vec<ProfileUpdateResponseFingerprintFingerprintNavigatorUserAgentDataBrand>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub mobile: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseFingerprintFingerprintNavigator {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "appCodeName"
)]
pub app_code_name: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "appName")]
pub app_name: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "appVersion"
)]
pub app_version: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "deviceMemory"
)]
pub device_memory: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "doNotTrack"
)]
pub do_not_track: Option<String>,
#[serde(rename = "extraProperties")]
pub extra_properties: Box<ProfileUpdateResponseFingerprintFingerprintNavigatorExtraProperties>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "hardwareConcurrency"
)]
pub hardware_concurrency: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub language: Option<String>,
pub languages: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "maxTouchPoints"
)]
pub max_touch_points: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub oscpu: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub platform: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub product: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "productSub"
)]
pub product_sub: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "userAgent")]
pub user_agent: Option<String>,
#[serde(rename = "userAgentData")]
pub user_agent_data: Box<ProfileUpdateResponseFingerprintFingerprintNavigatorUserAgentData>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub vendor: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "vendorSub")]
pub vendor_sub: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub webdriver: Option<bool>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintFingerprintPluginsDataPluginMimeType {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "enabledPlugin"
)]
pub enabled_plugin: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub suffixes: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "type")]
pub type_: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseFingerprintFingerprintPluginsDataPlugin {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub filename: Option<String>,
#[serde(rename = "mimeTypes")]
pub mime_types: Vec<ProfileUpdateResponseFingerprintFingerprintPluginsDataPluginMimeType>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseFingerprintFingerprintPluginsData {
#[serde(rename = "mimeTypes")]
pub mime_types: Vec<String>,
pub plugins: Vec<ProfileUpdateResponseFingerprintFingerprintPluginsDataPlugin>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintFingerprintScreen {
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "availHeight"
)]
pub avail_height: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "availLeft")]
pub avail_left: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "availTop")]
pub avail_top: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "availWidth"
)]
pub avail_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "clientHeight"
)]
pub client_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "clientWidth"
)]
pub client_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "colorDepth"
)]
pub color_depth: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "devicePixelRatio"
)]
pub device_pixel_ratio: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "hasHDR")]
pub has_hdr: Option<bool>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "innerHeight"
)]
pub inner_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "innerWidth"
)]
pub inner_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "outerHeight"
)]
pub outer_height: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "outerWidth"
)]
pub outer_width: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pageXOffset"
)]
pub page_x_offset: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pageYOffset"
)]
pub page_y_offset: Option<f64>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "pixelDepth"
)]
pub pixel_depth: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "screenX")]
pub screen_x: Option<f64>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub width: Option<f64>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintFingerprintVideoCard {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub renderer: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub vendor: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseFingerprintFingerprint {
#[serde(rename = "audioCodecs")]
pub audio_codecs: HashMap<String, String>,
pub battery: Box<ProfileUpdateResponseFingerprintFingerprintBattery>,
pub fonts: Vec<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "mockWebRTC"
)]
pub mock_web_rtc: Option<bool>,
#[serde(rename = "multimediaDevices")]
pub multimedia_devices: Box<ProfileUpdateResponseFingerprintFingerprintMultimediaDevices>,
pub navigator: Box<ProfileUpdateResponseFingerprintFingerprintNavigator>,
#[serde(rename = "pluginsData")]
pub plugins_data: Box<ProfileUpdateResponseFingerprintFingerprintPluginsData>,
pub screen: Box<ProfileUpdateResponseFingerprintFingerprintScreen>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub slim: Option<bool>,
#[serde(rename = "videoCard")]
pub video_card: Box<ProfileUpdateResponseFingerprintFingerprintVideoCard>,
#[serde(rename = "videoCodecs")]
pub video_codecs: HashMap<String, String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateResponseFingerprintHeaders {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub accept: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "accept-encoding"
)]
pub accept_encoding: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "accept-language"
)]
pub accept_language: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub dnt: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "sec-ch-ua")]
pub sec_ch_ua: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-ch-ua-mobile"
)]
pub sec_ch_ua_mobile: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-ch-ua-platform"
)]
pub sec_ch_ua_platform: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-dest"
)]
pub sec_fetch_dest: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-mode"
)]
pub sec_fetch_mode: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-site"
)]
pub sec_fetch_site: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "sec-fetch-user"
)]
pub sec_fetch_user: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "upgrade-insecure-requests"
)]
pub upgrade_insecure_requests: Option<String>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "user-agent"
)]
pub user_agent: Option<String>,
#[serde(flatten)]
pub extra: HashMap<String, serde_json::Value>,
}
/// The fingerprint associated with the profile
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct ProfileUpdateResponseFingerprint {
pub fingerprint: Box<ProfileUpdateResponseFingerprintFingerprint>,
pub headers: Box<ProfileUpdateResponseFingerprintHeaders>,
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[allow(clippy::large_enum_variant)]
#[serde(tag = "action")]
pub enum SessionComputerParams {
#[serde(rename = "move_mouse")]
MoveMouse(ComputerActionRequestMoveMouse),
#[serde(rename = "click_mouse")]
ClickMouse(ComputerActionRequestClickMouse),
#[serde(rename = "drag_mouse")]
DragMouse(ComputerActionRequestDragMouse),
#[serde(rename = "scroll")]
Scroll(ComputerActionRequestScroll),
#[serde(rename = "press_key")]
PressKey(ComputerActionRequestPressKey),
#[serde(rename = "type_text")]
TypeText(ComputerActionRequestTypeText),
#[serde(rename = "wait")]
Wait(ComputerActionRequestWait),
#[serde(rename = "take_screenshot")]
TakeScreenshot(ComputerActionRequestTakeScreenshot),
#[serde(rename = "get_cursor_position")]
GetCursorPosition(ComputerActionRequestGetCursorPosition),
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct CredentialListParams {
/// Project to query credentials from.
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
/// namespace credential is stored against
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
/// website origin the credential is for
#[serde(default, skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
}
impl CredentialListParams {
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
#[must_use]
pub fn namespace(mut self, value: impl Into<String>) -> Self {
self.namespace = Some(value.into());
self
}
#[must_use]
pub fn origin(mut self, value: impl Into<String>) -> Self {
self.origin = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileListParams {
/// Project to query profiles from
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
}
impl ProfileListParams {
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileGetParams {
/// Project to query profiles from
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
}
impl ProfileGetParams {
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct ProfileUpdateQueryParams {
/// Project to query profiles from
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
}
impl ProfileUpdateQueryParams {
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionListParams {
/// Cursor ID for pagination
#[serde(default, skip_serializing_if = "Option::is_none", rename = "cursorId")]
pub cursor_id: Option<String>,
/// Number of sessions to return. Default is 50, max is 100.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub limit: Option<i64>,
/// Filter sessions by current status
#[serde(default, skip_serializing_if = "Option::is_none")]
pub status: Option<SessionResponseStatus>,
/// Filter sessions by project
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
}
impl SessionListParams {
#[must_use]
pub fn cursor_id(mut self, value: impl Into<String>) -> Self {
self.cursor_id = Some(value.into());
self
}
#[must_use]
pub fn limit(mut self, value: i64) -> Self {
self.limit = Some(value);
self
}
#[must_use]
pub fn status(mut self, value: SessionResponseStatus) -> Self {
self.status = Some(value);
self
}
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionReleaseAllQueryParams {
/// Release sessions only within this project
#[serde(default, skip_serializing_if = "Option::is_none", rename = "projectId")]
pub project_id: Option<String>,
}
impl SessionReleaseAllQueryParams {
#[must_use]
pub fn project_id(mut self, value: impl Into<String>) -> Self {
self.project_id = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionAgentTracesParams {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub namespace: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "startTime")]
pub start_time: Option<chrono::DateTime<chrono::Utc>>,
#[serde(default, skip_serializing_if = "Option::is_none", rename = "endTime")]
pub end_time: Option<chrono::DateTime<chrono::Utc>>,
#[serde(
default,
skip_serializing_if = "Option::is_none",
rename = "eventTypes"
)]
pub event_types: Option<Vec<String>>,
}
impl SessionAgentTracesParams {
#[must_use]
pub fn namespace(mut self, value: impl Into<String>) -> Self {
self.namespace = Some(value.into());
self
}
#[must_use]
pub fn start_time(mut self, value: chrono::DateTime<chrono::Utc>) -> Self {
self.start_time = Some(value);
self
}
#[must_use]
pub fn end_time(mut self, value: chrono::DateTime<chrono::Utc>) -> Self {
self.end_time = Some(value);
self
}
#[must_use]
pub fn event_types(mut self, value: Vec<String>) -> Self {
self.event_types = Some(value);
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct SessionEventsParams {
/// Compress the events
#[serde(default, skip_serializing_if = "Option::is_none")]
pub compressed: Option<bool>,
/// Optional pagination limit
#[serde(default, skip_serializing_if = "Option::is_none")]
pub limit: Option<i64>,
/// Opaque pagination token. Pass the Next-Cursor header value to get the next page.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub pointer: Option<String>,
}
impl SessionEventsParams {
#[must_use]
pub fn compressed(mut self, value: bool) -> Self {
self.compressed = Some(value);
self
}
#[must_use]
pub fn limit(mut self, value: i64) -> Self {
self.limit = Some(value);
self
}
#[must_use]
pub fn pointer(mut self, value: impl Into<String>) -> Self {
self.pointer = Some(value.into());
self
}
}
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct FileUpload {
pub name: String,
pub content: Vec<u8>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub content_type: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
}
impl FileUpload {
pub fn new(name: impl Into<String>, content: impl Into<Vec<u8>>) -> Self {
Self {
name: name.into(),
content: content.into(),
content_type: None,
url: None,
}
}
pub fn from_url(url: impl Into<String>) -> Self {
Self {
name: String::new(),
content: Vec::new(),
content_type: None,
url: Some(url.into()),
}
}
pub fn with_content_type(mut self, content_type: impl Into<String>) -> Self {
self.content_type = Some(content_type.into());
self
}
#[allow(dead_code)]
pub(crate) fn to_form(&self) -> Result<reqwest::multipart::Form, reqwest::Error> {
if let Some(__url) = &self.url {
return Ok(reqwest::multipart::Form::new().text("file", __url.clone()));
}
let mut part =
reqwest::multipart::Part::bytes(self.content.clone()).file_name(self.name.clone());
if let Some(__ct) = &self.content_type {
part = part.mime_str(__ct)?;
}
Ok(reqwest::multipart::Form::new().part("file", part))
}
}
impl ExtensionUploadParams {
pub(crate) fn to_form(&self) -> Result<reqwest::multipart::Form, reqwest::Error> {
let mut form = reqwest::multipart::Form::new();
if let Some(__f) = &self.file {
if let Some(__url) = &__f.url {
form = form.text("file", __url.clone());
}
if __f.url.is_none() {
let mut __part = reqwest::multipart::Part::bytes(__f.content.clone())
.file_name(__f.name.clone());
if let Some(__ct) = &__f.content_type {
__part = __part.mime_str(__ct)?;
}
form = form.part("file", __part);
}
}
if let Some(__v) = &self.url {
form = form.text("url", __v.to_string());
}
Ok(form)
}
}
impl ExtensionUpdateParams {
pub(crate) fn to_form(&self) -> Result<reqwest::multipart::Form, reqwest::Error> {
let mut form = reqwest::multipart::Form::new();
if let Some(__f) = &self.file {
if let Some(__url) = &__f.url {
form = form.text("file", __url.clone());
}
if __f.url.is_none() {
let mut __part = reqwest::multipart::Part::bytes(__f.content.clone())
.file_name(__f.name.clone());
if let Some(__ct) = &__f.content_type {
__part = __part.mime_str(__ct)?;
}
form = form.part("file", __part);
}
}
if let Some(__v) = &self.url {
form = form.text("url", __v.to_string());
}
Ok(form)
}
}
impl FileUploadParams {
pub(crate) fn to_form(&self) -> Result<reqwest::multipart::Form, reqwest::Error> {
let mut form = reqwest::multipart::Form::new();
{
let __f = &self.file;
if let Some(__url) = &__f.url {
form = form.text("file", __url.clone());
}
if __f.url.is_none() {
let mut __part = reqwest::multipart::Part::bytes(__f.content.clone())
.file_name(__f.name.clone());
if let Some(__ct) = &__f.content_type {
__part = __part.mime_str(__ct)?;
}
form = form.part("file", __part);
}
}
if let Some(__v) = &self.path {
form = form.text("path", __v.to_string());
}
Ok(form)
}
}
impl ProfileCreateParams {
pub(crate) fn to_form(&self) -> Result<reqwest::multipart::Form, reqwest::Error> {
let mut form = reqwest::multipart::Form::new();
if let Some(__v) = &self.dimensions {
form = form.text("dimensions", serde_json::to_string(__v).unwrap_or_default());
}
if let Some(__v) = &self.project_id {
form = form.text("projectId", __v.to_string());
}
if let Some(__v) = &self.proxy_url {
form = form.text("proxyUrl", __v.to_string());
}
if let Some(__v) = &self.user_agent {
form = form.text("userAgent", __v.to_string());
}
{
let __f = &self.user_data_dir;
if let Some(__url) = &__f.url {
form = form.text("userDataDir", __url.clone());
}
if __f.url.is_none() {
let mut __part = reqwest::multipart::Part::bytes(__f.content.clone())
.file_name(__f.name.clone());
if let Some(__ct) = &__f.content_type {
__part = __part.mime_str(__ct)?;
}
form = form.part("userDataDir", __part);
}
}
Ok(form)
}
}
impl ProfileUpdateParams {
pub(crate) fn to_form(&self) -> Result<reqwest::multipart::Form, reqwest::Error> {
let mut form = reqwest::multipart::Form::new();
if let Some(__v) = &self.dimensions {
form = form.text("dimensions", serde_json::to_string(__v).unwrap_or_default());
}
if let Some(__v) = &self.project_id {
form = form.text("projectId", __v.to_string());
}
if let Some(__v) = &self.proxy_url {
form = form.text("proxyUrl", __v.to_string());
}
if let Some(__v) = &self.user_agent {
form = form.text("userAgent", __v.to_string());
}
{
let __f = &self.user_data_dir;
if let Some(__url) = &__f.url {
form = form.text("userDataDir", __url.clone());
}
if __f.url.is_none() {
let mut __part = reqwest::multipart::Part::bytes(__f.content.clone())
.file_name(__f.name.clone());
if let Some(__ct) = &__f.content_type {
__part = __part.mime_str(__ct)?;
}
form = form.part("userDataDir", __part);
}
}
Ok(form)
}
}
impl SessionFileUploadParams {
pub(crate) fn to_form(&self) -> Result<reqwest::multipart::Form, reqwest::Error> {
let mut form = reqwest::multipart::Form::new();
{
let __f = &self.file;
if let Some(__url) = &__f.url {
form = form.text("file", __url.clone());
}
if __f.url.is_none() {
let mut __part = reqwest::multipart::Part::bytes(__f.content.clone())
.file_name(__f.name.clone());
if let Some(__ct) = &__f.content_type {
__part = __part.mime_str(__ct)?;
}
form = form.part("file", __part);
}
}
if let Some(__v) = &self.path {
form = form.text("path", __v.to_string());
}
Ok(form)
}
}