Documentation
¶
Index ¶
- Constants
- type AttrNameResponse
- type AttrNamesResponse
- type AttrResponse
- type AuthRequest
- type AuthRequestContent
- type AuthResponse
- type AuthResponseContent
- type AuthResponseToken
- type BackupQueryRequest
- type BackupQueryRequestContent
- type BackupQueryResponse
- type BackupQueryResponseContent
- type ByRequest
- type Client
- type Envelope
- type Fault
- type FaultContent
- type FaultReason
- type GenericResponse
- type GetAccountRequest
- type GetAccountRequestContent
- type GetAccountResponse
- type GetAccountResponseContent
- type GetAllServersRequest
- type GetAllServersRequestContent
- type GetAllServersResponse
- type GetAllServersResponseContent
- type GetCalendarResourceRequest
- type GetCalendarResourceRequestContent
- type GetCalendarResourceResponse
- type GetCalendarResourceResponseContent
- type GetDomainRequest
- type GetDomainRequestContent
- type GetDomainResponse
- type GetDomainResponseContent
- type GetLicenseRequest
- type GetLicenseRequestContent
- type GetLicenseResponse
- type GetLicenseResponseContent
- type GetQuotaUsageRequest
- type GetQuotaUsageRequestContent
- type GetQuotaUsageResponse
- type GetQuotaUsageResponseContent
- type GetServerRequest
- type GetServerRequestContent
- type GetServerResponse
- type GetServerResponseContent
- type Header
- type HeaderToken
- type ModifyAccountRequest
- type ModifyAccountRequestContent
- type ModifyAccountResponse
- type ModifyAccountResponseContent
- type ModifyCalendarResourceRequest
- type ModifyCalendarResourceRequestContent
- type ModifyCalendarResourceResponse
- type ModifyCalendarResourceResponseContent
- type QuotaResponse
- type SearchDirectoryParams
- type SearchDirectoryRequest
- type SearchDirectoryResponse
- type SearchDirectoryResponseContent
- type ZAccount
- type ZAdmin
- func (s *ZAdmin) Debug()
- func (s *ZAdmin) GetAccount(byAccount ByRequest, attrs []string) (*ZAccount, error)
- func (s *ZAdmin) GetAccountById(id string, attrs []string) (*ZAccount, error)
- func (s *ZAdmin) GetAccountByName(name string, attrs []string) (*ZAccount, error)
- func (s *ZAdmin) GetAccounts(query string, limit int, offset int, domain string, applyCos int, ...) ([]ZAccount, error)
- func (s *ZAdmin) GetAllAccounts(query string, domain string, applyCos int, applyConfig int, sortBy string, ...) ([]ZAccount, error)
- func (s *ZAdmin) GetAllBackups() ([]ZBackup, error)
- func (s *ZAdmin) GetAllCoses(query string, applyConfig int, sortBy string, sortAscending int, attrs string) ([]ZCos, error)
- func (s *ZAdmin) GetAllDistributionLists(query string, domain string, applyCos int, applyConfig int, sortBy string, ...) ([]ZDistributionList, error)
- func (s *ZAdmin) GetAllDomains(query string, applyCos int, applyConfig int, sortBy string, sortAscending int, ...) ([]ZDomain, error)
- func (s *ZAdmin) GetAllResources(query string, domain string, applyCos int, applyConfig int, sortBy string, ...) ([]ZResource, error)
- func (s *ZAdmin) GetAllServers(service string) ([]ZServer, error)
- func (s *ZAdmin) GetDistributionLists(query string, limit int, offset int, domain string, applyCos int, ...) ([]ZDistributionList, error)
- func (s *ZAdmin) GetDomain(by ByRequest, attrs []string) (*ZDomain, error)
- func (s *ZAdmin) GetDomainById(id string, attrs []string) (*ZDomain, error)
- func (s *ZAdmin) GetDomainByName(name string, attrs []string) (*ZDomain, error)
- func (s *ZAdmin) GetLicense() (*ZLicense, error)
- func (s *ZAdmin) GetQuotaUsage(serverId string, domain string, isAllServers bool) ([]ZAccount, error)
- func (s *ZAdmin) GetResource(by ByRequest, attrs []string) (*ZResource, error)
- func (s *ZAdmin) GetResourceById(id string, attrs []string) (*ZResource, error)
- func (s *ZAdmin) GetResourceByName(name string, attrs []string) (*ZResource, error)
- func (s *ZAdmin) GetResources(query string, limit int, offset int, domain string, applyCos int, ...) ([]ZResource, error)
- func (s *ZAdmin) GetServer(by ByRequest, applyConfig int, attrs []string) (*ZServer, error)
- func (s *ZAdmin) GetServerById(id string, applyConfig int, attrs []string) (*ZServer, error)
- func (s *ZAdmin) GetServerByName(name string, applyConfig int, attrs []string) (*ZServer, error)
- func (s *ZAdmin) Init(url string, isTLS bool)
- func (s *ZAdmin) Login(name string, password string) error
- func (s *ZAdmin) SearchDirectory(query string, maxResults int, limit int, offset int, domain string, ...) ([]ZAccount, []ZDistributionList, []ZDomain, []ZCos, []ZResource, error)
- func (s *ZAdmin) SearchDirectoryAll(query string, domain string, applyCos int, applyConfig int, sortBy string, ...) ([]ZAccount, []ZDistributionList, []ZDomain, []ZCos, []ZResource, error)
- func (s *ZAdmin) SearchDirectoryCount(query string, domain string, types string) (int, error)
- type ZBackup
- type ZBackupAccount
- type ZCos
- type ZDistributionList
- type ZDomain
- type ZLicense
- type ZResource
- type ZServer
Constants ¶
View Source
const ID_STR = "id"
View Source
const NAME_STR = "name"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrNameResponse ¶ added in v1.1.0
type AttrNameResponse struct { Key string `json:"name,omitempty"` Value string `json:"_content,omitempty"` }
func (*AttrNameResponse) ToAttrResponse ¶ added in v1.2.0
func (anr *AttrNameResponse) ToAttrResponse() AttrResponse
type AttrNamesResponse ¶ added in v1.1.0
type AttrNamesResponse struct {
Attrs []AttrNameResponse `json:"attr,omitempty"`
}
func (*AttrNamesResponse) ToAttrsResponse ¶ added in v1.2.0
func (anr *AttrNamesResponse) ToAttrsResponse() []AttrResponse
type AttrResponse ¶
type AuthRequest ¶
type AuthRequest struct {
Content AuthRequestContent `json:"AuthRequest,omitempty"`
}
func NewAuthRequest ¶
func NewAuthRequest(name string, password string) (*AuthRequest, string)
type AuthRequestContent ¶
type AuthResponse ¶
type AuthResponse struct {
Content AuthResponseContent `json:"AuthResponse,omitempty"`
}
type AuthResponseContent ¶
type AuthResponseContent struct { TOKEN []AuthResponseToken `json:"authToken"` Lifetime int `json:"lifetime"` }
type AuthResponseToken ¶
type AuthResponseToken struct {
Content string `json:"_content"`
}
type BackupQueryRequest ¶
type BackupQueryRequest struct {
Content BackupQueryRequestContent `json:"BackupQueryRequest,omitempty"`
}
func NewBackupQueryRequest ¶
func NewBackupQueryRequest() (*BackupQueryRequest, string)
type BackupQueryResponse ¶
type BackupQueryResponse struct {
Content BackupQueryResponseContent `json:"BackupQueryResponse,omitempty"`
}
type ByRequest ¶
func NewByRequest ¶
type Client ¶
type Client struct { TOKEN string Debug bool Timeout time.Duration // contains filtered or unexported fields }
Client SOAP client
func (*Client) RemoveTargetServer ¶
func (s *Client) RemoveTargetServer()
func (*Client) SetTargetServer ¶
type Envelope ¶
type Envelope struct { Header *Header `json:",omitempty"` Body interface{} `json:"Body,omitempty"` }
Envelope envelope
type FaultContent ¶
type FaultContent struct { Code interface{} `json:"Code,omitempty"` Reason FaultReason `json:"Reason,omitempty"` Detail interface{} `json:"Detail,omitempty"` }
type FaultReason ¶
type FaultReason struct {
Text string `json:"Text,omitempty"`
}
type GenericResponse ¶
type GenericResponse struct { Name string `json:"name,omitempty"` ID string `json:"id,omitempty"` Attrs []AttrResponse `json:"a,omitempty"` }
type GetAccountRequest ¶
type GetAccountRequest struct {
Content GetAccountRequestContent `json:"GetAccountRequest,omitempty"`
}
func NewGetAccountRequest ¶
func NewGetAccountRequest(by ByRequest, attrs []string) (*GetAccountRequest, string)
type GetAccountResponse ¶
type GetAccountResponse struct {
Content GetAccountResponseContent `json:"GetAccountResponse,omitempty"`
}
type GetAccountResponseContent ¶
type GetAccountResponseContent struct {
Account []GenericResponse `json:"account,omitempty"`
}
type GetAllServersRequest ¶
type GetAllServersRequest struct {
Content GetAllServersRequestContent `json:"GetAllServersRequest,omitempty"`
}
func NewGetAllServersRequest ¶
func NewGetAllServersRequest(service string) (*GetAllServersRequest, string)
type GetAllServersResponse ¶
type GetAllServersResponse struct {
Content GetAllServersResponseContent `json:"GetAllServersResponse,omitempty"`
}
type GetAllServersResponseContent ¶
type GetAllServersResponseContent struct {
Server []GenericResponse `json:"server,omitempty"`
}
type GetCalendarResourceRequest ¶ added in v1.9.0
type GetCalendarResourceRequest struct {
Content GetCalendarResourceRequestContent `json:"GetCalendarResourceRequest,omitempty"`
}
func NewGetCalendarResourceRequest ¶ added in v1.9.0
func NewGetCalendarResourceRequest(by ByRequest, attrs []string) (*GetCalendarResourceRequest, string)
type GetCalendarResourceRequestContent ¶ added in v1.9.0
type GetCalendarResourceResponse ¶ added in v1.9.0
type GetCalendarResourceResponse struct {
Content GetCalendarResourceResponseContent `json:"GetCalendarResourceResponse,omitempty"`
}
type GetCalendarResourceResponseContent ¶ added in v1.9.0
type GetCalendarResourceResponseContent struct {
CalResource []GenericResponse `json:"calresource,omitempty"`
}
type GetDomainRequest ¶ added in v1.3.0
type GetDomainRequest struct {
Content GetDomainRequestContent `json:"GetDomainRequest,omitempty"`
}
func NewGetDomainRequest ¶ added in v1.3.0
func NewGetDomainRequest(by ByRequest, attrs []string) (*GetDomainRequest, string)
type GetDomainRequestContent ¶ added in v1.3.0
type GetDomainResponse ¶ added in v1.3.0
type GetDomainResponse struct {
Content GetDomainResponseContent `json:"GetDomainResponse,omitempty"`
}
type GetDomainResponseContent ¶ added in v1.3.0
type GetDomainResponseContent struct {
Domain []GenericResponse `json:"domain,omitempty"`
}
type GetLicenseRequest ¶ added in v1.1.0
type GetLicenseRequest struct {
Content GetLicenseRequestContent `json:"GetLicenseRequest,omitempty"`
}
func NewLicenseRequest ¶ added in v1.1.0
func NewLicenseRequest() (*GetLicenseRequest, string)
type GetLicenseRequestContent ¶ added in v1.1.0
type GetLicenseRequestContent struct {
Urn string `json:"_jsns,attr"`
}
type GetLicenseResponse ¶ added in v1.1.0
type GetLicenseResponse struct {
Content GetLicenseResponseContent `json:"GetLicenseResponse,omitempty"`
}
type GetLicenseResponseContent ¶ added in v1.1.0
type GetLicenseResponseContent struct { License []AttrNamesResponse `json:"license,omitempty"` Activation []AttrNamesResponse `json:"activation,omitempty"` Info []AttrNamesResponse `json:"info,omitempty"` }
type GetQuotaUsageRequest ¶
type GetQuotaUsageRequest struct {
Content GetQuotaUsageRequestContent `json:"GetQuotaUsageRequest,omitempty"`
}
type GetQuotaUsageRequestContent ¶
type GetQuotaUsageRequestContent struct { Urn string `json:"_jsns,attr"` Servers int `json:"allServers,omitempty"` Domain string `json:"domain,omitempty"` Limit int `json:"limit,omitempty"` Offset int `json:"offset,omitempty"` SortBy string `json:"sortBy,omitempty"` SortAscending int `json:"sortAscending,omitempty"` Refresh int `json:"refresh,omitempty"` }
type GetQuotaUsageResponse ¶
type GetQuotaUsageResponse struct {
Content GetQuotaUsageResponseContent `json:"GetQuotaUsageResponse,omitempty"`
}
type GetQuotaUsageResponseContent ¶
type GetQuotaUsageResponseContent struct {
Account []QuotaResponse `json:"account,omitempty"`
}
type GetServerRequest ¶ added in v1.8.0
type GetServerRequest struct {
Content GetServerRequestContent `json:"GetServerRequest,omitempty"`
}
func NewGetServerRequest ¶ added in v1.8.0
func NewGetServerRequest(by ByRequest, applyConfig int, attrs []string) (*GetServerRequest, string)
type GetServerRequestContent ¶ added in v1.8.0
type GetServerResponse ¶ added in v1.8.0
type GetServerResponse struct {
Content GetServerResponseContent `json:"GetServerResponse,omitempty"`
}
type GetServerResponseContent ¶ added in v1.8.0
type GetServerResponseContent struct {
Server []GenericResponse `json:"server,omitempty"`
}
type HeaderToken ¶
type ModifyAccountRequest ¶
type ModifyAccountRequest struct {
Content ModifyAccountRequestContent `json:"ModifyAccountRequest,omitempty"`
}
func NewModifyAccountRequest ¶
func NewModifyAccountRequest(id string, attrs map[string]string) (*ModifyAccountRequest, string)
type ModifyAccountRequestContent ¶
type ModifyAccountRequestContent struct { Urn string `json:"_jsns,attr"` ID string `json:"id,omitempty"` Attrs []AttrResponse `json:"a,omitempty"` }
type ModifyAccountResponse ¶
type ModifyAccountResponse struct {
Content ModifyAccountResponseContent `json:"ModifyAccountResponse,omitempty"`
}
type ModifyAccountResponseContent ¶
type ModifyAccountResponseContent struct {
Account []GenericResponse `json:"account,omitempty"`
}
type ModifyCalendarResourceRequest ¶ added in v1.9.0
type ModifyCalendarResourceRequest struct {
Content ModifyCalendarResourceRequestContent `json:"ModifyCalendarResourceRequest,omitempty"`
}
func NewModifyResourceRequest ¶ added in v1.9.0
func NewModifyResourceRequest(id string, attrs map[string]string) (*ModifyCalendarResourceRequest, string)
type ModifyCalendarResourceRequestContent ¶ added in v1.9.0
type ModifyCalendarResourceRequestContent struct { Urn string `json:"_jsns,attr"` ID string `json:"id,omitempty"` Attrs []AttrResponse `json:"a,omitempty"` }
type ModifyCalendarResourceResponse ¶ added in v1.9.0
type ModifyCalendarResourceResponse struct {
Content ModifyCalendarResourceResponseContent `json:"ModifyCalendarResourceResponse,omitempty"`
}
type ModifyCalendarResourceResponseContent ¶ added in v1.9.0
type ModifyCalendarResourceResponseContent struct {
CalResource []GenericResponse `json:"calresource,omitempty"`
}
type QuotaResponse ¶
type SearchDirectoryParams ¶
type SearchDirectoryParams struct { Urn string `json:"_jsns,attr"` Query string `json:"query,omitempty"` MaxResults int `json:"maxResults,omitempty"` Limit int `json:"limit,omitempty"` Offset int `json:"offset,omitempty"` Domain string `json:"domain,omitempty"` ApplyCos int `json:"applyCos,omitempty"` ApplyConfig int `json:"applyConfig,omitempty"` SortBy string `json:"sortBy,omitempty"` Types string `json:"types,omitempty"` SortAscending int `json:"sortAscending,omitempty"` CountOnly int `json:"countOnly,omitempty"` Attrs string `json:"attrs,omitempty"` }
type SearchDirectoryRequest ¶
type SearchDirectoryRequest struct {
Content SearchDirectoryParams `json:"SearchDirectoryRequest,omitempty"`
}
func NewSearchDirectoryRequest ¶
func NewSearchDirectoryRequest(params *SearchDirectoryParams) (*SearchDirectoryRequest, string)
type SearchDirectoryResponse ¶
type SearchDirectoryResponse struct {
Content SearchDirectoryResponseContent `json:"SearchDirectoryResponse,omitempty"`
}
type SearchDirectoryResponseContent ¶
type SearchDirectoryResponseContent struct { Count int `json:"num,omitempty"` Accounts []GenericResponse `json:"account,omitempty"` Dls []GenericResponse `json:"dl,omitempty"` Domains []GenericResponse `json:"domain,omitempty"` CalResources []GenericResponse `json:"calresource,omitempty"` Coses []GenericResponse `json:"cos,omitempty"` }
type ZAccount ¶
type ZAccount struct { Client *Client ID string Name string Used int Limit int ZimbraMailHost string ZimbraMailTransport string ZimbraCOSId string ZimbraMailStatus string ZimbraMailQuota string ZimbraAccountStatus string ZimbraFeatureMobileSyncEnabled bool ZimbraFeatureMAPIConnectorEnabled bool ZimbraLastLogonTimestamp string ZimbraPrefMailForwardingAddress []string ZimbraMailForwardingAddress []string ZimbraPrefMailLocalDeliveryDisabled bool }
func NewAccount ¶
func NewAccount(resp GenericResponse, client *Client) *ZAccount
func NewAccountQuota ¶
func NewAccountQuota(resp QuotaResponse, client *Client) *ZAccount
func (*ZAccount) DomainName ¶
type ZAdmin ¶
func (*ZAdmin) GetAccount ¶
func (*ZAdmin) GetAccountById ¶ added in v1.2.0
func (*ZAdmin) GetAccountByName ¶ added in v1.2.0
func (*ZAdmin) GetAccounts ¶ added in v1.9.0
func (*ZAdmin) GetAllAccounts ¶
func (*ZAdmin) GetAllBackups ¶
func (*ZAdmin) GetAllCoses ¶ added in v1.9.0
func (*ZAdmin) GetAllDistributionLists ¶ added in v1.9.0
func (*ZAdmin) GetAllDomains ¶
func (*ZAdmin) GetAllResources ¶ added in v1.9.0
func (*ZAdmin) GetDistributionLists ¶ added in v1.9.0
func (*ZAdmin) GetDomainById ¶ added in v1.3.0
func (*ZAdmin) GetDomainByName ¶ added in v1.3.0
func (*ZAdmin) GetLicense ¶ added in v1.1.0
func (*ZAdmin) GetQuotaUsage ¶
func (*ZAdmin) GetResource ¶ added in v1.9.0
func (*ZAdmin) GetResourceById ¶ added in v1.9.0
func (*ZAdmin) GetResourceByName ¶ added in v1.9.0
func (*ZAdmin) GetResources ¶ added in v1.9.0
func (*ZAdmin) GetServerById ¶ added in v1.8.0
func (*ZAdmin) GetServerByName ¶ added in v1.8.0
func (*ZAdmin) SearchDirectory ¶ added in v1.6.0
func (*ZAdmin) SearchDirectoryAll ¶ added in v1.6.0
type ZBackup ¶
type ZBackup struct { Label string `json:"label,omitempty"` Type string `json:"type,omitempty"` Aborted bool `json:"aborted,omitempty"` Start int `json:"start,omitempty"` End int `json:"end,omitempty"` MinRedoSeq int `json:"minRedoSeq,omitempty"` MaxRedoSeq int `json:"maxRedoSeq,omitempty"` Live bool `json:"live,omitempty"` Accounts []ZBackupAccount `json:"accounts,omitempty"` }
func (*ZBackup) Account ¶
func (b *ZBackup) Account() *ZBackupAccount
type ZBackupAccount ¶
type ZBackupAccount struct { Total int `json:"total,omitempty"` CompletionCount int `json:"completionCount,omitempty"` }
func (*ZBackupAccount) DiffTotalCompletionCount ¶
func (a *ZBackupAccount) DiffTotalCompletionCount() int
type ZCos ¶
type ZCos struct { Client *Client ID string Name string Description string ZimbraMailQuota int ZimbraFeatureMobileSyncEnabled bool ZimbraFeatureMAPIConnectorEnabled bool }
func NewCos ¶
func NewCos(resp GenericResponse, client *Client) *ZCos
type ZDistributionList ¶ added in v1.8.0
type ZDistributionList struct { Client *Client ID string Name string ZimbraACE []string ZimbraCreateTimestamp string ZimbraMailStatus string ZimbraMailHost string ZimbraMailForwardingAddress []string ZimbraMailAlias []string ZimbraHideInGal bool }
func NewDistributionList ¶ added in v1.8.0
func NewDistributionList(resp GenericResponse, client *Client) *ZDistributionList
func (*ZDistributionList) DomainName ¶ added in v1.8.0
func (a *ZDistributionList) DomainName() string
type ZDomain ¶
type ZDomain struct { Client *Client ID string Name string ZimbraAdminConsoleCatchAllAddressEnabled bool ZimbraAdminConsoleDNSCheckEnabled bool ZimbraAdminConsoleLDAPAuthEnabled bool ZimbraAdminConsoleSkinEnabled bool ZimbraAggregateQuotaLastUsage int ZimbraAutoProvBatchSize int ZimbraAutoProvNotificationBody string ZimbraAutoProvNotificationSubject string ZimbraBasicAuthRealm string ZimbraChatConversationAuditEnabled bool ZimbraCommunityHomeURL string ZimbraCommunityUsernameMapping string ZimbraCreateTimestamp string ZimbraDomainAggregateQuota int ZimbraDomainAggregateQuotaPolicy string ZimbraDomainAggregateQuotaWarnPercent int ZimbraDomainDefaultCOSId string ZimbraDomainMandatoryMailSignatureEnabled bool ZimbraDomainName string ZimbraDomainStatus string ZimbraDomainType string ZimbraExportMaxDays int ZimbraFileUploadMaxSizePerFile int ZimbraFreebusyExchangeCachedInterval string ZimbraFreebusyExchangeCachedIntervalStart string ZimbraFreebusyExchangeServerType string ZimbraGalAccountId string ZimbraGalAlwaysIncludeLocalCalendarResources bool ZimbraGalAutoCompleteLdapFilter string ZimbraGalGroupIndicatorEnabled bool ZimbraGalInternalSearchBase string ZimbraGalLdapAttrMap []string ZimbraGalLdapPageSize int ZimbraGalLdapValueMap []string ZimbraGalMaxResults int ZimbraGalSyncLdapPageSize int ZimbraGalSyncMaxConcurrentClients int ZimbraGalSyncSizeLimit int ZimbraGalSyncTimestampFormat string ZimbraGalTokenizeAutoCompleteKey string ZimbraGalTokenizeSearchKey string ZimbraId string ZimbraInternalSharingCrossDomainEnabled bool ZimbraLdapGalSyncDisabled bool ZimbraMailDomainQuota int ZimbraMailSSLClientCertPrincipalMap string ZimbraMailStatus string ZimbraMobileMetadataMaxSizeEnabled bool ZimbraReverseProxyClientCertMode string ZimbraReverseProxyExternalRouteIncludeOriginalAuthusername bool ZimbraSkinLogoURL string ZimbraWebClientMaxInputBufferLength int ZimbraWebClientStaySignedInDisabled bool ZimbraWebClientSupportedHelps []string ZimbraZimletDataSensitiveInMixedModeDisabled bool }
func NewDomain ¶
func NewDomain(resp GenericResponse, client *Client) *ZDomain
type ZLicense ¶ added in v1.1.0
type ZLicense struct { AccountsLimit int ArchivingAccountsLimit int AttachmentConversionEnabled bool AttachmentIndexingAccountsLimit int BackupEnabled bool CrossMailboxSearchEnabled bool EwsAccountsLimit int HierarchicalStorageManagementEnabled bool ISyncAccountsLimit int InstallType string IssuedOn string IssuedToEmail string IssuedToName string LicenseId string MAPIConnectorAccountsLimit int MobileSyncAccountsLimit int MobileSyncEnabled bool ResellerName string SMIMEAccountsLimit int TouchClientsAccountsLimit int TwoFactorAuthAccountsLimit int ValidFrom string ValidUntil string VoiceAccountsLimit int ZSSAccountsLimit int ZTalkAccountsLimit int ZXAccountsLimit int ZXDesktopAccountsLimit int ZXWebAccountsLimit int ActivationId string Fingerprint string LastUpdate string Version string Status string TotalAccounts int ArchivingAccounts int ServerTime int }
func NewLicense ¶ added in v1.1.0
func NewLicense(resp GetLicenseResponseContent) *ZLicense
type ZResource ¶ added in v1.9.0
type ZResource struct { Client *Client ID string Name string Used int Limit int ZimbraMailHost string ZimbraMailTransport string ZimbraCOSId string ZimbraMailStatus string ZimbraMailQuota string ZimbraAcccountStatus string ZimbraCalResAutoAcceptDecline bool ZimbraCalResAutoDeclineIfBusy bool ZimbraCalResAutoDeclineRecurring bool ZimbraLastLogonTimestamp string }
func NewResource ¶ added in v1.9.0
func NewResource(resp GenericResponse, client *Client) *ZResource
func (*ZResource) DomainName ¶ added in v1.9.0
Click to show internal directories.
Click to hide internal directories.