Documentation

CreateConnectorWithOptionsCreateConnectorImapConnectionOptions
in package
implements ModelInterface, ArrayAccess, JsonSerializable

CreateConnectorWithOptionsCreateConnectorImapConnectionOptions Class Doc Comment

Tags
category

Class

author

OpenAPI Generator team

link
https://openapi-generator.tech
implements

\ArrayAccess<string, mixed>

Interfaces, Classes, Traits and Enums

ModelInterface
Interface abstracting model access.
ArrayAccess
JsonSerializable

Table of Contents

DISCRIMINATOR  = null
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$openAPIFormats  : array<string|int, string>
Array of property to format mappings. Used for (de)serialization
$openAPIModelName  : string
The original name of the model.
$openAPINullables  : array<string|int, mixed>
Array of nullable properties. Used for (de)serialization
$openAPINullablesSetToNull  : array<string|int, mixed>
If a nullable field gets set to null, insert it here
$openAPITypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
getEnabled()  : bool|null
Gets enabled
getImapHost()  : string
Gets imap_host
getImapPassword()  : string|null
Gets imap_password
getImapPort()  : int|null
Gets imap_port
getImapSsl()  : bool|null
Gets imap_ssl
getImapUsername()  : string|null
Gets imap_username
getLocalHostName()  : string|null
Gets local_host_name
getMechanisms()  : array<string|int, string>|null
Gets mechanisms
getModelName()  : string
The original name of the model.
getProxyEnabled()  : bool|null
Gets proxy_enabled
getProxyHost()  : string|null
Gets proxy_host
getProxyPort()  : int|null
Gets proxy_port
getSearchTerms()  : string|null
Gets search_terms
getSelectFolder()  : string|null
Gets select_folder
getSslProtocols()  : array<string|int, string>|null
Gets ssl_protocols
getSslTrust()  : string|null
Gets ssl_trust
getStartTls()  : bool|null
Gets start_tls
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
isNullable()  : bool
Checks if a property is nullable
isNullableSetToNull()  : bool
Checks if a nullable property is set to null.
jsonSerialize()  : mixed
Serializes the object to a value that can be serialized natively by json_encode().
listInvalidProperties()  : array<string|int, mixed>
Show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed|null
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
openAPIFormats()  : array<string|int, mixed>
Array of property to format mappings. Used for (de)serialization
openAPITypes()  : array<string|int, mixed>
Array of property to type mappings. Used for (de)serialization
setEnabled()  : self
Sets enabled
setImapHost()  : self
Sets imap_host
setImapPassword()  : self
Sets imap_password
setImapPort()  : self
Sets imap_port
setImapSsl()  : self
Sets imap_ssl
setImapUsername()  : self
Sets imap_username
setLocalHostName()  : self
Sets local_host_name
setMechanisms()  : self
Sets mechanisms
setProxyEnabled()  : self
Sets proxy_enabled
setProxyHost()  : self
Sets proxy_host
setProxyPort()  : self
Sets proxy_port
setSearchTerms()  : self
Sets search_terms
setSelectFolder()  : self
Sets select_folder
setSslProtocols()  : self
Sets ssl_protocols
setSslTrust()  : self
Sets ssl_trust
setStartTls()  : self
Sets start_tls
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
toHeaderValue()  : string
Gets a header-safe presentation of the object
valid()  : bool
Validate all the properties in the model return true if all passed
openAPINullables()  : array<string|int, mixed>
Array of nullable properties
getOpenAPINullablesSetToNull()  : array<string|int, bool>
Array of nullable field names deliberately set to null
setIfExists()  : void
Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the $this->openAPINullablesSetToNull array
setOpenAPINullablesSetToNull()  : void
Setter - Array of nullable field names deliberately set to null

Constants

Properties

$attributeMap

Array of attributes where the key is the local name, and the value is the original name

