OrganizationInboxProjection
    
            
            in package
            
        
    
            
            implements
                            ModelInterface,                             ArrayAccess,                             JsonSerializable                    
    
    
        
            OrganizationInboxProjection Class Doc Comment
Tags
Interfaces, Classes, Traits and Enums
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
- JsonSerializable
Table of Contents
- ACCOUNT_REGION_US_WEST_2 = 'US_WEST_2'
- DISCRIMINATOR = null
- FUNCTIONS_AS_ACCOUNT = 'ACCOUNT'
- FUNCTIONS_AS_ALIAS = 'ALIAS'
- FUNCTIONS_AS_CATCH_ALL = 'CATCH_ALL'
- FUNCTIONS_AS_CONNECTOR = 'CONNECTOR'
- FUNCTIONS_AS_GUEST = 'GUEST'
- FUNCTIONS_AS_OAUTH_CONNECTION_GMAIL = 'OAUTH_CONNECTION_GMAIL'
- FUNCTIONS_AS_THREAD = 'THREAD'
- INBOX_TYPE_HTTP_INBOX = 'HTTP_INBOX'
- INBOX_TYPE_SMTP_INBOX = 'SMTP_INBOX'
- $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
- getAccountRegion() : string|null
- Gets account_region
- getAccountRegionAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getCreatedAt() : DateTime
- Gets created_at
- getDescription() : string|null
- Gets description
- getDomainId() : string|null
- Gets domain_id
- getEmailAddress() : string
- Gets email_address
- getExpiresAt() : DateTime|null
- Gets expires_at
- getFavourite() : bool
- Gets favourite
- getFunctionsAs() : string|null
- Gets functions_as
- getFunctionsAsAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getId() : string
- Gets id
- getInboxType() : string|null
- Gets inbox_type
- getInboxTypeAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getModelName() : string
- The original name of the model.
- getName() : string|null
- Gets name
- getReadOnly() : bool
- Gets read_only
- getTags() : array<string|int, string>|null
- Gets tags
- getTeamAccess() : bool
- Gets team_access
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getUserId() : string
- Gets user_id
- getVirtualInbox() : bool
- Gets virtual_inbox
- 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
- setAccountRegion() : self
- Sets account_region
- setCreatedAt() : self
- Sets created_at
- setDescription() : self
- Sets description
- setDomainId() : self
- Sets domain_id
- setEmailAddress() : self
- Sets email_address
- setExpiresAt() : self
- Sets expires_at
- setFavourite() : self
- Sets favourite
- setFunctionsAs() : self
- Sets functions_as
- setId() : self
- Sets id
- setInboxType() : self
- Sets inbox_type
- setName() : self
- Sets name
- setReadOnly() : self
- Sets read_only
- setTags() : self
- Sets tags
- setTeamAccess() : self
- Sets team_access
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setUserId() : self
- Sets user_id
- setVirtualInbox() : self
- Sets virtual_inbox
- 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
ACCOUNT_REGION_US_WEST_2
    public
        mixed
    ACCOUNT_REGION_US_WEST_2
    = 'US_WEST_2'
        
        
    
DISCRIMINATOR
    public
        mixed
    DISCRIMINATOR
    = null
        
        
    
FUNCTIONS_AS_ACCOUNT
    public
        mixed
    FUNCTIONS_AS_ACCOUNT
    = 'ACCOUNT'
        
        
    
FUNCTIONS_AS_ALIAS
    public
        mixed
    FUNCTIONS_AS_ALIAS
    = 'ALIAS'
        
        
    
FUNCTIONS_AS_CATCH_ALL
    public
        mixed
    FUNCTIONS_AS_CATCH_ALL
    = 'CATCH_ALL'
        
        
    
FUNCTIONS_AS_CONNECTOR
    public
        mixed
    FUNCTIONS_AS_CONNECTOR
    = 'CONNECTOR'
        
        
    
FUNCTIONS_AS_GUEST
    public
        mixed
    FUNCTIONS_AS_GUEST
    = 'GUEST'
        
        
    
FUNCTIONS_AS_OAUTH_CONNECTION_GMAIL
    public
        mixed
    FUNCTIONS_AS_OAUTH_CONNECTION_GMAIL
    = 'OAUTH_CONNECTION_GMAIL'
        
        
    
FUNCTIONS_AS_THREAD
    public
        mixed
    FUNCTIONS_AS_THREAD
    = 'THREAD'
        
        
    
INBOX_TYPE_HTTP_INBOX
    public
        mixed
    INBOX_TYPE_HTTP_INBOX
    = 'HTTP_INBOX'
        
        
    
INBOX_TYPE_SMTP_INBOX
    public
        mixed
    INBOX_TYPE_SMTP_INBOX
    = 'SMTP_INBOX'
        
        
    
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
     = ['id' => 'id', 'domain_id' => 'domainId', 'created_at' => 'createdAt', 'name' => 'name', 'email_address' => 'emailAddress', 'favourite' => 'favourite', 'tags' => 'tags', 'team_access' => 'teamAccess', 'inbox_type' => 'inboxType', 'read_only' => 'readOnly', 'virtual_inbox' => 'virtualInbox', 'functions_as' => 'functionsAs', 'user_id' => 'userId', 'description' => 'description', 'expires_at' => 'expiresAt', 'account_region' => 'accountRegion']
    
    
    
$container
Associative array for storing property values
    protected
        array<string|int, mixed>
    $container
     = []
    
    
    
$getters
Array of attributes to getter functions (for serialization of requests)
    protected
    static    array<string|int, string>
    $getters
     = ['id' => 'getId', 'domain_id' => 'getDomainId', 'created_at' => 'getCreatedAt', 'name' => 'getName', 'email_address' => 'getEmailAddress', 'favourite' => 'getFavourite', 'tags' => 'getTags', 'team_access' => 'getTeamAccess', 'inbox_type' => 'getInboxType', 'read_only' => 'getReadOnly', 'virtual_inbox' => 'getVirtualInbox', 'functions_as' => 'getFunctionsAs', 'user_id' => 'getUserId', 'description' => 'getDescription', 'expires_at' => 'getExpiresAt', 'account_region' => 'getAccountRegion']
    
    
    
$openAPIFormats
Array of property to format mappings. Used for (de)serialization
    protected
    static    array<string|int, string>
    $openAPIFormats
     = ['id' => 'uuid', 'domain_id' => 'uuid', 'created_at' => 'date-time', 'name' => null, 'email_address' => null, 'favourite' => null, 'tags' => null, 'team_access' => null, 'inbox_type' => null, 'read_only' => null, 'virtual_inbox' => null, 'functions_as' => null, 'user_id' => 'uuid', 'description' => null, 'expires_at' => 'date-time', 'account_region' => null]
    
    
    
    Tags
$openAPIModelName
The original name of the model.
    protected
    static    string
    $openAPIModelName
     = 'OrganizationInboxProjection'
    
    
    
$openAPINullables
Array of nullable properties. Used for (de)serialization
    protected
    static    array<string|int, mixed>
    $openAPINullables
     = ['id' => false, 'domain_id' => true, 'created_at' => false, 'name' => true, 'email_address' => true, 'favourite' => false, 'tags' => true, 'team_access' => false, 'inbox_type' => true, 'read_only' => false, 'virtual_inbox' => false, 'functions_as' => true, 'user_id' => false, 'description' => true, 'expires_at' => true, 'account_region' => true]
    
    
    
$openAPINullablesSetToNull
If a nullable field gets set to null, insert it here
    protected
        array<string|int, mixed>
    $openAPINullablesSetToNull
     = []
    
    
    
$openAPITypes
Array of property to type mappings. Used for (de)serialization
    protected
    static    array<string|int, string>
    $openAPITypes
     = ['id' => 'string', 'domain_id' => 'string', 'created_at' => '\\DateTime', 'name' => 'string', 'email_address' => 'string', 'favourite' => 'bool', 'tags' => 'string[]', 'team_access' => 'bool', 'inbox_type' => 'string', 'read_only' => 'bool', 'virtual_inbox' => 'bool', 'functions_as' => 'string', 'user_id' => 'string', 'description' => 'string', 'expires_at' => '\\DateTime', 'account_region' => 'string']
    
    
    
$setters
Array of attributes to setter functions (for deserialization of responses)
    protected
    static    array<string|int, string>
    $setters
     = ['id' => 'setId', 'domain_id' => 'setDomainId', 'created_at' => 'setCreatedAt', 'name' => 'setName', 'email_address' => 'setEmailAddress', 'favourite' => 'setFavourite', 'tags' => 'setTags', 'team_access' => 'setTeamAccess', 'inbox_type' => 'setInboxType', 'read_only' => 'setReadOnly', 'virtual_inbox' => 'setVirtualInbox', 'functions_as' => 'setFunctionsAs', 'user_id' => 'setUserId', 'description' => 'setDescription', 'expires_at' => 'setExpiresAt', 'account_region' => 'setAccountRegion']
    
    
    