protected static array<string|int, string> $attributeMap = ['imap_ssl' => 'imapSsl', 'imap_username' => 'imapUsername', 'imap_password' => 'imapPassword', 'select_folder' => 'selectFolder', 'search_terms' => 'searchTerms', 'imap_port' => 'imapPort', 'imap_host' => 'imapHost', 'enabled' => 'enabled', 'start_tls' => 'startTls', 'proxy_enabled' => 'proxyEnabled', 'proxy_port' => 'proxyPort', 'proxy_host' => 'proxyHost', 'local_host_name' => 'localHostName', 'mechanisms' => 'mechanisms', 'ssl_trust' => 'sslTrust', 'ssl_protocols' => 'sslProtocols']

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['imap_ssl' => 'getImapSsl', 'imap_username' => 'getImapUsername', 'imap_password' => 'getImapPassword', 'select_folder' => 'getSelectFolder', 'search_terms' => 'getSearchTerms', 'imap_port' => 'getImapPort', 'imap_host' => 'getImapHost', 'enabled' => 'getEnabled', 'start_tls' => 'getStartTls', 'proxy_enabled' => 'getProxyEnabled', 'proxy_port' => 'getProxyPort', 'proxy_host' => 'getProxyHost', 'local_host_name' => 'getLocalHostName', 'mechanisms' => 'getMechanisms', 'ssl_trust' => 'getSslTrust', 'ssl_protocols' => 'getSslProtocols']

$openAPIFormats

Array of property to format mappings. Used for (de)serialization

protected static array<string|int, string> $openAPIFormats = ['imap_ssl' => null, 'imap_username' => null, 'imap_password' => null, 'select_folder' => null, 'search_terms' => null, 'imap_port' => 'int32', 'imap_host' => null, 'enabled' => null, 'start_tls' => null, 'proxy_enabled' => null, 'proxy_port' => 'int32', 'proxy_host' => null, 'local_host_name' => null, 'mechanisms' => null, 'ssl_trust' => null, 'ssl_protocols' => null]
Tags
phpstan-var

array<string, string|null>

psalm-var

array<string, string|null>

$openAPINullables

Array of nullable properties. Used for (de)serialization

protected static array<string|int, mixed> $openAPINullables = ['imap_ssl' => true, 'imap_username' => true, 'imap_password' => true, 'select_folder' => true, 'search_terms' => true, 'imap_port' => true, 'imap_host' => false, 'enabled' => true, 'start_tls' => true, 'proxy_enabled' => true, 'proxy_port' => true, 'proxy_host' => true, 'local_host_name' => true, 'mechanisms' => true, 'ssl_trust' => true, 'ssl_protocols' => true]

$openAPITypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $openAPITypes = ['imap_ssl' => 'bool', 'imap_username' => 'string', 'imap_password' => 'string', 'select_folder' => 'string', 'search_terms' => 'string', 'imap_port' => 'int', 'imap_host' => 'string', 'enabled' => 'bool', 'start_tls' => 'bool', 'proxy_enabled' => 'bool', 'proxy_port' => 'int', 'proxy_host' => 'string', 'local_host_name' => 'string', 'mechanisms' => 'string[]', 'ssl_trust' => 'string', 'ssl_protocols' => 'string[]']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['imap_ssl' => 'setImapSsl', 'imap_username' => 'setImapUsername', 'imap_password' => 'setImapPassword', 'select_folder' => 'setSelectFolder', 'search_terms' => 'setSearchTerms', 'imap_port' => 'setImapPort', 'imap_host' => 'setImapHost', 'enabled' => 'setEnabled', 'start_tls' => 'setStartTls', 'proxy_enabled' => 'setProxyEnabled', 'proxy_port' => 'setProxyPort', 'proxy_host' => 'setProxyHost', 'local_host_name' => 'setLocalHostName', 'mechanisms' => 'setMechanisms', 'ssl_trust' => 'setSslTrust', 'ssl_protocols' => 'setSslProtocols']

Methods

setIfExists()

Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the $this->openAPINullablesSetToNull array

private setIfExists(string $variableName, array<string|int, mixed> $fields, mixed $defaultValue) : void
Parameters
$variableName : string
$fields : array<string|int, mixed>
$defaultValue : mixed
Return values
void —

setOpenAPINullablesSetToNull()

Setter - Array of nullable field names deliberately set to null

private setOpenAPINullablesSetToNull(array<string|int, bool> $openAPINullablesSetToNull) : void
Parameters
$openAPINullablesSetToNull : array<string|int, bool>
Return values
void —

Search results