Methods
__construct()
Constructor
    public
                    __construct([array<string|int, mixed> $data = null ]) : mixed
    
        Parameters
- $data : array<string|int, mixed> = null
- 
                    Associated array of property values initializing the model 
Return values
mixed —__toString()
Gets the string presentation of the object
    public
                    __toString() : string
    
    
    
        Return values
string —attributeMap()
Array of attributes where the key is the local name, and the value is the original name
    public
            static        attributeMap() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —getAccountRegion()
Gets account_region
    public
                    getAccountRegion() : string|null
    
    
    
        Return values
string|null —getAccountRegionAllowableValues()
Gets allowable values of the enum
    public
                    getAccountRegionAllowableValues() : array<string|int, string>
    
    
    
        Return values
array<string|int, string> —getCreatedAt()
Gets created_at
    public
                    getCreatedAt() : DateTime
    
    
    
        Return values
DateTime —getDescription()
Gets description
    public
                    getDescription() : string|null
    
    
    
        Return values
string|null —getDomainId()
Gets domain_id
    public
                    getDomainId() : string|null
    
    
    
        Return values
string|null —getEmailAddress()
Gets email_address
    public
                    getEmailAddress() : string
    
    
    
        Return values
string —getExpiresAt()
Gets expires_at
    public
                    getExpiresAt() : DateTime|null
    
    
    
        Return values
DateTime|null —getFavourite()
Gets favourite
    public
                    getFavourite() : bool
    
    
    
        Return values
bool —getFunctionsAs()
Gets functions_as
    public
                    getFunctionsAs() : string|null
    
    
    
        Return values
string|null —getFunctionsAsAllowableValues()
Gets allowable values of the enum
    public
                    getFunctionsAsAllowableValues() : array<string|int, string>
    
    
    
        Return values
array<string|int, string> —getId()
Gets id
    public
                    getId() : string
    
    
    
        Return values
string —getInboxType()
Gets inbox_type
    public
                    getInboxType() : string|null
    
    
    
        Return values
string|null —getInboxTypeAllowableValues()
Gets allowable values of the enum
    public
                    getInboxTypeAllowableValues() : array<string|int, string>
    
    
    
        Return values
array<string|int, string> —getModelName()
The original name of the model.
    public
                    getModelName() : string
    
    
    
        Return values
string —getName()
Gets name
    public
                    getName() : string|null
    
    
    
        Return values
string|null —getReadOnly()
Gets read_only
    public
                    getReadOnly() : bool
    
    
    
        Return values
bool —getTags()
Gets tags
    public
                    getTags() : array<string|int, string>|null
    
    
    
    Tags
Return values
array<string|int, string>|null —getTeamAccess()
Gets team_access
    public
                    getTeamAccess() : bool
    
    
    
        Return values
bool —getters()
Array of attributes to getter functions (for serialization of requests)
    public
            static        getters() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —getUserId()
Gets user_id
    public
                    getUserId() : string
    
    
    
        Return values
string —getVirtualInbox()
Gets virtual_inbox
    public
                    getVirtualInbox() : bool
    
    
    
        Return values
bool —isNullable()
Checks if a property is nullable
    public
            static        isNullable(string $property) : bool
    
        Parameters
- $property : string
Return values
bool —isNullableSetToNull()
Checks if a nullable property is set to null.
    public
                    isNullableSetToNull(string $property) : bool
    
        Parameters
- $property : string
Return values
bool —jsonSerialize()
Serializes the object to a value that can be serialized natively by json_encode().
    public
                    jsonSerialize() : mixed
    
    
    
    Tags
Return values
mixed —Returns data which can be serialized by json_encode(), which is a value of any type other than a resource.
listInvalidProperties()
Show all the invalid properties with reasons.
    public
                    listInvalidProperties() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —invalid properties with reasons
offsetExists()
Returns true if offset exists. False otherwise.
    public
                    offsetExists(int $offset) : bool
    
        Parameters
- $offset : int
- 
                    Offset 
Return values
bool —offsetGet()
Gets offset.
    public
                    offsetGet(int $offset) : mixed|null
    
        Parameters
- $offset : int
- 
                    Offset 
Return values
mixed|null —offsetSet()
Sets value based on offset.
    public
                    offsetSet(int|null $offset, mixed $value) : void
    
        Parameters
- $offset : int|null
- 
                    Offset 
- $value : mixed
- 
                    Value to be set 
Return values
void —offsetUnset()
Unsets offset.
    public
                    offsetUnset(int $offset) : void
    
        Parameters
- $offset : int
- 
                    Offset 
Return values
void —openAPIFormats()
Array of property to format mappings. Used for (de)serialization
    public
            static        openAPIFormats() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —openAPITypes()
Array of property to type mappings. Used for (de)serialization
    public
            static        openAPITypes() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —setAccountRegion()
Sets account_region
    public
                    setAccountRegion(string|null $account_region) : self
    
        Parameters
- $account_region : string|null
- 
                    Region of the inbox 
Return values
self —setCreatedAt()
Sets created_at
    public
                    setCreatedAt(DateTime $created_at) : self
    
        Parameters
- $created_at : DateTime
- 
                    When the inbox was created. Time stamps are in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXXe.g.2000-10-31T01:30:00.000-05:00.
Return values
self —setDescription()
Sets description
    public
                    setDescription(string|null $description) : self
    
        Parameters
- $description : string|null
- 
                    Description of an inbox for labelling and searching purposes 
Return values
self —setDomainId()
Sets domain_id
    public
                    setDomainId(string|null $domain_id) : self
    
        Parameters
- $domain_id : string|null
- 
                    ID of custom domain used by the inbox if any 
Return values
self —setEmailAddress()
Sets email_address
    public
                    setEmailAddress(string $email_address) : self
    
        Parameters
- $email_address : string
- 
                    The inbox's email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so +123additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
Return values
self —setExpiresAt()
Sets expires_at
    public
                    setExpiresAt(DateTime|null $expires_at) : self
    
        Parameters
- $expires_at : DateTime|null
- 
                    Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email. 
Return values
self —setFavourite()
Sets favourite
    public
                    setFavourite(bool $favourite) : self
    
        Parameters
- $favourite : bool
- 
                    Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering 
Return values
self —setFunctionsAs()
Sets functions_as
    public
                    setFunctionsAs(string|null $functions_as) : self
    
        Parameters
- $functions_as : string|null
- 
                    Inbox function if used as a primitive for another system. 
Return values
self —setId()
Sets id
    public
                    setId(string $id) : self
    
        Parameters
- $id : string
- 
                    ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods waitForLatestEmailandgetEmailsmethods respectively. Inboxes can be used with aliases to forward emails automatically.
Return values
self —setInboxType()
Sets inbox_type
    public
                    setInboxType(string|null $inbox_type) : self
    
        Parameters
- $inbox_type : string|null
- 
                    Type of inbox. HTTP inboxes are faster and better for most cases. SMTP inboxes are more suited for public facing inbound messages (but cannot send). 
Return values
self —setName()
Sets name
    public
                    setName(string|null $name) : self
    
        Parameters
- $name : string|null
- 
                    Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search 
Return values
self —setReadOnly()
Sets read_only
    public
                    setReadOnly(bool $read_only) : self
    
        Parameters
- $read_only : bool
- 
                    Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes. 
Return values
self —setTags()
Sets tags
    public
                    setTags(array<string|int, string>|null $tags) : self
    
        Parameters
- $tags : array<string|int, string>|null
- 
                    Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI. 
Tags
Return values
self —setTeamAccess()
Sets team_access
    public
                    setTeamAccess(bool $team_access) : self
    
        Parameters
- $team_access : bool
- 
                    Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/ 
Return values
self —setters()
Array of attributes to setter functions (for deserialization of responses)
    public
            static        setters() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —setUserId()
Sets user_id
    public
                    setUserId(string $user_id) : self
    
        Parameters
- $user_id : string
- 
                    ID of user that inbox belongs to 
Return values
self —setVirtualInbox()
Sets virtual_inbox
    public
                    setVirtualInbox(bool $virtual_inbox) : self
    
        Parameters
- $virtual_inbox : bool
- 
                    Virtual inbox can receive email but will not send emails to real recipients. Will save sent email record but never send an actual email. Perfect for testing mail server actions. 
Return values
self —toHeaderValue()
Gets a header-safe presentation of the object
    public
                    toHeaderValue() : string
    
    
    
        Return values
string —valid()
Validate all the properties in the model return true if all passed
    public
                    valid() : bool
    
    
    
        Return values
bool —True if all properties are valid
openAPINullables()
Array of nullable properties
    protected
            static        openAPINullables() : array<string|int, mixed>
    
    
    
        Return values
array<string|int, mixed> —getOpenAPINullablesSetToNull()
Array of nullable field names deliberately set to null
    private
                    getOpenAPINullablesSetToNull() : array<string|int, bool>
    
    
    
        Return values
array<string|int, bool> —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>