objects

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package objects contains the generated Sophos object types

This file was generated by bin/gen.go! DO NOT EDIT!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aaa

type Aaa struct {
	AaaGroup AaaGroup `json:"aaa_group"`
	AaaUser  AaaUser  `json:"aaa_user"`
}

Aaa is a generated struct representing the Sophos Aaa Endpoint GET /api/nodes/aaa

func (Aaa) ApiRoutes

func (Aaa) ApiRoutes() []string

ApiRoutes returns all known Aaa Paths

func (Aaa) Definition

func (Aaa) Definition() sophos.Definition

Definition returns the /api/definitions struct of Aaa

func (*Aaa) GetPath

func (*Aaa) GetPath() string

GetPath implements sophos.RestGetter

func (*Aaa) RefRequired

func (*Aaa) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Aaa) References

func (Aaa) References() []string

References returns the Aaa's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Aaa) RestObjects

func (Aaa) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Aaa's Objects

type AaaGroup

type AaaGroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AdirectoryGroups     []interface{} `json:"adirectory_groups"`
	AdirectoryGroupsSids struct{}      `json:"adirectory_groups_sids"`
	BackendMatch         string        `json:"backend_match"`
	Comment              string        `json:"comment"`
	Dynamic              string        `json:"dynamic"`
	EdirectoryGroups     []interface{} `json:"edirectory_groups"`
	IpsecDn              string        `json:"ipsec_dn"`
	LdapAttribute        string        `json:"ldap_attribute"`
	LdapAttributeValue   string        `json:"ldap_attribute_value"`
	Members              []string      `json:"members"`
	Name                 string        `json:"name"`
	Network              string        `json:"network"`
	RadiusGroups         []interface{} `json:"radius_groups"`
	TacacsGroups         []interface{} `json:"tacacs_groups"`
	// contains filtered or unexported fields
}

AaaGroup is a generated Sophos object

func (*AaaGroup) DeletePath

func (*AaaGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AaaGroup DELETE path Creates or updates the complete object group

func (*AaaGroup) GetPath

func (a *AaaGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AaaGroups GET path Returns all available group types

func (*AaaGroup) GetType

func (a *AaaGroup) GetType() string

GetType implements sophos.Object

func (*AaaGroup) PatchPath

func (*AaaGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AaaGroup PATCH path Changes to parts of the object group types

func (*AaaGroup) PostPath

func (*AaaGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AaaGroup POST path Create a new aaa/group object

func (*AaaGroup) PutPath

func (*AaaGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AaaGroup PUT path Creates or updates the complete object group

func (*AaaGroup) RefRequired

func (a *AaaGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AaaGroup) UsedByPath

func (*AaaGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AaaGroups

type AaaGroups []AaaGroup

AaaGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*AaaGroups) GetPath

func (*AaaGroups) GetPath() string

GetPath implements sophos.RestObject and returns the AaaGroups GET path Returns all available aaa/group objects

func (*AaaGroups) RefRequired

func (*AaaGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AaaUser

type AaaUser struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AccManaged       bool          `json:"acc_managed"`
	AllowedNetworks  []string      `json:"allowed_networks"`
	Authentication   string        `json:"authentication"`
	BackendUpdate    bool          `json:"backend_update"`
	Clearpass        string        `json:"clearpass"`
	Comment          string        `json:"comment"`
	EmailPrimary     string        `json:"email_primary"`
	EmailSecondary   []interface{} `json:"email_secondary"`
	Enabled          bool          `json:"enabled"`
	LastauthBackend  string        `json:"lastauth_backend"`
	LastauthFacility string        `json:"lastauth_facility"`
	LastauthTime     int64         `json:"lastauth_time"`
	Loc              string        `json:"loc"`
	Md4hash          string        `json:"md4hash"`
	Name             string        `json:"name"`
	Network          string        `json:"network"`
	Pop3Accounts     []interface{} `json:"pop3_accounts"`
	RasIP            string        `json:"ras_ip"`
	RasOnline        bool          `json:"ras_online"`
	Realname         string        `json:"realname"`
	SenderBlacklist  []interface{} `json:"sender_blacklist"`
	SenderWhitelist  []interface{} `json:"sender_whitelist"`
	Status           bool          `json:"status"`
	UseRasIP         bool          `json:"use_ras_ip"`
	UserPreferences  string        `json:"user_preferences"`
	X509Cert         string        `json:"x509_cert"`
	X509CertGost     string        `json:"x509_cert_gost"`
	// contains filtered or unexported fields
}

AaaUser is a generated Sophos object

func (*AaaUser) DeletePath

func (*AaaUser) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AaaUser DELETE path Creates or updates the complete object user

func (*AaaUser) GetPath

func (a *AaaUser) GetPath() string

GetPath implements sophos.RestObject and returns the AaaUsers GET path Returns all available user types

func (*AaaUser) GetType

func (a *AaaUser) GetType() string

GetType implements sophos.Object

func (*AaaUser) PatchPath

func (*AaaUser) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AaaUser PATCH path Changes to parts of the object user types

func (*AaaUser) PostPath

func (*AaaUser) PostPath() string

PostPath implements sophos.RestObject and returns the AaaUser POST path Create a new aaa/user object

func (*AaaUser) PutPath

func (*AaaUser) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AaaUser PUT path Creates or updates the complete object user

func (*AaaUser) RefRequired

func (a *AaaUser) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AaaUser) UsedByPath

func (*AaaUser) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AaaUsers

type AaaUsers []AaaUser

AaaUsers is an Sophos Endpoint subType and implements sophos.RestObject

func (*AaaUsers) GetPath

func (*AaaUsers) GetPath() string

GetPath implements sophos.RestObject and returns the AaaUsers GET path Returns all available aaa/user objects

func (*AaaUsers) RefRequired

func (*AaaUsers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AmazonVpc

type AmazonVpc struct {
	AutoPfrule  int64    `json:"auto_pfrule"`
	Connections []string `json:"connections"`
	Networks    []string `json:"networks"`
	Status      int64    `json:"status"`
}

AmazonVpc is a generated struct representing the Sophos AmazonVpc Endpoint GET /api/nodes/amazon_vpc

func (AmazonVpc) ApiRoutes

func (AmazonVpc) ApiRoutes() []string

ApiRoutes returns all known AmazonVpc Paths

func (AmazonVpc) Definition

func (AmazonVpc) Definition() sophos.Definition

Definition returns the /api/definitions struct of AmazonVpc

func (*AmazonVpc) GetPath

func (*AmazonVpc) GetPath() string

GetPath implements sophos.RestGetter

func (*AmazonVpc) RefRequired

func (*AmazonVpc) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (AmazonVpc) References

func (AmazonVpc) References() []string

References returns the AmazonVpc's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (AmazonVpc) RestObjects

func (AmazonVpc) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of AmazonVpc's Objects

type AmazonVpcConnection

type AmazonVpcConnection struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment    string   `json:"comment"`
	Dev        string   `json:"dev"`
	ID         string   `json:"id"`
	Name       string   `json:"name"`
	Region     string   `json:"region"`
	Status     bool     `json:"status"`
	Tunnel     []string `json:"tunnel"`
	VpcGateway string   `json:"vpc_gateway"`
	VpcID      string   `json:"vpc_id"`
	VpcNetmask int64    `json:"vpc_netmask"`
	VpcNetwork string   `json:"vpc_network"`
	// contains filtered or unexported fields
}

AmazonVpcConnection is a generated Sophos object

func (*AmazonVpcConnection) DeletePath

func (*AmazonVpcConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AmazonVpcConnection DELETE path Creates or updates the complete object connection

func (*AmazonVpcConnection) GetPath

func (a *AmazonVpcConnection) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcConnections GET path Returns all available connection types

func (*AmazonVpcConnection) GetType

func (a *AmazonVpcConnection) GetType() string

GetType implements sophos.Object

func (*AmazonVpcConnection) PatchPath

func (*AmazonVpcConnection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AmazonVpcConnection PATCH path Changes to parts of the object connection types

func (*AmazonVpcConnection) PostPath

func (*AmazonVpcConnection) PostPath() string

PostPath implements sophos.RestObject and returns the AmazonVpcConnection POST path Create a new amazon_vpc/connection object

func (*AmazonVpcConnection) PutPath

func (*AmazonVpcConnection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AmazonVpcConnection PUT path Creates or updates the complete object connection

func (*AmazonVpcConnection) RefRequired

func (a *AmazonVpcConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AmazonVpcConnection) UsedByPath

func (*AmazonVpcConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AmazonVpcConnections

type AmazonVpcConnections []AmazonVpcConnection

AmazonVpcConnections is an Sophos Endpoint subType and implements sophos.RestObject

func (*AmazonVpcConnections) GetPath

func (*AmazonVpcConnections) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcConnections GET path Returns all available amazon_vpc/connection objects

func (*AmazonVpcConnections) RefRequired

func (*AmazonVpcConnections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AmazonVpcGroup

type AmazonVpcGroup []interface{}

AmazonVpcGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*AmazonVpcGroup) DeletePath

func (*AmazonVpcGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AmazonVpcGroup DELETE path Creates or updates the complete object group

func (*AmazonVpcGroup) GetPath

func (*AmazonVpcGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcGroup GET path Returns all available amazon_vpc/group objects

func (*AmazonVpcGroup) PatchPath

func (*AmazonVpcGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AmazonVpcGroup PATCH path Changes to parts of the object group types

func (*AmazonVpcGroup) PostPath

func (*AmazonVpcGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AmazonVpcGroup POST path Create a new amazon_vpc/group object

func (*AmazonVpcGroup) PutPath

func (*AmazonVpcGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AmazonVpcGroup PUT path Creates or updates the complete object group

func (*AmazonVpcGroup) RefRequired

func (*AmazonVpcGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AmazonVpcGroup) UsedByPath

func (*AmazonVpcGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AmazonVpcTunnel

type AmazonVpcTunnel struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address string `json:"address"`
	Bgp     string `json:"bgp"`
	Comment string `json:"comment"`
	Ipsec   string `json:"ipsec"`
	Name    string `json:"name"`
	Netmask int64  `json:"netmask"`
	// contains filtered or unexported fields
}

AmazonVpcTunnel is a generated Sophos object

func (*AmazonVpcTunnel) DeletePath

func (*AmazonVpcTunnel) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AmazonVpcTunnel DELETE path Creates or updates the complete object tunnel

func (*AmazonVpcTunnel) GetPath

func (a *AmazonVpcTunnel) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcTunnels GET path Returns all available tunnel types

func (*AmazonVpcTunnel) GetType

func (a *AmazonVpcTunnel) GetType() string

GetType implements sophos.Object

func (*AmazonVpcTunnel) PatchPath

func (*AmazonVpcTunnel) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AmazonVpcTunnel PATCH path Changes to parts of the object tunnel types

func (*AmazonVpcTunnel) PostPath

func (*AmazonVpcTunnel) PostPath() string

PostPath implements sophos.RestObject and returns the AmazonVpcTunnel POST path Create a new amazon_vpc/tunnel object

func (*AmazonVpcTunnel) PutPath

func (*AmazonVpcTunnel) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AmazonVpcTunnel PUT path Creates or updates the complete object tunnel

func (*AmazonVpcTunnel) RefRequired

func (a *AmazonVpcTunnel) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AmazonVpcTunnel) UsedByPath

func (*AmazonVpcTunnel) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AmazonVpcTunnels

type AmazonVpcTunnels []AmazonVpcTunnel

AmazonVpcTunnels is an Sophos Endpoint subType and implements sophos.RestObject

func (*AmazonVpcTunnels) GetPath

func (*AmazonVpcTunnels) GetPath() string

GetPath implements sophos.RestObject and returns the AmazonVpcTunnels GET path Returns all available amazon_vpc/tunnel objects

func (*AmazonVpcTunnels) RefRequired

func (*AmazonVpcTunnels) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ApplicationControl

type ApplicationControl struct {
	ApplicationControlGroup ApplicationControlGroup `json:"application_control_group"`
	ApplicationControlRule  ApplicationControlRule  `json:"application_control_rule"`
}

ApplicationControl is a generated struct representing the Sophos ApplicationControl Endpoint GET /api/nodes/application_control

func (ApplicationControl) ApiRoutes

func (ApplicationControl) ApiRoutes() []string

ApiRoutes returns all known ApplicationControl Paths

func (ApplicationControl) Definition

func (ApplicationControl) Definition() sophos.Definition

Definition returns the /api/definitions struct of ApplicationControl

func (*ApplicationControl) GetPath

func (*ApplicationControl) GetPath() string

GetPath implements sophos.RestGetter

func (*ApplicationControl) RefRequired

func (*ApplicationControl) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (ApplicationControl) References

func (ApplicationControl) References() []string

References returns the ApplicationControl's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (ApplicationControl) RestObjects

func (ApplicationControl) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of ApplicationControl's Objects

type ApplicationControlGroup

type ApplicationControlGroup []interface{}

ApplicationControlGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*ApplicationControlGroup) DeletePath

func (*ApplicationControlGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ApplicationControlGroup DELETE path Creates or updates the complete object group

func (*ApplicationControlGroup) GetPath

func (*ApplicationControlGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ApplicationControlGroup GET path Returns all available application_control/group objects

func (*ApplicationControlGroup) PatchPath

func (*ApplicationControlGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ApplicationControlGroup PATCH path Changes to parts of the object group types

func (*ApplicationControlGroup) PostPath

func (*ApplicationControlGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ApplicationControlGroup POST path Create a new application_control/group object

func (*ApplicationControlGroup) PutPath

func (*ApplicationControlGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ApplicationControlGroup PUT path Creates or updates the complete object group

func (*ApplicationControlGroup) RefRequired

func (*ApplicationControlGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ApplicationControlGroup) UsedByPath

func (*ApplicationControlGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ApplicationControlRule

type ApplicationControlRule struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Action                  string        `json:"action"`
	Applications            []string      `json:"applications"`
	Comment                 string        `json:"comment"`
	DestinationNetworks     []string      `json:"destination_networks"`
	Group                   string        `json:"group"`
	GroupFilterProductivity int64         `json:"group_filter_productivity"`
	GroupFilterRisk         int64         `json:"group_filter_risk"`
	Groups                  []interface{} `json:"groups"`
	Log                     bool          `json:"log"`
	Name                    string        `json:"name"`
	SourceNetworks          []string      `json:"source_networks"`
	Status                  bool          `json:"status"`
	// contains filtered or unexported fields
}

ApplicationControlRule is a generated Sophos object

func (*ApplicationControlRule) DeletePath

func (*ApplicationControlRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ApplicationControlRule DELETE path Creates or updates the complete object rule

func (*ApplicationControlRule) GetPath

func (a *ApplicationControlRule) GetPath() string

GetPath implements sophos.RestObject and returns the ApplicationControlRules GET path Returns all available rule types

func (*ApplicationControlRule) GetType

func (a *ApplicationControlRule) GetType() string

GetType implements sophos.Object

func (*ApplicationControlRule) PatchPath

func (*ApplicationControlRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ApplicationControlRule PATCH path Changes to parts of the object rule types

func (*ApplicationControlRule) PostPath

func (*ApplicationControlRule) PostPath() string

PostPath implements sophos.RestObject and returns the ApplicationControlRule POST path Create a new application_control/rule object

func (*ApplicationControlRule) PutPath

func (*ApplicationControlRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ApplicationControlRule PUT path Creates or updates the complete object rule

func (*ApplicationControlRule) RefRequired

func (a *ApplicationControlRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ApplicationControlRule) UsedByPath

func (*ApplicationControlRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ApplicationControlRules

type ApplicationControlRules []ApplicationControlRule

ApplicationControlRules is an Sophos Endpoint subType and implements sophos.RestObject

func (*ApplicationControlRules) GetPath

func (*ApplicationControlRules) GetPath() string

GetPath implements sophos.RestObject and returns the ApplicationControlRules GET path Returns all available application_control/rule objects

func (*ApplicationControlRules) RefRequired

func (*ApplicationControlRules) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Authentication

type Authentication struct {
	AuthenticationAdirectory AuthenticationAdirectory `json:"authentication_adirectory"`
	AuthenticationEdirectory AuthenticationEdirectory `json:"authentication_edirectory"`
	AuthenticationGroup      AuthenticationGroup      `json:"authentication_group"`
	AuthenticationLdap       AuthenticationLdap       `json:"authentication_ldap"`
	AuthenticationOtpToken   AuthenticationOtpToken   `json:"authentication_otp_token"`
	AuthenticationRadius     AuthenticationRadius     `json:"authentication_radius"`
	AuthenticationTacacs     AuthenticationTacacs     `json:"authentication_tacacs"`
}

Authentication is a generated struct representing the Sophos Authentication Endpoint GET /api/nodes/authentication

func (Authentication) ApiRoutes

func (Authentication) ApiRoutes() []string

ApiRoutes returns all known Authentication Paths

func (Authentication) Definition

func (Authentication) Definition() sophos.Definition

Definition returns the /api/definitions struct of Authentication

func (*Authentication) GetPath

func (*Authentication) GetPath() string

GetPath implements sophos.RestGetter

func (*Authentication) RefRequired

func (*Authentication) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Authentication) References

func (Authentication) References() []string

References returns the Authentication's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Authentication) RestObjects

func (Authentication) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Authentication's Objects

type AuthenticationAdirectory

type AuthenticationAdirectory []interface{}

AuthenticationAdirectory is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationAdirectory) DeletePath

func (*AuthenticationAdirectory) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationAdirectory DELETE path Creates or updates the complete object adirectory

func (*AuthenticationAdirectory) GetPath

func (*AuthenticationAdirectory) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationAdirectory GET path Returns all available authentication/adirectory objects

func (*AuthenticationAdirectory) PatchPath

func (*AuthenticationAdirectory) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationAdirectory PATCH path Changes to parts of the object adirectory types

func (*AuthenticationAdirectory) PostPath

func (*AuthenticationAdirectory) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationAdirectory POST path Create a new authentication/adirectory object

func (*AuthenticationAdirectory) PutPath

func (*AuthenticationAdirectory) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationAdirectory PUT path Creates or updates the complete object adirectory

func (*AuthenticationAdirectory) RefRequired

func (*AuthenticationAdirectory) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationAdirectory) UsedByPath

func (*AuthenticationAdirectory) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationEdirectory

type AuthenticationEdirectory []interface{}

AuthenticationEdirectory is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationEdirectory) DeletePath

func (*AuthenticationEdirectory) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationEdirectory DELETE path Creates or updates the complete object edirectory

func (*AuthenticationEdirectory) GetPath

func (*AuthenticationEdirectory) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationEdirectory GET path Returns all available authentication/edirectory objects

func (*AuthenticationEdirectory) PatchPath

func (*AuthenticationEdirectory) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationEdirectory PATCH path Changes to parts of the object edirectory types

func (*AuthenticationEdirectory) PostPath

func (*AuthenticationEdirectory) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationEdirectory POST path Create a new authentication/edirectory object

func (*AuthenticationEdirectory) PutPath

func (*AuthenticationEdirectory) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationEdirectory PUT path Creates or updates the complete object edirectory

func (*AuthenticationEdirectory) RefRequired

func (*AuthenticationEdirectory) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationEdirectory) UsedByPath

func (*AuthenticationEdirectory) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationGroup

type AuthenticationGroup []interface{}

AuthenticationGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationGroup) DeletePath

func (*AuthenticationGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationGroup DELETE path Creates or updates the complete object group

func (*AuthenticationGroup) GetPath

func (*AuthenticationGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationGroup GET path Returns all available authentication/group objects

func (*AuthenticationGroup) PatchPath

func (*AuthenticationGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationGroup PATCH path Changes to parts of the object group types

func (*AuthenticationGroup) PostPath

func (*AuthenticationGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationGroup POST path Create a new authentication/group object

func (*AuthenticationGroup) PutPath

func (*AuthenticationGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationGroup PUT path Creates or updates the complete object group

func (*AuthenticationGroup) RefRequired

func (*AuthenticationGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationGroup) UsedByPath

func (*AuthenticationGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationLdap

type AuthenticationLdap []interface{}

AuthenticationLdap is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationLdap) DeletePath

func (*AuthenticationLdap) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationLdap DELETE path Creates or updates the complete object ldap

func (*AuthenticationLdap) GetPath

func (*AuthenticationLdap) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationLdap GET path Returns all available authentication/ldap objects

func (*AuthenticationLdap) PatchPath

func (*AuthenticationLdap) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationLdap PATCH path Changes to parts of the object ldap types

func (*AuthenticationLdap) PostPath

func (*AuthenticationLdap) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationLdap POST path Create a new authentication/ldap object

func (*AuthenticationLdap) PutPath

func (*AuthenticationLdap) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationLdap PUT path Creates or updates the complete object ldap

func (*AuthenticationLdap) RefRequired

func (*AuthenticationLdap) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationLdap) UsedByPath

func (*AuthenticationLdap) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationOtpToken

type AuthenticationOtpToken []interface{}

AuthenticationOtpToken is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationOtpToken) DeletePath

func (*AuthenticationOtpToken) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationOtpToken DELETE path Creates or updates the complete object otp_token

func (*AuthenticationOtpToken) GetPath

func (*AuthenticationOtpToken) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationOtpToken GET path Returns all available authentication/otp_token objects

func (*AuthenticationOtpToken) PatchPath

func (*AuthenticationOtpToken) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationOtpToken PATCH path Changes to parts of the object otp_token types

func (*AuthenticationOtpToken) PostPath

func (*AuthenticationOtpToken) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationOtpToken POST path Create a new authentication/otp_token object

func (*AuthenticationOtpToken) PutPath

func (*AuthenticationOtpToken) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationOtpToken PUT path Creates or updates the complete object otp_token

func (*AuthenticationOtpToken) RefRequired

func (*AuthenticationOtpToken) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationOtpToken) UsedByPath

func (*AuthenticationOtpToken) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationRadius

type AuthenticationRadius []interface{}

AuthenticationRadius is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationRadius) DeletePath

func (*AuthenticationRadius) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationRadius DELETE path Creates or updates the complete object radius

func (*AuthenticationRadius) GetPath

func (*AuthenticationRadius) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationRadius GET path Returns all available authentication/radius objects

func (*AuthenticationRadius) PatchPath

func (*AuthenticationRadius) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationRadius PATCH path Changes to parts of the object radius types

func (*AuthenticationRadius) PostPath

func (*AuthenticationRadius) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationRadius POST path Create a new authentication/radius object

func (*AuthenticationRadius) PutPath

func (*AuthenticationRadius) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationRadius PUT path Creates or updates the complete object radius

func (*AuthenticationRadius) RefRequired

func (*AuthenticationRadius) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationRadius) UsedByPath

func (*AuthenticationRadius) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AuthenticationTacacs

type AuthenticationTacacs []interface{}

AuthenticationTacacs is an Sophos Endpoint subType and implements sophos.RestObject

func (*AuthenticationTacacs) DeletePath

func (*AuthenticationTacacs) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AuthenticationTacacs DELETE path Creates or updates the complete object tacacs

func (*AuthenticationTacacs) GetPath

func (*AuthenticationTacacs) GetPath() string

GetPath implements sophos.RestObject and returns the AuthenticationTacacs GET path Returns all available authentication/tacacs objects

func (*AuthenticationTacacs) PatchPath

func (*AuthenticationTacacs) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AuthenticationTacacs PATCH path Changes to parts of the object tacacs types

func (*AuthenticationTacacs) PostPath

func (*AuthenticationTacacs) PostPath() string

PostPath implements sophos.RestObject and returns the AuthenticationTacacs POST path Create a new authentication/tacacs object

func (*AuthenticationTacacs) PutPath

func (*AuthenticationTacacs) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AuthenticationTacacs PUT path Creates or updates the complete object tacacs

func (*AuthenticationTacacs) RefRequired

func (*AuthenticationTacacs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AuthenticationTacacs) UsedByPath

func (*AuthenticationTacacs) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Awe

type Awe struct {
	AllowedInterfaces []interface{} `json:"allowed_interfaces"`
	Clients           []interface{} `json:"clients"`
	Devices           []interface{} `json:"devices"`
	Global            struct {
		ApAutoaccept        int64  `json:"ap_autoaccept"`
		ApDebuglevel        int64  `json:"ap_debuglevel"`
		ApSoftlimit         int64  `json:"ap_softlimit"`
		ApVlantag           int64  `json:"ap_vlantag"`
		AweStatus           int64  `json:"awe_status"`
		BridgeUpdateKickout int64  `json:"bridge_update_kickout"`
		InitialSetup        int64  `json:"initial_setup"`
		LogLevel            int64  `json:"log_level"`
		MagicIP             string `json:"magic_ip"`
		NotificationTimeout int64  `json:"notification_timeout"`
		RadiusConf          string `json:"radius_conf"`
		Rootpw              string `json:"rootpw"`
		StayOnline          int64  `json:"stay_online"`
		StoreBssStats       int64  `json:"store_bss_stats"`
		TunnelIDOffset      int64  `json:"tunnel_id_offset"`
		Vlantagging         int64  `json:"vlantagging"`
	} `json:"global"`
	Networks []string `json:"networks"`
}

Awe is a generated struct representing the Sophos Awe Endpoint GET /api/nodes/awe

func (Awe) ApiRoutes

func (Awe) ApiRoutes() []string

ApiRoutes returns all known Awe Paths

func (Awe) Definition

func (Awe) Definition() sophos.Definition

Definition returns the /api/definitions struct of Awe

func (*Awe) GetPath

func (*Awe) GetPath() string

GetPath implements sophos.RestGetter

func (*Awe) RefRequired

func (*Awe) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Awe) References

func (Awe) References() []string

References returns the Awe's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Awe) RestObjects

func (Awe) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Awe's Objects

type AweClient

type AweClient []interface{}

AweClient is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweClient) DeletePath

func (*AweClient) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweClient DELETE path Creates or updates the complete object client

func (*AweClient) GetPath

func (*AweClient) GetPath() string

GetPath implements sophos.RestObject and returns the AweClient GET path Returns all available awe/client objects

func (*AweClient) PatchPath

func (*AweClient) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweClient PATCH path Changes to parts of the object client types

func (*AweClient) PostPath

func (*AweClient) PostPath() string

PostPath implements sophos.RestObject and returns the AweClient POST path Create a new awe/client object

func (*AweClient) PutPath

func (*AweClient) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweClient PUT path Creates or updates the complete object client

func (*AweClient) RefRequired

func (*AweClient) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweClient) UsedByPath

func (*AweClient) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweDevice

type AweDevice []interface{}

AweDevice is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweDevice) DeletePath

func (*AweDevice) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweDevice DELETE path Creates or updates the complete object device

func (*AweDevice) GetPath

func (*AweDevice) GetPath() string

GetPath implements sophos.RestObject and returns the AweDevice GET path Returns all available awe/device objects

func (*AweDevice) PatchPath

func (*AweDevice) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweDevice PATCH path Changes to parts of the object device types

func (*AweDevice) PostPath

func (*AweDevice) PostPath() string

PostPath implements sophos.RestObject and returns the AweDevice POST path Create a new awe/device object

func (*AweDevice) PutPath

func (*AweDevice) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweDevice PUT path Creates or updates the complete object device

func (*AweDevice) RefRequired

func (*AweDevice) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweDevice) UsedByPath

func (*AweDevice) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweGroup

type AweGroup []interface{}

AweGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweGroup) DeletePath

func (*AweGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweGroup DELETE path Creates or updates the complete object group

func (*AweGroup) GetPath

func (*AweGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AweGroup GET path Returns all available awe/group objects

func (*AweGroup) PatchPath

func (*AweGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweGroup PATCH path Changes to parts of the object group types

func (*AweGroup) PostPath

func (*AweGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AweGroup POST path Create a new awe/group object

func (*AweGroup) PutPath

func (*AweGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweGroup PUT path Creates or updates the complete object group

func (*AweGroup) RefRequired

func (*AweGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweGroup) UsedByPath

func (*AweGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweLocal

type AweLocal []interface{}

AweLocal is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweLocal) DeletePath

func (*AweLocal) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweLocal DELETE path Creates or updates the complete object local

func (*AweLocal) GetPath

func (*AweLocal) GetPath() string

GetPath implements sophos.RestObject and returns the AweLocal GET path Returns all available awe/local objects

func (*AweLocal) PatchPath

func (*AweLocal) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweLocal PATCH path Changes to parts of the object local types

func (*AweLocal) PostPath

func (*AweLocal) PostPath() string

PostPath implements sophos.RestObject and returns the AweLocal POST path Create a new awe/local object

func (*AweLocal) PutPath

func (*AweLocal) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweLocal PUT path Creates or updates the complete object local

func (*AweLocal) RefRequired

func (*AweLocal) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweLocal) UsedByPath

func (*AweLocal) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweNetworkDeviceAssociation

type AweNetworkDeviceAssociation struct {
	AweNetworkDeviceAssociationGroup    AweNetworkDeviceAssociationGroup    `json:"awe_network_device_association_group"`
	AweNetworkDeviceAssociationMeshRole AweNetworkDeviceAssociationMeshRole `json:"awe_network_device_association_mesh_role"`
}

AweNetworkDeviceAssociation is a generated struct representing the Sophos AweNetworkDeviceAssociation Endpoint GET /api/nodes/awe_network_device_association

func (AweNetworkDeviceAssociation) ApiRoutes

func (AweNetworkDeviceAssociation) ApiRoutes() []string

ApiRoutes returns all known AweNetworkDeviceAssociation Paths

func (AweNetworkDeviceAssociation) Definition

Definition returns the /api/definitions struct of AweNetworkDeviceAssociation

func (*AweNetworkDeviceAssociation) GetPath

GetPath implements sophos.RestGetter

func (*AweNetworkDeviceAssociation) RefRequired

func (*AweNetworkDeviceAssociation) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (AweNetworkDeviceAssociation) References

func (AweNetworkDeviceAssociation) References() []string

References returns the AweNetworkDeviceAssociation's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (AweNetworkDeviceAssociation) RestObjects

RestObjects implements the sophos.Node interface and returns a map of AweNetworkDeviceAssociation's Objects

type AweNetworkDeviceAssociationGroup

type AweNetworkDeviceAssociationGroup []interface{}

AweNetworkDeviceAssociationGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweNetworkDeviceAssociationGroup) DeletePath

DeletePath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup DELETE path Creates or updates the complete object group

func (*AweNetworkDeviceAssociationGroup) GetPath

GetPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup GET path Returns all available awe_network_device_association/group objects

func (*AweNetworkDeviceAssociationGroup) PatchPath

PatchPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup PATCH path Changes to parts of the object group types

func (*AweNetworkDeviceAssociationGroup) PostPath

PostPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup POST path Create a new awe_network_device_association/group object

func (*AweNetworkDeviceAssociationGroup) PutPath

PutPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationGroup PUT path Creates or updates the complete object group

func (*AweNetworkDeviceAssociationGroup) RefRequired

func (*AweNetworkDeviceAssociationGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweNetworkDeviceAssociationGroup) UsedByPath

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweNetworkDeviceAssociationMeshRole

type AweNetworkDeviceAssociationMeshRole []interface{}

AweNetworkDeviceAssociationMeshRole is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweNetworkDeviceAssociationMeshRole) DeletePath

DeletePath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole DELETE path Creates or updates the complete object mesh_role

func (*AweNetworkDeviceAssociationMeshRole) GetPath

GetPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole GET path Returns all available awe_network_device_association/mesh_role objects

func (*AweNetworkDeviceAssociationMeshRole) PatchPath

PatchPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole PATCH path Changes to parts of the object mesh_role types

func (*AweNetworkDeviceAssociationMeshRole) PostPath

PostPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole POST path Create a new awe_network_device_association/mesh_role object

func (*AweNetworkDeviceAssociationMeshRole) PutPath

PutPath implements sophos.RestObject and returns the AweNetworkDeviceAssociationMeshRole PUT path Creates or updates the complete object mesh_role

func (*AweNetworkDeviceAssociationMeshRole) RefRequired

RefRequired implements sophos.RestObject

func (*AweNetworkDeviceAssociationMeshRole) UsedByPath

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AweRed

type AweRed []interface{}

AweRed is an Sophos Endpoint subType and implements sophos.RestObject

func (*AweRed) DeletePath

func (*AweRed) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AweRed DELETE path Creates or updates the complete object red

func (*AweRed) GetPath

func (*AweRed) GetPath() string

GetPath implements sophos.RestObject and returns the AweRed GET path Returns all available awe/red objects

func (*AweRed) PatchPath

func (*AweRed) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AweRed PATCH path Changes to parts of the object red types

func (*AweRed) PostPath

func (*AweRed) PostPath() string

PostPath implements sophos.RestObject and returns the AweRed POST path Create a new awe/red object

func (*AweRed) PutPath

func (*AweRed) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AweRed PUT path Creates or updates the complete object red

func (*AweRed) RefRequired

func (*AweRed) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AweRed) UsedByPath

func (*AweRed) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Aws

type Aws struct {
	AwsGroup        AwsGroup        `json:"aws_group"`
	AwsInstanceType AwsInstanceType `json:"aws_instance_type"`
	AwsRegion       AwsRegion       `json:"aws_region"`
}

Aws is a generated struct representing the Sophos Aws Endpoint GET /api/nodes/aws

func (Aws) ApiRoutes

func (Aws) ApiRoutes() []string

ApiRoutes returns all known Aws Paths

func (Aws) Definition

func (Aws) Definition() sophos.Definition

Definition returns the /api/definitions struct of Aws

func (*Aws) GetPath

func (*Aws) GetPath() string

GetPath implements sophos.RestGetter

func (*Aws) RefRequired

func (*Aws) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Aws) References

func (Aws) References() []string

References returns the Aws's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Aws) RestObjects

func (Aws) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Aws's Objects

type AwsGroup

type AwsGroup []interface{}

AwsGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwsGroup) DeletePath

func (*AwsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwsGroup DELETE path Creates or updates the complete object group

func (*AwsGroup) GetPath

func (*AwsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AwsGroup GET path Returns all available aws/group objects

func (*AwsGroup) PatchPath

func (*AwsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwsGroup PATCH path Changes to parts of the object group types

func (*AwsGroup) PostPath

func (*AwsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AwsGroup POST path Create a new aws/group object

func (*AwsGroup) PutPath

func (*AwsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwsGroup PUT path Creates or updates the complete object group

func (*AwsGroup) RefRequired

func (*AwsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwsGroup) UsedByPath

func (*AwsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwsInstanceType

type AwsInstanceType struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment            string      `json:"comment"`
	CPUCores           int64       `json:"cpu_cores"`
	Deprecated         bool        `json:"deprecated"`
	MemoryBytes        interface{} `json:"memory_bytes"`
	Model              string      `json:"model"`
	Name               string      `json:"name"`
	NetworkPerformance string      `json:"network_performance"`
	// contains filtered or unexported fields
}

AwsInstanceType is a generated Sophos object

func (*AwsInstanceType) DeletePath

func (*AwsInstanceType) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwsInstanceType DELETE path Creates or updates the complete object instance_type

func (*AwsInstanceType) GetPath

func (a *AwsInstanceType) GetPath() string

GetPath implements sophos.RestObject and returns the AwsInstanceTypes GET path Returns all available instance_type types

func (*AwsInstanceType) GetType

func (a *AwsInstanceType) GetType() string

GetType implements sophos.Object

func (*AwsInstanceType) PatchPath

func (*AwsInstanceType) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwsInstanceType PATCH path Changes to parts of the object instance_type types

func (*AwsInstanceType) PostPath

func (*AwsInstanceType) PostPath() string

PostPath implements sophos.RestObject and returns the AwsInstanceType POST path Create a new aws/instance_type object

func (*AwsInstanceType) PutPath

func (*AwsInstanceType) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwsInstanceType PUT path Creates or updates the complete object instance_type

func (*AwsInstanceType) RefRequired

func (a *AwsInstanceType) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwsInstanceType) UsedByPath

func (*AwsInstanceType) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwsInstanceTypes

type AwsInstanceTypes []AwsInstanceType

AwsInstanceTypes is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwsInstanceTypes) GetPath

func (*AwsInstanceTypes) GetPath() string

GetPath implements sophos.RestObject and returns the AwsInstanceTypes GET path Returns all available aws/instance_type objects

func (*AwsInstanceTypes) RefRequired

func (*AwsInstanceTypes) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type AwsRegion

type AwsRegion struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AvailabilityZones []string `json:"availability_zones"`
	Code              string   `json:"code"`
	Comment           string   `json:"comment"`
	InstanceTypes     []string `json:"instance_types"`
	Name              string   `json:"name"`
	Partition         string   `json:"partition"`
	// contains filtered or unexported fields
}

AwsRegion is a generated Sophos object

func (*AwsRegion) DeletePath

func (*AwsRegion) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwsRegion DELETE path Creates or updates the complete object region

func (*AwsRegion) GetPath

func (a *AwsRegion) GetPath() string

GetPath implements sophos.RestObject and returns the AwsRegions GET path Returns all available region types

func (*AwsRegion) GetType

func (a *AwsRegion) GetType() string

GetType implements sophos.Object

func (*AwsRegion) PatchPath

func (*AwsRegion) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwsRegion PATCH path Changes to parts of the object region types

func (*AwsRegion) PostPath

func (*AwsRegion) PostPath() string

PostPath implements sophos.RestObject and returns the AwsRegion POST path Create a new aws/region object

func (*AwsRegion) PutPath

func (*AwsRegion) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwsRegion PUT path Creates or updates the complete object region

func (*AwsRegion) RefRequired

func (a *AwsRegion) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwsRegion) UsedByPath

func (*AwsRegion) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwsRegions

type AwsRegions []AwsRegion

AwsRegions is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwsRegions) GetPath

func (*AwsRegions) GetPath() string

GetPath implements sophos.RestObject and returns the AwsRegions GET path Returns all available aws/region objects

func (*AwsRegions) RefRequired

func (*AwsRegions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Awscli

type Awscli struct {
	Profiles []interface{} `json:"profiles"`
}

Awscli is a generated struct representing the Sophos Awscli Endpoint GET /api/nodes/awscli

func (Awscli) ApiRoutes

func (Awscli) ApiRoutes() []string

ApiRoutes returns all known Awscli Paths

func (Awscli) Definition

func (Awscli) Definition() sophos.Definition

Definition returns the /api/definitions struct of Awscli

func (*Awscli) GetPath

func (*Awscli) GetPath() string

GetPath implements sophos.RestGetter

func (*Awscli) RefRequired

func (*Awscli) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Awscli) References

func (Awscli) References() []string

References returns the Awscli's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Awscli) RestObjects

func (Awscli) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Awscli's Objects

type AwscliGroup

type AwscliGroup []interface{}

AwscliGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwscliGroup) DeletePath

func (*AwscliGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwscliGroup DELETE path Creates or updates the complete object group

func (*AwscliGroup) GetPath

func (*AwscliGroup) GetPath() string

GetPath implements sophos.RestObject and returns the AwscliGroup GET path Returns all available awscli/group objects

func (*AwscliGroup) PatchPath

func (*AwscliGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwscliGroup PATCH path Changes to parts of the object group types

func (*AwscliGroup) PostPath

func (*AwscliGroup) PostPath() string

PostPath implements sophos.RestObject and returns the AwscliGroup POST path Create a new awscli/group object

func (*AwscliGroup) PutPath

func (*AwscliGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwscliGroup PUT path Creates or updates the complete object group

func (*AwscliGroup) RefRequired

func (*AwscliGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwscliGroup) UsedByPath

func (*AwscliGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type AwscliProfile

type AwscliProfile []interface{}

AwscliProfile is an Sophos Endpoint subType and implements sophos.RestObject

func (*AwscliProfile) DeletePath

func (*AwscliProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the AwscliProfile DELETE path Creates or updates the complete object profile

func (*AwscliProfile) GetPath

func (*AwscliProfile) GetPath() string

GetPath implements sophos.RestObject and returns the AwscliProfile GET path Returns all available awscli/profile objects

func (*AwscliProfile) PatchPath

func (*AwscliProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the AwscliProfile PATCH path Changes to parts of the object profile types

func (*AwscliProfile) PostPath

func (*AwscliProfile) PostPath() string

PostPath implements sophos.RestObject and returns the AwscliProfile POST path Create a new awscli/profile object

func (*AwscliProfile) PutPath

func (*AwscliProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the AwscliProfile PUT path Creates or updates the complete object profile

func (*AwscliProfile) RefRequired

func (*AwscliProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*AwscliProfile) UsedByPath

func (*AwscliProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Bgp

type Bgp struct {
	BgpAmazonVpc BgpAmazonVpc `json:"bgp_amazon_vpc"`
	BgpFilter    BgpFilter    `json:"bgp_filter"`
	BgpGroup     BgpGroup     `json:"bgp_group"`
	BgpNeighbor  BgpNeighbor  `json:"bgp_neighbor"`
	BgpRouteMap  BgpRouteMap  `json:"bgp_route_map"`
	BgpSystem    BgpSystem    `json:"bgp_system"`
}

Bgp is a generated struct representing the Sophos Bgp Endpoint GET /api/nodes/bgp

func (Bgp) ApiRoutes

func (Bgp) ApiRoutes() []string

ApiRoutes returns all known Bgp Paths

func (Bgp) Definition

func (Bgp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Bgp

func (*Bgp) GetPath

func (*Bgp) GetPath() string

GetPath implements sophos.RestGetter

func (*Bgp) RefRequired

func (*Bgp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Bgp) References

func (Bgp) References() []string

References returns the Bgp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Bgp) RestObjects

func (Bgp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Bgp's Objects

type BgpAmazonVpc

type BgpAmazonVpc struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment      string   `json:"comment"`
	Custom       string   `json:"custom"`
	Host         string   `json:"host"`
	ID           string   `json:"id"`
	LocalAsn     int64    `json:"local_asn"`
	MaximumPaths int64    `json:"maximum_paths"`
	Name         string   `json:"name"`
	Network      []string `json:"network"`
	RemoteAsn    int64    `json:"remote_asn"`
	// contains filtered or unexported fields
}

BgpAmazonVpc is a generated Sophos object

func (*BgpAmazonVpc) DeletePath

func (*BgpAmazonVpc) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpAmazonVpc DELETE path Creates or updates the complete object amazon_vpc

func (*BgpAmazonVpc) GetPath

func (b *BgpAmazonVpc) GetPath() string

GetPath implements sophos.RestObject and returns the BgpAmazonVpcs GET path Returns all available amazon_vpc types

func (*BgpAmazonVpc) GetType

func (b *BgpAmazonVpc) GetType() string

GetType implements sophos.Object

func (*BgpAmazonVpc) PatchPath

func (*BgpAmazonVpc) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpAmazonVpc PATCH path Changes to parts of the object amazon_vpc types

func (*BgpAmazonVpc) PostPath

func (*BgpAmazonVpc) PostPath() string

PostPath implements sophos.RestObject and returns the BgpAmazonVpc POST path Create a new bgp/amazon_vpc object

func (*BgpAmazonVpc) PutPath

func (*BgpAmazonVpc) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpAmazonVpc PUT path Creates or updates the complete object amazon_vpc

func (*BgpAmazonVpc) RefRequired

func (b *BgpAmazonVpc) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpAmazonVpc) UsedByPath

func (*BgpAmazonVpc) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpAmazonVpcs

type BgpAmazonVpcs []BgpAmazonVpc

BgpAmazonVpcs is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpAmazonVpcs) GetPath

func (*BgpAmazonVpcs) GetPath() string

GetPath implements sophos.RestObject and returns the BgpAmazonVpcs GET path Returns all available bgp/amazon_vpc objects

func (*BgpAmazonVpcs) RefRequired

func (*BgpAmazonVpcs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type BgpFilter

type BgpFilter []interface{}

BgpFilter is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpFilter) DeletePath

func (*BgpFilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpFilter DELETE path Creates or updates the complete object filter

func (*BgpFilter) GetPath

func (*BgpFilter) GetPath() string

GetPath implements sophos.RestObject and returns the BgpFilter GET path Returns all available bgp/filter objects

func (*BgpFilter) PatchPath

func (*BgpFilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpFilter PATCH path Changes to parts of the object filter types

func (*BgpFilter) PostPath

func (*BgpFilter) PostPath() string

PostPath implements sophos.RestObject and returns the BgpFilter POST path Create a new bgp/filter object

func (*BgpFilter) PutPath

func (*BgpFilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpFilter PUT path Creates or updates the complete object filter

func (*BgpFilter) RefRequired

func (*BgpFilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpFilter) UsedByPath

func (*BgpFilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpGroup

type BgpGroup []interface{}

BgpGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpGroup) DeletePath

func (*BgpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpGroup DELETE path Creates or updates the complete object group

func (*BgpGroup) GetPath

func (*BgpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the BgpGroup GET path Returns all available bgp/group objects

func (*BgpGroup) PatchPath

func (*BgpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpGroup PATCH path Changes to parts of the object group types

func (*BgpGroup) PostPath

func (*BgpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the BgpGroup POST path Create a new bgp/group object

func (*BgpGroup) PutPath

func (*BgpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpGroup PUT path Creates or updates the complete object group

func (*BgpGroup) RefRequired

func (*BgpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpGroup) UsedByPath

func (*BgpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpNeighbor

type BgpNeighbor []interface{}

BgpNeighbor is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpNeighbor) DeletePath

func (*BgpNeighbor) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpNeighbor DELETE path Creates or updates the complete object neighbor

func (*BgpNeighbor) GetPath

func (*BgpNeighbor) GetPath() string

GetPath implements sophos.RestObject and returns the BgpNeighbor GET path Returns all available bgp/neighbor objects

func (*BgpNeighbor) PatchPath

func (*BgpNeighbor) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpNeighbor PATCH path Changes to parts of the object neighbor types

func (*BgpNeighbor) PostPath

func (*BgpNeighbor) PostPath() string

PostPath implements sophos.RestObject and returns the BgpNeighbor POST path Create a new bgp/neighbor object

func (*BgpNeighbor) PutPath

func (*BgpNeighbor) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpNeighbor PUT path Creates or updates the complete object neighbor

func (*BgpNeighbor) RefRequired

func (*BgpNeighbor) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpNeighbor) UsedByPath

func (*BgpNeighbor) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpRouteMap

type BgpRouteMap []interface{}

BgpRouteMap is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpRouteMap) DeletePath

func (*BgpRouteMap) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpRouteMap DELETE path Creates or updates the complete object route_map

func (*BgpRouteMap) GetPath

func (*BgpRouteMap) GetPath() string

GetPath implements sophos.RestObject and returns the BgpRouteMap GET path Returns all available bgp/route_map objects

func (*BgpRouteMap) PatchPath

func (*BgpRouteMap) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpRouteMap PATCH path Changes to parts of the object route_map types

func (*BgpRouteMap) PostPath

func (*BgpRouteMap) PostPath() string

PostPath implements sophos.RestObject and returns the BgpRouteMap POST path Create a new bgp/route_map object

func (*BgpRouteMap) PutPath

func (*BgpRouteMap) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpRouteMap PUT path Creates or updates the complete object route_map

func (*BgpRouteMap) RefRequired

func (*BgpRouteMap) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpRouteMap) UsedByPath

func (*BgpRouteMap) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type BgpSystem

type BgpSystem []interface{}

BgpSystem is an Sophos Endpoint subType and implements sophos.RestObject

func (*BgpSystem) DeletePath

func (*BgpSystem) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the BgpSystem DELETE path Creates or updates the complete object system

func (*BgpSystem) GetPath

func (*BgpSystem) GetPath() string

GetPath implements sophos.RestObject and returns the BgpSystem GET path Returns all available bgp/system objects

func (*BgpSystem) PatchPath

func (*BgpSystem) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the BgpSystem PATCH path Changes to parts of the object system types

func (*BgpSystem) PostPath

func (*BgpSystem) PostPath() string

PostPath implements sophos.RestObject and returns the BgpSystem POST path Create a new bgp/system object

func (*BgpSystem) PutPath

func (*BgpSystem) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the BgpSystem PUT path Creates or updates the complete object system

func (*BgpSystem) RefRequired

func (*BgpSystem) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*BgpSystem) UsedByPath

func (*BgpSystem) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Ca

type Ca struct {
	CaGost     string `json:"ca_gost"`
	CaIpsec    string `json:"ca_ipsec"`
	CaProxies  string `json:"ca_proxies"`
	CaRed      string `json:"ca_red"`
	DefKeysize int64  `json:"def_keysize"`
	GlobalCas  struct {
		EmailEncryption struct {
			TrustNewCas int64         `json:"trust_new_cas"`
			Trusted     []interface{} `json:"trusted"`
			Untrusted   []interface{} `json:"untrusted"`
		} `json:"email_encryption"`
		HTTPProxy struct {
			TrustNewCas int64         `json:"trust_new_cas"`
			Trusted     []interface{} `json:"trusted"`
			Untrusted   []interface{} `json:"untrusted"`
		} `json:"http_proxy"`
	} `json:"global_cas"`
}

Ca is a generated struct representing the Sophos Ca Endpoint GET /api/nodes/ca

func (Ca) ApiRoutes

func (Ca) ApiRoutes() []string

ApiRoutes returns all known Ca Paths

func (Ca) Definition

func (Ca) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ca

func (*Ca) GetPath

func (*Ca) GetPath() string

GetPath implements sophos.RestGetter

func (*Ca) RefRequired

func (*Ca) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ca) References

func (Ca) References() []string

References returns the Ca's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ca) RestObjects

func (Ca) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ca's Objects

type CaCrl

type CaCrl []interface{}

CaCrl is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaCrl) DeletePath

func (*CaCrl) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaCrl DELETE path Creates or updates the complete object crl

func (*CaCrl) GetPath

func (*CaCrl) GetPath() string

GetPath implements sophos.RestObject and returns the CaCrl GET path Returns all available ca/crl objects

func (*CaCrl) PatchPath

func (*CaCrl) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaCrl PATCH path Changes to parts of the object crl types

func (*CaCrl) PostPath

func (*CaCrl) PostPath() string

PostPath implements sophos.RestObject and returns the CaCrl POST path Create a new ca/crl object

func (*CaCrl) PutPath

func (*CaCrl) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaCrl PUT path Creates or updates the complete object crl

func (*CaCrl) RefRequired

func (*CaCrl) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaCrl) UsedByPath

func (*CaCrl) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaGroup

type CaGroup []interface{}

CaGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaGroup) DeletePath

func (*CaGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaGroup DELETE path Creates or updates the complete object group

func (*CaGroup) GetPath

func (*CaGroup) GetPath() string

GetPath implements sophos.RestObject and returns the CaGroup GET path Returns all available ca/group objects

func (*CaGroup) PatchPath

func (*CaGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaGroup PATCH path Changes to parts of the object group types

func (*CaGroup) PostPath

func (*CaGroup) PostPath() string

PostPath implements sophos.RestObject and returns the CaGroup POST path Create a new ca/group object

func (*CaGroup) PutPath

func (*CaGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaGroup PUT path Creates or updates the complete object group

func (*CaGroup) RefRequired

func (*CaGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaGroup) UsedByPath

func (*CaGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaHostCert

type CaHostCert struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Meta        string `json:"meta"`
	Name        string `json:"name"`
	// contains filtered or unexported fields
}

CaHostCert is a generated Sophos object

func (*CaHostCert) DeletePath

func (*CaHostCert) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaHostCert DELETE path Creates or updates the complete object host_cert

func (*CaHostCert) GetPath

func (c *CaHostCert) GetPath() string

GetPath implements sophos.RestObject and returns the CaHostCerts GET path Returns all available host_cert types

func (*CaHostCert) GetType

func (c *CaHostCert) GetType() string

GetType implements sophos.Object

func (*CaHostCert) PatchPath

func (*CaHostCert) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaHostCert PATCH path Changes to parts of the object host_cert types

func (*CaHostCert) PostPath

func (*CaHostCert) PostPath() string

PostPath implements sophos.RestObject and returns the CaHostCert POST path Create a new ca/host_cert object

func (*CaHostCert) PutPath

func (*CaHostCert) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaHostCert PUT path Creates or updates the complete object host_cert

func (*CaHostCert) RefRequired

func (c *CaHostCert) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaHostCert) UsedByPath

func (*CaHostCert) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaHostCerts

type CaHostCerts []CaHostCert

CaHostCerts is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaHostCerts) GetPath

func (*CaHostCerts) GetPath() string

GetPath implements sophos.RestObject and returns the CaHostCerts GET path Returns all available ca/host_cert objects

func (*CaHostCerts) RefRequired

func (*CaHostCerts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaHostKeyCert

type CaHostKeyCert struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Ca          string `json:"ca"`
	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Encrypted   bool   `json:"encrypted"`
	Key         string `json:"key"`
	Meta        string `json:"meta"`
	Name        string `json:"name"`
	// contains filtered or unexported fields
}

CaHostKeyCert is a generated Sophos object

func (*CaHostKeyCert) DeletePath

func (*CaHostKeyCert) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaHostKeyCert DELETE path Creates or updates the complete object host_key_cert

func (*CaHostKeyCert) GetPath

func (c *CaHostKeyCert) GetPath() string

GetPath implements sophos.RestObject and returns the CaHostKeyCerts GET path Returns all available host_key_cert types

func (*CaHostKeyCert) GetType

func (c *CaHostKeyCert) GetType() string

GetType implements sophos.Object

func (*CaHostKeyCert) PatchPath

func (*CaHostKeyCert) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaHostKeyCert PATCH path Changes to parts of the object host_key_cert types

func (*CaHostKeyCert) PostPath

func (*CaHostKeyCert) PostPath() string

PostPath implements sophos.RestObject and returns the CaHostKeyCert POST path Create a new ca/host_key_cert object

func (*CaHostKeyCert) PutPath

func (*CaHostKeyCert) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaHostKeyCert PUT path Creates or updates the complete object host_key_cert

func (*CaHostKeyCert) RefRequired

func (c *CaHostKeyCert) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaHostKeyCert) UsedByPath

func (*CaHostKeyCert) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaHostKeyCerts

type CaHostKeyCerts []CaHostKeyCert

CaHostKeyCerts is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaHostKeyCerts) GetPath

func (*CaHostKeyCerts) GetPath() string

GetPath implements sophos.RestObject and returns the CaHostKeyCerts GET path Returns all available ca/host_key_cert objects

func (*CaHostKeyCerts) RefRequired

func (*CaHostKeyCerts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaHttpVerificationCa

type CaHttpVerificationCa []interface{}

CaHttpVerificationCa is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaHttpVerificationCa) DeletePath

func (*CaHttpVerificationCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaHttpVerificationCa DELETE path Creates or updates the complete object http_verification_ca

func (*CaHttpVerificationCa) GetPath

func (*CaHttpVerificationCa) GetPath() string

GetPath implements sophos.RestObject and returns the CaHttpVerificationCa GET path Returns all available ca/http_verification_ca objects

func (*CaHttpVerificationCa) PatchPath

func (*CaHttpVerificationCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaHttpVerificationCa PATCH path Changes to parts of the object http_verification_ca types

func (*CaHttpVerificationCa) PostPath

func (*CaHttpVerificationCa) PostPath() string

PostPath implements sophos.RestObject and returns the CaHttpVerificationCa POST path Create a new ca/http_verification_ca object

func (*CaHttpVerificationCa) PutPath

func (*CaHttpVerificationCa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaHttpVerificationCa PUT path Creates or updates the complete object http_verification_ca

func (*CaHttpVerificationCa) RefRequired

func (*CaHttpVerificationCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaHttpVerificationCa) UsedByPath

func (*CaHttpVerificationCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaMetaCrl

type CaMetaCrl []interface{}

CaMetaCrl is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaMetaCrl) DeletePath

func (*CaMetaCrl) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaMetaCrl DELETE path Creates or updates the complete object meta_crl

func (*CaMetaCrl) GetPath

func (*CaMetaCrl) GetPath() string

GetPath implements sophos.RestObject and returns the CaMetaCrl GET path Returns all available ca/meta_crl objects

func (*CaMetaCrl) PatchPath

func (*CaMetaCrl) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaMetaCrl PATCH path Changes to parts of the object meta_crl types

func (*CaMetaCrl) PostPath

func (*CaMetaCrl) PostPath() string

PostPath implements sophos.RestObject and returns the CaMetaCrl POST path Create a new ca/meta_crl object

func (*CaMetaCrl) PutPath

func (*CaMetaCrl) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaMetaCrl PUT path Creates or updates the complete object meta_crl

func (*CaMetaCrl) RefRequired

func (*CaMetaCrl) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaMetaCrl) UsedByPath

func (*CaMetaCrl) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaMetaX509

type CaMetaX509 struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment            string   `json:"comment"`
	Enddate            string   `json:"enddate"`
	Fingerprint        string   `json:"fingerprint"`
	Issuer             string   `json:"issuer"`
	IssuerHash         string   `json:"issuer_hash"`
	Name               string   `json:"name"`
	PublicKeyAlgorithm string   `json:"public_key_algorithm"`
	Serial             string   `json:"serial"`
	Startdate          string   `json:"startdate"`
	Subject            string   `json:"subject"`
	SubjectAltNames    []string `json:"subject_alt_names"`
	SubjectHash        string   `json:"subject_hash"`
	VpnID              string   `json:"vpn_id"`
	VpnIDType          string   `json:"vpn_id_type"`
	// contains filtered or unexported fields
}

CaMetaX509 is a generated Sophos object

func (*CaMetaX509) DeletePath

func (*CaMetaX509) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaMetaX509 DELETE path Creates or updates the complete object meta_x509

func (*CaMetaX509) GetPath

func (c *CaMetaX509) GetPath() string

GetPath implements sophos.RestObject and returns the CaMetaX509s GET path Returns all available meta_x509 types

func (*CaMetaX509) GetType

func (c *CaMetaX509) GetType() string

GetType implements sophos.Object

func (*CaMetaX509) PatchPath

func (*CaMetaX509) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaMetaX509 PATCH path Changes to parts of the object meta_x509 types

func (*CaMetaX509) PostPath

func (*CaMetaX509) PostPath() string

PostPath implements sophos.RestObject and returns the CaMetaX509 POST path Create a new ca/meta_x509 object

func (*CaMetaX509) PutPath

func (*CaMetaX509) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaMetaX509 PUT path Creates or updates the complete object meta_x509

func (*CaMetaX509) RefRequired

func (c *CaMetaX509) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaMetaX509) UsedByPath

func (*CaMetaX509) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaMetaX509s

type CaMetaX509s []CaMetaX509

CaMetaX509s is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaMetaX509s) GetPath

func (*CaMetaX509s) GetPath() string

GetPath implements sophos.RestObject and returns the CaMetaX509s GET path Returns all available ca/meta_x509 objects

func (*CaMetaX509s) RefRequired

func (*CaMetaX509s) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaRsa

type CaRsa struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment   string `json:"comment"`
	Key       string `json:"key"`
	KeySize   int64  `json:"key_size"`
	Name      string `json:"name"`
	Pubkey    string `json:"pubkey"`
	VpnID     string `json:"vpn_id"`
	VpnIDType string `json:"vpn_id_type"`
	// contains filtered or unexported fields
}

CaRsa is a generated Sophos object

func (*CaRsa) DeletePath

func (*CaRsa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaRsa DELETE path Creates or updates the complete object rsa

func (*CaRsa) GetPath

func (c *CaRsa) GetPath() string

GetPath implements sophos.RestObject and returns the CaRsas GET path Returns all available rsa types

func (*CaRsa) GetType

func (c *CaRsa) GetType() string

GetType implements sophos.Object

func (*CaRsa) PatchPath

func (*CaRsa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaRsa PATCH path Changes to parts of the object rsa types

func (*CaRsa) PostPath

func (*CaRsa) PostPath() string

PostPath implements sophos.RestObject and returns the CaRsa POST path Create a new ca/rsa object

func (*CaRsa) PutPath

func (*CaRsa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaRsa PUT path Creates or updates the complete object rsa

func (*CaRsa) RefRequired

func (c *CaRsa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaRsa) UsedByPath

func (*CaRsa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaRsas

type CaRsas []CaRsa

CaRsas is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaRsas) GetPath

func (*CaRsas) GetPath() string

GetPath implements sophos.RestObject and returns the CaRsas GET path Returns all available ca/rsa objects

func (*CaRsas) RefRequired

func (*CaRsas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaSigningCa

type CaSigningCa struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Config      string `json:"config"`
	Encrypted   bool   `json:"encrypted"`
	Index       string `json:"index"`
	Key         string `json:"key"`
	Meta        string `json:"meta"`
	Name        string `json:"name"`
	Serial      string `json:"serial"`
	// contains filtered or unexported fields
}

CaSigningCa is a generated Sophos object

func (*CaSigningCa) DeletePath

func (*CaSigningCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaSigningCa DELETE path Creates or updates the complete object signing_ca

func (*CaSigningCa) GetPath

func (c *CaSigningCa) GetPath() string

GetPath implements sophos.RestObject and returns the CaSigningCas GET path Returns all available signing_ca types

func (*CaSigningCa) GetType

func (c *CaSigningCa) GetType() string

GetType implements sophos.Object

func (*CaSigningCa) PatchPath

func (*CaSigningCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaSigningCa PATCH path Changes to parts of the object signing_ca types

func (*CaSigningCa) PostPath

func (*CaSigningCa) PostPath() string

PostPath implements sophos.RestObject and returns the CaSigningCa POST path Create a new ca/signing_ca object

func (*CaSigningCa) PutPath

func (*CaSigningCa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaSigningCa PUT path Creates or updates the complete object signing_ca

func (*CaSigningCa) RefRequired

func (c *CaSigningCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaSigningCa) UsedByPath

func (*CaSigningCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CaSigningCas

type CaSigningCas []CaSigningCa

CaSigningCas is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaSigningCas) GetPath

func (*CaSigningCas) GetPath() string

GetPath implements sophos.RestObject and returns the CaSigningCas GET path Returns all available ca/signing_ca objects

func (*CaSigningCas) RefRequired

func (*CaSigningCas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type CaVerificationCa

type CaVerificationCa []interface{}

CaVerificationCa is an Sophos Endpoint subType and implements sophos.RestObject

func (*CaVerificationCa) DeletePath

func (*CaVerificationCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CaVerificationCa DELETE path Creates or updates the complete object verification_ca

func (*CaVerificationCa) GetPath

func (*CaVerificationCa) GetPath() string

GetPath implements sophos.RestObject and returns the CaVerificationCa GET path Returns all available ca/verification_ca objects

func (*CaVerificationCa) PatchPath

func (*CaVerificationCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CaVerificationCa PATCH path Changes to parts of the object verification_ca types

func (*CaVerificationCa) PostPath

func (*CaVerificationCa) PostPath() string

PostPath implements sophos.RestObject and returns the CaVerificationCa POST path Create a new ca/verification_ca object

func (*CaVerificationCa) PutPath

func (*CaVerificationCa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CaVerificationCa PUT path Creates or updates the complete object verification_ca

func (*CaVerificationCa) RefRequired

func (*CaVerificationCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CaVerificationCa) UsedByPath

func (*CaVerificationCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ClientlessVpn

type ClientlessVpn struct {
	ClientlessVpnConnection ClientlessVpnConnection `json:"clientless_vpn_connection"`
	ClientlessVpnGroup      ClientlessVpnGroup      `json:"clientless_vpn_group"`
}

ClientlessVpn is a generated struct representing the Sophos ClientlessVpn Endpoint GET /api/nodes/clientless_vpn

func (ClientlessVpn) ApiRoutes

func (ClientlessVpn) ApiRoutes() []string

ApiRoutes returns all known ClientlessVpn Paths

func (ClientlessVpn) Definition

func (ClientlessVpn) Definition() sophos.Definition

Definition returns the /api/definitions struct of ClientlessVpn

func (*ClientlessVpn) GetPath

func (*ClientlessVpn) GetPath() string

GetPath implements sophos.RestGetter

func (*ClientlessVpn) RefRequired

func (*ClientlessVpn) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (ClientlessVpn) References

func (ClientlessVpn) References() []string

References returns the ClientlessVpn's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (ClientlessVpn) RestObjects

func (ClientlessVpn) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of ClientlessVpn's Objects

type ClientlessVpnConnection

type ClientlessVpnConnection struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AllowedUsers  []string      `json:"allowed_users"`
	AutoLogin     bool          `json:"auto_login"`
	Comment       string        `json:"comment"`
	Destination   string        `json:"destination"`
	HostKeyCert   string        `json:"host_key_cert"`
	Login         string        `json:"login"`
	Name          string        `json:"name"`
	Password      string        `json:"password"`
	PfExceptions  []interface{} `json:"pf_exceptions"`
	Port          int64         `json:"port"`
	PrivateKey    string        `json:"private_key"`
	RdpSecurity   string        `json:"rdp_security"`
	RecordSession bool          `json:"record_session"`
	Service       string        `json:"service"`
	ShareSession  bool          `json:"share_session"`
	Status        bool          `json:"status"`
	UID           int64         `json:"uid"`
	WebPath       string        `json:"web_path"`
	// contains filtered or unexported fields
}

ClientlessVpnConnection is a generated Sophos object

func (*ClientlessVpnConnection) DeletePath

func (*ClientlessVpnConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ClientlessVpnConnection DELETE path Creates or updates the complete object connection

func (*ClientlessVpnConnection) GetPath

func (c *ClientlessVpnConnection) GetPath() string

GetPath implements sophos.RestObject and returns the ClientlessVpnConnections GET path Returns all available connection types

func (*ClientlessVpnConnection) GetType

func (c *ClientlessVpnConnection) GetType() string

GetType implements sophos.Object

func (*ClientlessVpnConnection) PatchPath

func (*ClientlessVpnConnection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ClientlessVpnConnection PATCH path Changes to parts of the object connection types

func (*ClientlessVpnConnection) PostPath

func (*ClientlessVpnConnection) PostPath() string

PostPath implements sophos.RestObject and returns the ClientlessVpnConnection POST path Create a new clientless_vpn/connection object

func (*ClientlessVpnConnection) PutPath

func (*ClientlessVpnConnection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ClientlessVpnConnection PUT path Creates or updates the complete object connection

func (*ClientlessVpnConnection) RefRequired

func (c *ClientlessVpnConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ClientlessVpnConnection) UsedByPath

func (*ClientlessVpnConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ClientlessVpnConnections

type ClientlessVpnConnections []ClientlessVpnConnection

ClientlessVpnConnections is an Sophos Endpoint subType and implements sophos.RestObject

func (*ClientlessVpnConnections) GetPath

func (*ClientlessVpnConnections) GetPath() string

GetPath implements sophos.RestObject and returns the ClientlessVpnConnections GET path Returns all available clientless_vpn/connection objects

func (*ClientlessVpnConnections) RefRequired

func (*ClientlessVpnConnections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ClientlessVpnGroup

type ClientlessVpnGroup []interface{}

ClientlessVpnGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*ClientlessVpnGroup) DeletePath

func (*ClientlessVpnGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ClientlessVpnGroup DELETE path Creates or updates the complete object group

func (*ClientlessVpnGroup) GetPath

func (*ClientlessVpnGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ClientlessVpnGroup GET path Returns all available clientless_vpn/group objects

func (*ClientlessVpnGroup) PatchPath

func (*ClientlessVpnGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ClientlessVpnGroup PATCH path Changes to parts of the object group types

func (*ClientlessVpnGroup) PostPath

func (*ClientlessVpnGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ClientlessVpnGroup POST path Create a new clientless_vpn/group object

func (*ClientlessVpnGroup) PutPath

func (*ClientlessVpnGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ClientlessVpnGroup PUT path Creates or updates the complete object group

func (*ClientlessVpnGroup) RefRequired

func (*ClientlessVpnGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ClientlessVpnGroup) UsedByPath

func (*ClientlessVpnGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Condition

type Condition struct {
	ConditionGroup  ConditionGroup  `json:"condition_group"`
	ConditionObjref ConditionObjref `json:"condition_objref"`
}

Condition is a generated struct representing the Sophos Condition Endpoint GET /api/nodes/condition

func (Condition) ApiRoutes

func (Condition) ApiRoutes() []string

ApiRoutes returns all known Condition Paths

func (Condition) Definition

func (Condition) Definition() sophos.Definition

Definition returns the /api/definitions struct of Condition

func (*Condition) GetPath

func (*Condition) GetPath() string

GetPath implements sophos.RestGetter

func (*Condition) RefRequired

func (*Condition) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Condition) References

func (Condition) References() []string

References returns the Condition's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Condition) RestObjects

func (Condition) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Condition's Objects

type ConditionGroup

type ConditionGroup []interface{}

ConditionGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*ConditionGroup) DeletePath

func (*ConditionGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ConditionGroup DELETE path Creates or updates the complete object group

func (*ConditionGroup) GetPath

func (*ConditionGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ConditionGroup GET path Returns all available condition/group objects

func (*ConditionGroup) PatchPath

func (*ConditionGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ConditionGroup PATCH path Changes to parts of the object group types

func (*ConditionGroup) PostPath

func (*ConditionGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ConditionGroup POST path Create a new condition/group object

func (*ConditionGroup) PutPath

func (*ConditionGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ConditionGroup PUT path Creates or updates the complete object group

func (*ConditionGroup) RefRequired

func (*ConditionGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ConditionGroup) UsedByPath

func (*ConditionGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ConditionObjref

type ConditionObjref struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Attr     string `json:"attr"`
	Comment  string `json:"comment"`
	Name     string `json:"name"`
	Operator string `json:"operator"`
	Ref      string `json:"ref"`
	Value    string `json:"value"`
	// contains filtered or unexported fields
}

ConditionObjref is a generated Sophos object

func (*ConditionObjref) DeletePath

func (*ConditionObjref) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ConditionObjref DELETE path Creates or updates the complete object objref

func (*ConditionObjref) GetPath

func (c *ConditionObjref) GetPath() string

GetPath implements sophos.RestObject and returns the ConditionObjrefs GET path Returns all available objref types

func (*ConditionObjref) GetType

func (c *ConditionObjref) GetType() string

GetType implements sophos.Object

func (*ConditionObjref) PatchPath

func (*ConditionObjref) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ConditionObjref PATCH path Changes to parts of the object objref types

func (*ConditionObjref) PostPath

func (*ConditionObjref) PostPath() string

PostPath implements sophos.RestObject and returns the ConditionObjref POST path Create a new condition/objref object

func (*ConditionObjref) PutPath

func (*ConditionObjref) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ConditionObjref PUT path Creates or updates the complete object objref

func (*ConditionObjref) RefRequired

func (c *ConditionObjref) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ConditionObjref) UsedByPath

func (*ConditionObjref) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ConditionObjrefs

type ConditionObjrefs []ConditionObjref

ConditionObjrefs is an Sophos Endpoint subType and implements sophos.RestObject

func (*ConditionObjrefs) GetPath

func (*ConditionObjrefs) GetPath() string

GetPath implements sophos.RestObject and returns the ConditionObjrefs GET path Returns all available condition/objref objects

func (*ConditionObjrefs) RefRequired

func (*ConditionObjrefs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Cron

type Cron struct {
	CronAt    CronAt    `json:"cron_at"`
	CronGroup CronGroup `json:"cron_group"`
}

Cron is a generated struct representing the Sophos Cron Endpoint GET /api/nodes/cron

func (Cron) ApiRoutes

func (Cron) ApiRoutes() []string

ApiRoutes returns all known Cron Paths

func (Cron) Definition

func (Cron) Definition() sophos.Definition

Definition returns the /api/definitions struct of Cron

func (*Cron) GetPath

func (*Cron) GetPath() string

GetPath implements sophos.RestGetter

func (*Cron) RefRequired

func (*Cron) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Cron) References

func (Cron) References() []string

References returns the Cron's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Cron) RestObjects

func (Cron) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Cron's Objects

type CronAt

type CronAt []interface{}

CronAt is an Sophos Endpoint subType and implements sophos.RestObject

func (*CronAt) DeletePath

func (*CronAt) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CronAt DELETE path Creates or updates the complete object at

func (*CronAt) GetPath

func (*CronAt) GetPath() string

GetPath implements sophos.RestObject and returns the CronAt GET path Returns all available cron/at objects

func (*CronAt) PatchPath

func (*CronAt) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CronAt PATCH path Changes to parts of the object at types

func (*CronAt) PostPath

func (*CronAt) PostPath() string

PostPath implements sophos.RestObject and returns the CronAt POST path Create a new cron/at object

func (*CronAt) PutPath

func (*CronAt) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CronAt PUT path Creates or updates the complete object at

func (*CronAt) RefRequired

func (*CronAt) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CronAt) UsedByPath

func (*CronAt) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type CronGroup

type CronGroup []interface{}

CronGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*CronGroup) DeletePath

func (*CronGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the CronGroup DELETE path Creates or updates the complete object group

func (*CronGroup) GetPath

func (*CronGroup) GetPath() string

GetPath implements sophos.RestObject and returns the CronGroup GET path Returns all available cron/group objects

func (*CronGroup) PatchPath

func (*CronGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the CronGroup PATCH path Changes to parts of the object group types

func (*CronGroup) PostPath

func (*CronGroup) PostPath() string

PostPath implements sophos.RestObject and returns the CronGroup POST path Create a new cron/group object

func (*CronGroup) PutPath

func (*CronGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the CronGroup PUT path Creates or updates the complete object group

func (*CronGroup) RefRequired

func (*CronGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*CronGroup) UsedByPath

func (*CronGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Dhcp

type Dhcp struct {
	Relay struct {
		DhcpServer string        `json:"dhcp_server"`
		Interfaces []interface{} `json:"interfaces"`
		Status     int64         `json:"status"`
	} `json:"relay"`
	Relay6 struct {
		ItfsFacingClients []interface{} `json:"itfs_facing_clients"`
		ItfsFacingServer6 []interface{} `json:"itfs_facing_server6"`
		Status            int64         `json:"status"`
	} `json:"relay6"`
	Server struct {
		Custom4 string   `json:"custom4"`
		Custom6 string   `json:"custom6"`
		Servers []string `json:"servers"`
	} `json:"server"`
}

Dhcp is a generated struct representing the Sophos Dhcp Endpoint GET /api/nodes/dhcp

func (Dhcp) ApiRoutes

func (Dhcp) ApiRoutes() []string

ApiRoutes returns all known Dhcp Paths

func (Dhcp) Definition

func (Dhcp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Dhcp

func (*Dhcp) GetPath

func (*Dhcp) GetPath() string

GetPath implements sophos.RestGetter

func (*Dhcp) RefRequired

func (*Dhcp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Dhcp) References

func (Dhcp) References() []string

References returns the Dhcp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Dhcp) RestObjects

func (Dhcp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Dhcp's Objects

type DhcpGroup

type DhcpGroup []interface{}

DhcpGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpGroup) DeletePath

func (*DhcpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpGroup DELETE path Creates or updates the complete object group

func (*DhcpGroup) GetPath

func (*DhcpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpGroup GET path Returns all available dhcp/group objects

func (*DhcpGroup) PatchPath

func (*DhcpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpGroup PATCH path Changes to parts of the object group types

func (*DhcpGroup) PostPath

func (*DhcpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpGroup POST path Create a new dhcp/group object

func (*DhcpGroup) PutPath

func (*DhcpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpGroup PUT path Creates or updates the complete object group

func (*DhcpGroup) RefRequired

func (*DhcpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpGroup) UsedByPath

func (*DhcpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpOption

type DhcpOption struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address  string        `json:"address"`
	Code     int64         `json:"code"`
	Comment  string        `json:"comment"`
	DhcpName string        `json:"dhcp_name"`
	Host     []interface{} `json:"host"`
	Integer  int64         `json:"integer"`
	Mac      string        `json:"mac"`
	Name     string        `json:"name"`
	Scope    string        `json:"scope"`
	Server   []interface{} `json:"server"`
	Status   bool          `json:"status"`
	String   string        `json:"string"`
	Text     string        `json:"text"`
	Type     string        `json:"type"`
	Vendor   string        `json:"vendor"`
	// contains filtered or unexported fields
}

DhcpOption is a generated Sophos object

func (*DhcpOption) DeletePath

func (*DhcpOption) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpOption DELETE path Creates or updates the complete object option

func (*DhcpOption) GetPath

func (d *DhcpOption) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpOptions GET path Returns all available option types

func (*DhcpOption) GetType

func (d *DhcpOption) GetType() string

GetType implements sophos.Object

func (*DhcpOption) PatchPath

func (*DhcpOption) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpOption PATCH path Changes to parts of the object option types

func (*DhcpOption) PostPath

func (*DhcpOption) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpOption POST path Create a new dhcp/option object

func (*DhcpOption) PutPath

func (*DhcpOption) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpOption PUT path Creates or updates the complete object option

func (*DhcpOption) RefRequired

func (d *DhcpOption) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpOption) UsedByPath

func (*DhcpOption) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpOption6

type DhcpOption6 []interface{}

DhcpOption6 is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpOption6) DeletePath

func (*DhcpOption6) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpOption6 DELETE path Creates or updates the complete object option6

func (*DhcpOption6) GetPath

func (*DhcpOption6) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpOption6 GET path Returns all available dhcp/option6 objects

func (*DhcpOption6) PatchPath

func (*DhcpOption6) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpOption6 PATCH path Changes to parts of the object option6 types

func (*DhcpOption6) PostPath

func (*DhcpOption6) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpOption6 POST path Create a new dhcp/option6 object

func (*DhcpOption6) PutPath

func (*DhcpOption6) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpOption6 PUT path Creates or updates the complete object option6

func (*DhcpOption6) RefRequired

func (*DhcpOption6) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpOption6) UsedByPath

func (*DhcpOption6) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpOptions

type DhcpOptions []DhcpOption

DhcpOptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpOptions) GetPath

func (*DhcpOptions) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpOptions GET path Returns all available dhcp/option objects

func (*DhcpOptions) RefRequired

func (*DhcpOptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DhcpServer

type DhcpServer struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address         string   `json:"address"`
	Comment         string   `json:"comment"`
	Custom          string   `json:"custom"`
	DefaultGateway  string   `json:"default_gateway"`
	DenyUnknown     bool     `json:"deny_unknown"`
	DNS1            string   `json:"dns1"`
	DNS2            string   `json:"dns2"`
	Domain          string   `json:"domain"`
	Interface       string   `json:"interface"`
	LeaseTime       int64    `json:"lease_time"`
	Mappings        []string `json:"mappings"`
	Name            string   `json:"name"`
	Netmask         int64    `json:"netmask"`
	ProxyAutoconfig bool     `json:"proxy_autoconfig"`
	RangeEnd        string   `json:"range_end"`
	RangeStart      string   `json:"range_start"`
	RelayMode       bool     `json:"relay_mode"`
	Status          bool     `json:"status"`
	Wins            string   `json:"wins"`
	WinsNodeType    string   `json:"wins_node_type"`
	// contains filtered or unexported fields
}

DhcpServer is a generated Sophos object

func (*DhcpServer) DeletePath

func (*DhcpServer) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpServer DELETE path Creates or updates the complete object server

func (*DhcpServer) GetPath

func (d *DhcpServer) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpServers GET path Returns all available server types

func (*DhcpServer) GetType

func (d *DhcpServer) GetType() string

GetType implements sophos.Object

func (*DhcpServer) PatchPath

func (*DhcpServer) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpServer PATCH path Changes to parts of the object server types

func (*DhcpServer) PostPath

func (*DhcpServer) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpServer POST path Create a new dhcp/server object

func (*DhcpServer) PutPath

func (*DhcpServer) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpServer PUT path Creates or updates the complete object server

func (*DhcpServer) RefRequired

func (d *DhcpServer) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpServer) UsedByPath

func (*DhcpServer) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpServer6

type DhcpServer6 []interface{}

DhcpServer6 is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpServer6) DeletePath

func (*DhcpServer6) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpServer6 DELETE path Creates or updates the complete object server6

func (*DhcpServer6) GetPath

func (*DhcpServer6) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpServer6 GET path Returns all available dhcp/server6 objects

func (*DhcpServer6) PatchPath

func (*DhcpServer6) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpServer6 PATCH path Changes to parts of the object server6 types

func (*DhcpServer6) PostPath

func (*DhcpServer6) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpServer6 POST path Create a new dhcp/server6 object

func (*DhcpServer6) PutPath

func (*DhcpServer6) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpServer6 PUT path Creates or updates the complete object server6

func (*DhcpServer6) RefRequired

func (*DhcpServer6) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpServer6) UsedByPath

func (*DhcpServer6) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DhcpServers

type DhcpServers []DhcpServer

DhcpServers is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpServers) GetPath

func (*DhcpServers) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpServers GET path Returns all available dhcp/server objects

func (*DhcpServers) RefRequired

func (*DhcpServers) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type DhcpStateless

type DhcpStateless []interface{}

DhcpStateless is an Sophos Endpoint subType and implements sophos.RestObject

func (*DhcpStateless) DeletePath

func (*DhcpStateless) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DhcpStateless DELETE path Creates or updates the complete object stateless

func (*DhcpStateless) GetPath

func (*DhcpStateless) GetPath() string

GetPath implements sophos.RestObject and returns the DhcpStateless GET path Returns all available dhcp/stateless objects

func (*DhcpStateless) PatchPath

func (*DhcpStateless) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DhcpStateless PATCH path Changes to parts of the object stateless types

func (*DhcpStateless) PostPath

func (*DhcpStateless) PostPath() string

PostPath implements sophos.RestObject and returns the DhcpStateless POST path Create a new dhcp/stateless object

func (*DhcpStateless) PutPath

func (*DhcpStateless) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DhcpStateless PUT path Creates or updates the complete object stateless

func (*DhcpStateless) RefRequired

func (*DhcpStateless) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DhcpStateless) UsedByPath

func (*DhcpStateless) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Dns

type Dns struct {
	AllowedNetworks []string      `json:"allowed_networks"`
	Axfr            []interface{} `json:"axfr"`
	Dnssec          int64         `json:"dnssec"`
	Email           string        `json:"email"`
	EmptyZones      string        `json:"empty_zones"`
	FwdDynamic      int64         `json:"fwd_dynamic"`
	FwdStatic       []string      `json:"fwd_static"`
	RecheckInterval int64         `json:"recheck_interval"`
	Routes          []string      `json:"routes"`
}

Dns is a generated struct representing the Sophos Dns Endpoint GET /api/nodes/dns

func (Dns) ApiRoutes

func (Dns) ApiRoutes() []string

ApiRoutes returns all known Dns Paths

func (Dns) Definition

func (Dns) Definition() sophos.Definition

Definition returns the /api/definitions struct of Dns

func (*Dns) GetPath

func (*Dns) GetPath() string

GetPath implements sophos.RestGetter

func (*Dns) RefRequired

func (*Dns) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Dns) References

func (Dns) References() []string

References returns the Dns's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Dns) RestObjects

func (Dns) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Dns's Objects

type DnsAxfr

type DnsAxfr []interface{}

DnsAxfr is an Sophos Endpoint subType and implements sophos.RestObject

func (*DnsAxfr) DeletePath

func (*DnsAxfr) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DnsAxfr DELETE path Creates or updates the complete object axfr

func (*DnsAxfr) GetPath

func (*DnsAxfr) GetPath() string

GetPath implements sophos.RestObject and returns the DnsAxfr GET path Returns all available dns/axfr objects

func (*DnsAxfr) PatchPath

func (*DnsAxfr) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DnsAxfr PATCH path Changes to parts of the object axfr types

func (*DnsAxfr) PostPath

func (*DnsAxfr) PostPath() string

PostPath implements sophos.RestObject and returns the DnsAxfr POST path Create a new dns/axfr object

func (*DnsAxfr) PutPath

func (*DnsAxfr) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DnsAxfr PUT path Creates or updates the complete object axfr

func (*DnsAxfr) RefRequired

func (*DnsAxfr) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DnsAxfr) UsedByPath

func (*DnsAxfr) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DnsGroup

type DnsGroup []interface{}

DnsGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*DnsGroup) DeletePath

func (*DnsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DnsGroup DELETE path Creates or updates the complete object group

func (*DnsGroup) GetPath

func (*DnsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the DnsGroup GET path Returns all available dns/group objects

func (*DnsGroup) PatchPath

func (*DnsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DnsGroup PATCH path Changes to parts of the object group types

func (*DnsGroup) PostPath

func (*DnsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the DnsGroup POST path Create a new dns/group object

func (*DnsGroup) PutPath

func (*DnsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DnsGroup PUT path Creates or updates the complete object group

func (*DnsGroup) RefRequired

func (*DnsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DnsGroup) UsedByPath

func (*DnsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DnsRoute

type DnsRoute struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string   `json:"comment"`
	Name    string   `json:"name"`
	Prefix  string   `json:"prefix"`
	Status  bool     `json:"status"`
	Targets []string `json:"targets"`
	// contains filtered or unexported fields
}

DnsRoute is a generated Sophos object

func (*DnsRoute) DeletePath

func (*DnsRoute) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DnsRoute DELETE path Creates or updates the complete object route

func (*DnsRoute) GetPath

func (d *DnsRoute) GetPath() string

GetPath implements sophos.RestObject and returns the DnsRoutes GET path Returns all available route types

func (*DnsRoute) GetType

func (d *DnsRoute) GetType() string

GetType implements sophos.Object

func (*DnsRoute) PatchPath

func (*DnsRoute) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DnsRoute PATCH path Changes to parts of the object route types

func (*DnsRoute) PostPath

func (*DnsRoute) PostPath() string

PostPath implements sophos.RestObject and returns the DnsRoute POST path Create a new dns/route object

func (*DnsRoute) PutPath

func (*DnsRoute) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DnsRoute PUT path Creates or updates the complete object route

func (*DnsRoute) RefRequired

func (d *DnsRoute) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DnsRoute) UsedByPath

func (*DnsRoute) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DnsRoutes

type DnsRoutes []DnsRoute

DnsRoutes is an Sophos Endpoint subType and implements sophos.RestObject

func (*DnsRoutes) GetPath

func (*DnsRoutes) GetPath() string

GetPath implements sophos.RestObject and returns the DnsRoutes GET path Returns all available dns/route objects

func (*DnsRoutes) RefRequired

func (*DnsRoutes) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Dyndns

type Dyndns struct {
	Rules []interface{} `json:"rules"`
}

Dyndns is a generated struct representing the Sophos Dyndns Endpoint GET /api/nodes/dyndns

func (Dyndns) ApiRoutes

func (Dyndns) ApiRoutes() []string

ApiRoutes returns all known Dyndns Paths

func (Dyndns) Definition

func (Dyndns) Definition() sophos.Definition

Definition returns the /api/definitions struct of Dyndns

func (*Dyndns) GetPath

func (*Dyndns) GetPath() string

GetPath implements sophos.RestGetter

func (*Dyndns) RefRequired

func (*Dyndns) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Dyndns) References

func (Dyndns) References() []string

References returns the Dyndns's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Dyndns) RestObjects

func (Dyndns) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Dyndns's Objects

type DyndnsDyndns

type DyndnsDyndns []interface{}

DyndnsDyndns is an Sophos Endpoint subType and implements sophos.RestObject

func (*DyndnsDyndns) DeletePath

func (*DyndnsDyndns) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DyndnsDyndns DELETE path Creates or updates the complete object dyndns

func (*DyndnsDyndns) GetPath

func (*DyndnsDyndns) GetPath() string

GetPath implements sophos.RestObject and returns the DyndnsDyndns GET path Returns all available dyndns/dyndns objects

func (*DyndnsDyndns) PatchPath

func (*DyndnsDyndns) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DyndnsDyndns PATCH path Changes to parts of the object dyndns types

func (*DyndnsDyndns) PostPath

func (*DyndnsDyndns) PostPath() string

PostPath implements sophos.RestObject and returns the DyndnsDyndns POST path Create a new dyndns/dyndns object

func (*DyndnsDyndns) PutPath

func (*DyndnsDyndns) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DyndnsDyndns PUT path Creates or updates the complete object dyndns

func (*DyndnsDyndns) RefRequired

func (*DyndnsDyndns) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DyndnsDyndns) UsedByPath

func (*DyndnsDyndns) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type DyndnsGroup

type DyndnsGroup []interface{}

DyndnsGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*DyndnsGroup) DeletePath

func (*DyndnsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the DyndnsGroup DELETE path Creates or updates the complete object group

func (*DyndnsGroup) GetPath

func (*DyndnsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the DyndnsGroup GET path Returns all available dyndns/group objects

func (*DyndnsGroup) PatchPath

func (*DyndnsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the DyndnsGroup PATCH path Changes to parts of the object group types

func (*DyndnsGroup) PostPath

func (*DyndnsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the DyndnsGroup POST path Create a new dyndns/group object

func (*DyndnsGroup) PutPath

func (*DyndnsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the DyndnsGroup PUT path Creates or updates the complete object group

func (*DyndnsGroup) RefRequired

func (*DyndnsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*DyndnsGroup) UsedByPath

func (*DyndnsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Emailpki

type Emailpki struct {
	Authority struct {
		Cert                  string `json:"cert"`
		Fingerprint           string `json:"fingerprint"`
		Key                   string `json:"key"`
		PostmasterFingerprint string `json:"postmaster_fingerprint"`
		PostmasterPrivkey     string `json:"postmaster_privkey"`
		PostmasterPubkey      string `json:"postmaster_pubkey"`
	} `json:"authority"`
	Global struct {
		City         string `json:"city"`
		Country      string `json:"country"`
		Organization string `json:"organization"`
		Postmaster   string `json:"postmaster"`
		Status       int64  `json:"status"`
	} `json:"global"`
	Objects struct {
		Cas     []string      `json:"cas"`
		Openpgp []interface{} `json:"openpgp"`
		Smime   []interface{} `json:"smime"`
		Users   []interface{} `json:"users"`
	} `json:"objects"`
	Openpgp struct {
		MainKeysize int64 `json:"main_keysize"`
		SubKeysize  int64 `json:"sub_keysize"`
	} `json:"openpgp"`
	Options struct {
		ExternalAuto     int64  `json:"external_auto"`
		Keyserver        string `json:"keyserver"`
		PolicyDecryption int64  `json:"policy_decryption"`
		PolicyEncryption int64  `json:"policy_encryption"`
		PolicySign       int64  `json:"policy_sign"`
		PolicyVerify     int64  `json:"policy_verify"`
	} `json:"options"`
}

Emailpki is a generated struct representing the Sophos Emailpki Endpoint GET /api/nodes/emailpki

func (Emailpki) ApiRoutes

func (Emailpki) ApiRoutes() []string

ApiRoutes returns all known Emailpki Paths

func (Emailpki) Definition

func (Emailpki) Definition() sophos.Definition

Definition returns the /api/definitions struct of Emailpki

func (*Emailpki) GetPath

func (*Emailpki) GetPath() string

GetPath implements sophos.RestGetter

func (*Emailpki) RefRequired

func (*Emailpki) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Emailpki) References

func (Emailpki) References() []string

References returns the Emailpki's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Emailpki) RestObjects

func (Emailpki) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Emailpki's Objects

type EmailpkiGroup

type EmailpkiGroup []interface{}

EmailpkiGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*EmailpkiGroup) DeletePath

func (*EmailpkiGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EmailpkiGroup DELETE path Creates or updates the complete object group

func (*EmailpkiGroup) GetPath

func (*EmailpkiGroup) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiGroup GET path Returns all available emailpki/group objects

func (*EmailpkiGroup) PatchPath

func (*EmailpkiGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EmailpkiGroup PATCH path Changes to parts of the object group types

func (*EmailpkiGroup) PostPath

func (*EmailpkiGroup) PostPath() string

PostPath implements sophos.RestObject and returns the EmailpkiGroup POST path Create a new emailpki/group object

func (*EmailpkiGroup) PutPath

func (*EmailpkiGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EmailpkiGroup PUT path Creates or updates the complete object group

func (*EmailpkiGroup) RefRequired

func (*EmailpkiGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EmailpkiGroup) UsedByPath

func (*EmailpkiGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EmailpkiOpenpgp

type EmailpkiOpenpgp []interface{}

EmailpkiOpenpgp is an Sophos Endpoint subType and implements sophos.RestObject

func (*EmailpkiOpenpgp) DeletePath

func (*EmailpkiOpenpgp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EmailpkiOpenpgp DELETE path Creates or updates the complete object openpgp

func (*EmailpkiOpenpgp) GetPath

func (*EmailpkiOpenpgp) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiOpenpgp GET path Returns all available emailpki/openpgp objects

func (*EmailpkiOpenpgp) PatchPath

func (*EmailpkiOpenpgp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EmailpkiOpenpgp PATCH path Changes to parts of the object openpgp types

func (*EmailpkiOpenpgp) PostPath

func (*EmailpkiOpenpgp) PostPath() string

PostPath implements sophos.RestObject and returns the EmailpkiOpenpgp POST path Create a new emailpki/openpgp object

func (*EmailpkiOpenpgp) PutPath

func (*EmailpkiOpenpgp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EmailpkiOpenpgp PUT path Creates or updates the complete object openpgp

func (*EmailpkiOpenpgp) RefRequired

func (*EmailpkiOpenpgp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EmailpkiOpenpgp) UsedByPath

func (*EmailpkiOpenpgp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EmailpkiSmime

type EmailpkiSmime []interface{}

EmailpkiSmime is an Sophos Endpoint subType and implements sophos.RestObject

func (*EmailpkiSmime) DeletePath

func (*EmailpkiSmime) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EmailpkiSmime DELETE path Creates or updates the complete object smime

func (*EmailpkiSmime) GetPath

func (*EmailpkiSmime) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiSmime GET path Returns all available emailpki/smime objects

func (*EmailpkiSmime) PatchPath

func (*EmailpkiSmime) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EmailpkiSmime PATCH path Changes to parts of the object smime types

func (*EmailpkiSmime) PostPath

func (*EmailpkiSmime) PostPath() string

PostPath implements sophos.RestObject and returns the EmailpkiSmime POST path Create a new emailpki/smime object

func (*EmailpkiSmime) PutPath

func (*EmailpkiSmime) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EmailpkiSmime PUT path Creates or updates the complete object smime

func (*EmailpkiSmime) RefRequired

func (*EmailpkiSmime) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EmailpkiSmime) UsedByPath

func (*EmailpkiSmime) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EmailpkiUser

type EmailpkiUser []interface{}

EmailpkiUser is an Sophos Endpoint subType and implements sophos.RestObject

func (*EmailpkiUser) DeletePath

func (*EmailpkiUser) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EmailpkiUser DELETE path Creates or updates the complete object user

func (*EmailpkiUser) GetPath

func (*EmailpkiUser) GetPath() string

GetPath implements sophos.RestObject and returns the EmailpkiUser GET path Returns all available emailpki/user objects

func (*EmailpkiUser) PatchPath

func (*EmailpkiUser) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EmailpkiUser PATCH path Changes to parts of the object user types

func (*EmailpkiUser) PostPath

func (*EmailpkiUser) PostPath() string

PostPath implements sophos.RestObject and returns the EmailpkiUser POST path Create a new emailpki/user object

func (*EmailpkiUser) PutPath

func (*EmailpkiUser) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EmailpkiUser PUT path Creates or updates the complete object user

func (*EmailpkiUser) RefRequired

func (*EmailpkiUser) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EmailpkiUser) UsedByPath

func (*EmailpkiUser) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Epp

type Epp struct {
	AllowedNetworks       []string      `json:"allowed_networks"`
	Certificate           string        `json:"certificate"`
	City                  string        `json:"city"`
	Country               string        `json:"country"`
	DefaultEndpointsGroup string        `json:"default_endpoints_group"`
	Devices               []interface{} `json:"devices"`
	Email                 string        `json:"email"`
	Endpoints             []interface{} `json:"endpoints"`
	EndpointsGroups       []string      `json:"endpoints_groups"`
	Exceptions            struct {
		Av []interface{} `json:"av"`
		Dc []interface{} `json:"dc"`
	} `json:"exceptions"`
	FallbackURL       string `json:"fallback_url"`
	MagnetPassword    string `json:"magnet_password"`
	MagnetUsername    string `json:"magnet_username"`
	Organization      string `json:"organization"`
	ParentProxyHost   string `json:"parent_proxy_host"`
	ParentProxyPort   int64  `json:"parent_proxy_port"`
	ParentProxyStatus int64  `json:"parent_proxy_status"`
	Policies          struct {
		Av []string `json:"av"`
		Dc []string `json:"dc"`
	} `json:"policies"`
	Port              int64  `json:"port"`
	PrivateKey        string `json:"private_key"`
	RegistrationToken string `json:"registration_token"`
	Status            struct {
		Av     int64 `json:"av"`
		Broker int64 `json:"broker"`
		Dc     int64 `json:"dc"`
		Epp    int64 `json:"epp"`
		Wc     int64 `json:"wc"`
	} `json:"status"`
	TamperPassword string `json:"tamper_password"`
	Version        string `json:"version"`
	WdxToken       string `json:"wdx_token"`
}

Epp is a generated struct representing the Sophos Epp Endpoint GET /api/nodes/epp

func (Epp) ApiRoutes

func (Epp) ApiRoutes() []string

ApiRoutes returns all known Epp Paths

func (Epp) Definition

func (Epp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Epp

func (*Epp) GetPath

func (*Epp) GetPath() string

GetPath implements sophos.RestGetter

func (*Epp) RefRequired

func (*Epp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Epp) References

func (Epp) References() []string

References returns the Epp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Epp) RestObjects

func (Epp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Epp's Objects

type EppAvException

type EppAvException []interface{}

EppAvException is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppAvException) DeletePath

func (*EppAvException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppAvException DELETE path Creates or updates the complete object av_exception

func (*EppAvException) GetPath

func (*EppAvException) GetPath() string

GetPath implements sophos.RestObject and returns the EppAvException GET path Returns all available epp/av_exception objects

func (*EppAvException) PatchPath

func (*EppAvException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppAvException PATCH path Changes to parts of the object av_exception types

func (*EppAvException) PostPath

func (*EppAvException) PostPath() string

PostPath implements sophos.RestObject and returns the EppAvException POST path Create a new epp/av_exception object

func (*EppAvException) PutPath

func (*EppAvException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppAvException PUT path Creates or updates the complete object av_exception

func (*EppAvException) RefRequired

func (*EppAvException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppAvException) UsedByPath

func (*EppAvException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppAvPolicy

type EppAvPolicy struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AlertOnly                 bool   `json:"alert_only"`
	AutoCleanup               bool   `json:"auto_cleanup"`
	BlockMaliciousSites       bool   `json:"block_malicious_sites"`
	Comment                   string `json:"comment"`
	DetectBufferOverflow      bool   `json:"detect_buffer_overflow"`
	DetectMaliciousFiles      bool   `json:"detect_malicious_files"`
	DetectSuspiciousBehaviour bool   `json:"detect_suspicious_behaviour"`
	DownloadScanning          bool   `json:"download_scanning"`
	Hips                      bool   `json:"hips"`
	LowPriorityScan           bool   `json:"low_priority_scan"`
	Name                      string `json:"name"`
	OnAccessScanning          bool   `json:"on_access_scanning"`
	OnRead                    bool   `json:"on_read"`
	OnRename                  bool   `json:"on_rename"`
	OnWrite                   bool   `json:"on_write"`
	RootKitScan               bool   `json:"root_kit_scan"`
	ScanForPua                bool   `json:"scan_for_pua"`
	ScanForSuspiciousFiles    bool   `json:"scan_for_suspicious_files"`
	ScanInsideArchive         bool   `json:"scan_inside_archive"`
	ScanSystemMemory          bool   `json:"scan_system_memory"`
	ScheduledScanning         bool   `json:"scheduled_scanning"`
	SendSampleFile            bool   `json:"send_sample_file"`
	SophosLiveProtection      bool   `json:"sophos_live_protection"`
	TimeEvent                 string `json:"time_event"`
	WebProtection             bool   `json:"web_protection"`
	// contains filtered or unexported fields
}

EppAvPolicy is a generated Sophos object

func (*EppAvPolicy) DeletePath

func (*EppAvPolicy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppAvPolicy DELETE path Creates or updates the complete object av_policy

func (*EppAvPolicy) GetPath

func (e *EppAvPolicy) GetPath() string

GetPath implements sophos.RestObject and returns the EppAvPolicys GET path Returns all available av_policy types

func (*EppAvPolicy) GetType

func (e *EppAvPolicy) GetType() string

GetType implements sophos.Object

func (*EppAvPolicy) PatchPath

func (*EppAvPolicy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppAvPolicy PATCH path Changes to parts of the object av_policy types

func (*EppAvPolicy) PostPath

func (*EppAvPolicy) PostPath() string

PostPath implements sophos.RestObject and returns the EppAvPolicy POST path Create a new epp/av_policy object

func (*EppAvPolicy) PutPath

func (*EppAvPolicy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppAvPolicy PUT path Creates or updates the complete object av_policy

func (*EppAvPolicy) RefRequired

func (e *EppAvPolicy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppAvPolicy) UsedByPath

func (*EppAvPolicy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppAvPolicys

type EppAvPolicys []EppAvPolicy

EppAvPolicys is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppAvPolicys) GetPath

func (*EppAvPolicys) GetPath() string

GetPath implements sophos.RestObject and returns the EppAvPolicys GET path Returns all available epp/av_policy objects

func (*EppAvPolicys) RefRequired

func (*EppAvPolicys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppDcException

type EppDcException []interface{}

EppDcException is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppDcException) DeletePath

func (*EppDcException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppDcException DELETE path Creates or updates the complete object dc_exception

func (*EppDcException) GetPath

func (*EppDcException) GetPath() string

GetPath implements sophos.RestObject and returns the EppDcException GET path Returns all available epp/dc_exception objects

func (*EppDcException) PatchPath

func (*EppDcException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppDcException PATCH path Changes to parts of the object dc_exception types

func (*EppDcException) PostPath

func (*EppDcException) PostPath() string

PostPath implements sophos.RestObject and returns the EppDcException POST path Create a new epp/dc_exception object

func (*EppDcException) PutPath

func (*EppDcException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppDcException PUT path Creates or updates the complete object dc_exception

func (*EppDcException) RefRequired

func (*EppDcException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppDcException) UsedByPath

func (*EppDcException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppDcPolicy

type EppDcPolicy struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Bluetooth        string `json:"bluetooth"`
	Comment          string `json:"comment"`
	EncryptedStorage string `json:"encrypted_storage"`
	FloppyDrive      string `json:"floppy_drive"`
	Infrared         string `json:"infrared"`
	Modem            string `json:"modem"`
	Name             string `json:"name"`
	OpticalDrive     string `json:"optical_drive"`
	RemovableStorage string `json:"removable_storage"`
	Wireless         string `json:"wireless"`
	// contains filtered or unexported fields
}

EppDcPolicy is a generated Sophos object

func (*EppDcPolicy) DeletePath

func (*EppDcPolicy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppDcPolicy DELETE path Creates or updates the complete object dc_policy

func (*EppDcPolicy) GetPath

func (e *EppDcPolicy) GetPath() string

GetPath implements sophos.RestObject and returns the EppDcPolicys GET path Returns all available dc_policy types

func (*EppDcPolicy) GetType

func (e *EppDcPolicy) GetType() string

GetType implements sophos.Object

func (*EppDcPolicy) PatchPath

func (*EppDcPolicy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppDcPolicy PATCH path Changes to parts of the object dc_policy types

func (*EppDcPolicy) PostPath

func (*EppDcPolicy) PostPath() string

PostPath implements sophos.RestObject and returns the EppDcPolicy POST path Create a new epp/dc_policy object

func (*EppDcPolicy) PutPath

func (*EppDcPolicy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppDcPolicy PUT path Creates or updates the complete object dc_policy

func (*EppDcPolicy) RefRequired

func (e *EppDcPolicy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppDcPolicy) UsedByPath

func (*EppDcPolicy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppDcPolicys

type EppDcPolicys []EppDcPolicy

EppDcPolicys is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppDcPolicys) GetPath

func (*EppDcPolicys) GetPath() string

GetPath implements sophos.RestObject and returns the EppDcPolicys GET path Returns all available epp/dc_policy objects

func (*EppDcPolicys) RefRequired

func (*EppDcPolicys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppDevice

type EppDevice []interface{}

EppDevice is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppDevice) DeletePath

func (*EppDevice) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppDevice DELETE path Creates or updates the complete object device

func (*EppDevice) GetPath

func (*EppDevice) GetPath() string

GetPath implements sophos.RestObject and returns the EppDevice GET path Returns all available epp/device objects

func (*EppDevice) PatchPath

func (*EppDevice) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppDevice PATCH path Changes to parts of the object device types

func (*EppDevice) PostPath

func (*EppDevice) PostPath() string

PostPath implements sophos.RestObject and returns the EppDevice POST path Create a new epp/device object

func (*EppDevice) PutPath

func (*EppDevice) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppDevice PUT path Creates or updates the complete object device

func (*EppDevice) RefRequired

func (*EppDevice) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppDevice) UsedByPath

func (*EppDevice) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppEndpoint

type EppEndpoint []interface{}

EppEndpoint is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppEndpoint) DeletePath

func (*EppEndpoint) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppEndpoint DELETE path Creates or updates the complete object endpoint

func (*EppEndpoint) GetPath

func (*EppEndpoint) GetPath() string

GetPath implements sophos.RestObject and returns the EppEndpoint GET path Returns all available epp/endpoint objects

func (*EppEndpoint) PatchPath

func (*EppEndpoint) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppEndpoint PATCH path Changes to parts of the object endpoint types

func (*EppEndpoint) PostPath

func (*EppEndpoint) PostPath() string

PostPath implements sophos.RestObject and returns the EppEndpoint POST path Create a new epp/endpoint object

func (*EppEndpoint) PutPath

func (*EppEndpoint) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppEndpoint PUT path Creates or updates the complete object endpoint

func (*EppEndpoint) RefRequired

func (*EppEndpoint) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppEndpoint) UsedByPath

func (*EppEndpoint) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppEndpointsGroup

type EppEndpointsGroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AvPolicy         string        `json:"av_policy"`
	Comment          string        `json:"comment"`
	DcPolicy         string        `json:"dc_policy"`
	Endpoints        []interface{} `json:"endpoints"`
	Name             string        `json:"name"`
	ProxyAddress     string        `json:"proxy_address"`
	ProxyPassword    string        `json:"proxy_password"`
	ProxyPort        int64         `json:"proxy_port"`
	ProxySupport     bool          `json:"proxy_support"`
	ProxyUser        string        `json:"proxy_user"`
	TamperProtection bool          `json:"tamper_protection"`
	WebControl       bool          `json:"web_control"`
	// contains filtered or unexported fields
}

EppEndpointsGroup is a generated Sophos object

func (*EppEndpointsGroup) DeletePath

func (*EppEndpointsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppEndpointsGroup DELETE path Creates or updates the complete object endpoints_group

func (*EppEndpointsGroup) GetPath

func (e *EppEndpointsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the EppEndpointsGroups GET path Returns all available endpoints_group types

func (*EppEndpointsGroup) GetType

func (e *EppEndpointsGroup) GetType() string

GetType implements sophos.Object

func (*EppEndpointsGroup) PatchPath

func (*EppEndpointsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppEndpointsGroup PATCH path Changes to parts of the object endpoints_group types

func (*EppEndpointsGroup) PostPath

func (*EppEndpointsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the EppEndpointsGroup POST path Create a new epp/endpoints_group object

func (*EppEndpointsGroup) PutPath

func (*EppEndpointsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppEndpointsGroup PUT path Creates or updates the complete object endpoints_group

func (*EppEndpointsGroup) RefRequired

func (e *EppEndpointsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppEndpointsGroup) UsedByPath

func (*EppEndpointsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type EppEndpointsGroups

type EppEndpointsGroups []EppEndpointsGroup

EppEndpointsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppEndpointsGroups) GetPath

func (*EppEndpointsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the EppEndpointsGroups GET path Returns all available epp/endpoints_group objects

func (*EppEndpointsGroups) RefRequired

func (*EppEndpointsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type EppGroup

type EppGroup []interface{}

EppGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*EppGroup) DeletePath

func (*EppGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the EppGroup DELETE path Creates or updates the complete object group

func (*EppGroup) GetPath

func (*EppGroup) GetPath() string

GetPath implements sophos.RestObject and returns the EppGroup GET path Returns all available epp/group objects

func (*EppGroup) PatchPath

func (*EppGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the EppGroup PATCH path Changes to parts of the object group types

func (*EppGroup) PostPath

func (*EppGroup) PostPath() string

PostPath implements sophos.RestObject and returns the EppGroup POST path Create a new epp/group object

func (*EppGroup) PutPath

func (*EppGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the EppGroup PUT path Creates or updates the complete object group

func (*EppGroup) RefRequired

func (*EppGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*EppGroup) UsedByPath

func (*EppGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Ftp

type Ftp struct {
	AllowedClients        []interface{} `json:"allowed_clients"`
	AllowedServers        []string      `json:"allowed_servers"`
	CffAv                 int64         `json:"cff_av"`
	CffAvEngines          string        `json:"cff_av_engines"`
	CffFileExtensions     []interface{} `json:"cff_file_extensions"`
	Exceptions            []interface{} `json:"exceptions"`
	MaxFileSize           int64         `json:"max_file_size"`
	MsWinMode             int64         `json:"ms_win_mode"`
	OperationMode         string        `json:"operation_mode"`
	RestrictedServers     []string      `json:"restricted_servers"`
	Status                int64         `json:"status"`
	TransparentSkip       []interface{} `json:"transparent_skip"`
	TransparentSkipAutoPf int64         `json:"transparent_skip_auto_pf"`
}

Ftp is a generated struct representing the Sophos Ftp Endpoint GET /api/nodes/ftp

func (Ftp) ApiRoutes

func (Ftp) ApiRoutes() []string

ApiRoutes returns all known Ftp Paths

func (Ftp) Definition

func (Ftp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ftp

func (*Ftp) GetPath

func (*Ftp) GetPath() string

GetPath implements sophos.RestGetter

func (*Ftp) RefRequired

func (*Ftp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ftp) References

func (Ftp) References() []string

References returns the Ftp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ftp) RestObjects

func (Ftp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ftp's Objects

type FtpException

type FtpException []interface{}

FtpException is an Sophos Endpoint subType and implements sophos.RestObject

func (*FtpException) DeletePath

func (*FtpException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the FtpException DELETE path Creates or updates the complete object exception

func (*FtpException) GetPath

func (*FtpException) GetPath() string

GetPath implements sophos.RestObject and returns the FtpException GET path Returns all available ftp/exception objects

func (*FtpException) PatchPath

func (*FtpException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the FtpException PATCH path Changes to parts of the object exception types

func (*FtpException) PostPath

func (*FtpException) PostPath() string

PostPath implements sophos.RestObject and returns the FtpException POST path Create a new ftp/exception object

func (*FtpException) PutPath

func (*FtpException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the FtpException PUT path Creates or updates the complete object exception

func (*FtpException) RefRequired

func (*FtpException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*FtpException) UsedByPath

func (*FtpException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type FtpGroup

type FtpGroup []interface{}

FtpGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*FtpGroup) DeletePath

func (*FtpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the FtpGroup DELETE path Creates or updates the complete object group

func (*FtpGroup) GetPath

func (*FtpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the FtpGroup GET path Returns all available ftp/group objects

func (*FtpGroup) PatchPath

func (*FtpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the FtpGroup PATCH path Changes to parts of the object group types

func (*FtpGroup) PostPath

func (*FtpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the FtpGroup POST path Create a new ftp/group object

func (*FtpGroup) PutPath

func (*FtpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the FtpGroup PUT path Creates or updates the complete object group

func (*FtpGroup) RefRequired

func (*FtpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*FtpGroup) UsedByPath

func (*FtpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Geoip

type Geoip struct {
	CountriesDst []string      `json:"countries_dst"`
	CountriesSrc []string      `json:"countries_src"`
	Exceptions   []interface{} `json:"exceptions"`
	Log          string        `json:"log"`
	Status       int64         `json:"status"`
}

Geoip is a generated struct representing the Sophos Geoip Endpoint GET /api/nodes/geoip

func (Geoip) ApiRoutes

func (Geoip) ApiRoutes() []string

ApiRoutes returns all known Geoip Paths

func (Geoip) Definition

func (Geoip) Definition() sophos.Definition

Definition returns the /api/definitions struct of Geoip

func (*Geoip) GetPath

func (*Geoip) GetPath() string

GetPath implements sophos.RestGetter

func (*Geoip) RefRequired

func (*Geoip) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Geoip) References

func (Geoip) References() []string

References returns the Geoip's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Geoip) RestObjects

func (Geoip) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Geoip's Objects

type GeoipDstexception

type GeoipDstexception []interface{}

GeoipDstexception is an Sophos Endpoint subType and implements sophos.RestObject

func (*GeoipDstexception) DeletePath

func (*GeoipDstexception) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the GeoipDstexception DELETE path Creates or updates the complete object dstexception

func (*GeoipDstexception) GetPath

func (*GeoipDstexception) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipDstexception GET path Returns all available geoip/dstexception objects

func (*GeoipDstexception) PatchPath

func (*GeoipDstexception) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the GeoipDstexception PATCH path Changes to parts of the object dstexception types

func (*GeoipDstexception) PostPath

func (*GeoipDstexception) PostPath() string

PostPath implements sophos.RestObject and returns the GeoipDstexception POST path Create a new geoip/dstexception object

func (*GeoipDstexception) PutPath

func (*GeoipDstexception) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the GeoipDstexception PUT path Creates or updates the complete object dstexception

func (*GeoipDstexception) RefRequired

func (*GeoipDstexception) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*GeoipDstexception) UsedByPath

func (*GeoipDstexception) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type GeoipGeoipgroup

type GeoipGeoipgroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment   string   `json:"comment"`
	Countries []string `json:"countries"`
	Name      string   `json:"name"`
	// contains filtered or unexported fields
}

GeoipGeoipgroup is a generated Sophos object

func (*GeoipGeoipgroup) DeletePath

func (*GeoipGeoipgroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the GeoipGeoipgroup DELETE path Creates or updates the complete object geoipgroup

func (*GeoipGeoipgroup) GetPath

func (g *GeoipGeoipgroup) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipGeoipgroups GET path Returns all available geoipgroup types

func (*GeoipGeoipgroup) GetType

func (g *GeoipGeoipgroup) GetType() string

GetType implements sophos.Object

func (*GeoipGeoipgroup) PatchPath

func (*GeoipGeoipgroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the GeoipGeoipgroup PATCH path Changes to parts of the object geoipgroup types

func (*GeoipGeoipgroup) PostPath

func (*GeoipGeoipgroup) PostPath() string

PostPath implements sophos.RestObject and returns the GeoipGeoipgroup POST path Create a new geoip/geoipgroup object

func (*GeoipGeoipgroup) PutPath

func (*GeoipGeoipgroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the GeoipGeoipgroup PUT path Creates or updates the complete object geoipgroup

func (*GeoipGeoipgroup) RefRequired

func (g *GeoipGeoipgroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*GeoipGeoipgroup) UsedByPath

func (*GeoipGeoipgroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type GeoipGeoipgroups

type GeoipGeoipgroups []GeoipGeoipgroup

GeoipGeoipgroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*GeoipGeoipgroups) GetPath

func (*GeoipGeoipgroups) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipGeoipgroups GET path Returns all available geoip/geoipgroup objects

func (*GeoipGeoipgroups) RefRequired

func (*GeoipGeoipgroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type GeoipGroup

type GeoipGroup []interface{}

GeoipGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*GeoipGroup) DeletePath

func (*GeoipGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the GeoipGroup DELETE path Creates or updates the complete object group

func (*GeoipGroup) GetPath

func (*GeoipGroup) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipGroup GET path Returns all available geoip/group objects

func (*GeoipGroup) PatchPath

func (*GeoipGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the GeoipGroup PATCH path Changes to parts of the object group types

func (*GeoipGroup) PostPath

func (*GeoipGroup) PostPath() string

PostPath implements sophos.RestObject and returns the GeoipGroup POST path Create a new geoip/group object

func (*GeoipGroup) PutPath

func (*GeoipGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the GeoipGroup PUT path Creates or updates the complete object group

func (*GeoipGroup) RefRequired

func (*GeoipGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*GeoipGroup) UsedByPath

func (*GeoipGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type GeoipSrcexception

type GeoipSrcexception []interface{}

GeoipSrcexception is an Sophos Endpoint subType and implements sophos.RestObject

func (*GeoipSrcexception) DeletePath

func (*GeoipSrcexception) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the GeoipSrcexception DELETE path Creates or updates the complete object srcexception

func (*GeoipSrcexception) GetPath

func (*GeoipSrcexception) GetPath() string

GetPath implements sophos.RestObject and returns the GeoipSrcexception GET path Returns all available geoip/srcexception objects

func (*GeoipSrcexception) PatchPath

func (*GeoipSrcexception) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the GeoipSrcexception PATCH path Changes to parts of the object srcexception types

func (*GeoipSrcexception) PostPath

func (*GeoipSrcexception) PostPath() string

PostPath implements sophos.RestObject and returns the GeoipSrcexception POST path Create a new geoip/srcexception object

func (*GeoipSrcexception) PutPath

func (*GeoipSrcexception) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the GeoipSrcexception PUT path Creates or updates the complete object srcexception

func (*GeoipSrcexception) RefRequired

func (*GeoipSrcexception) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*GeoipSrcexception) UsedByPath

func (*GeoipSrcexception) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Hotspot

type Hotspot struct {
	Cert            string        `json:"cert"`
	DeleteDays      int64         `json:"delete_days"`
	SslPortal       int64         `json:"ssl_portal"`
	Status          int64         `json:"status"`
	TransparentSkip []interface{} `json:"transparent_skip"`
}

Hotspot is a generated struct representing the Sophos Hotspot Endpoint GET /api/nodes/hotspot

func (Hotspot) ApiRoutes

func (Hotspot) ApiRoutes() []string

ApiRoutes returns all known Hotspot Paths

func (Hotspot) Definition

func (Hotspot) Definition() sophos.Definition

Definition returns the /api/definitions struct of Hotspot

func (*Hotspot) GetPath

func (*Hotspot) GetPath() string

GetPath implements sophos.RestGetter

func (*Hotspot) RefRequired

func (*Hotspot) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Hotspot) References

func (Hotspot) References() []string

References returns the Hotspot's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Hotspot) RestObjects

func (Hotspot) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Hotspot's Objects

type HotspotGroup

type HotspotGroup []interface{}

HotspotGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*HotspotGroup) DeletePath

func (*HotspotGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HotspotGroup DELETE path Creates or updates the complete object group

func (*HotspotGroup) GetPath

func (*HotspotGroup) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotGroup GET path Returns all available hotspot/group objects

func (*HotspotGroup) PatchPath

func (*HotspotGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HotspotGroup PATCH path Changes to parts of the object group types

func (*HotspotGroup) PostPath

func (*HotspotGroup) PostPath() string

PostPath implements sophos.RestObject and returns the HotspotGroup POST path Create a new hotspot/group object

func (*HotspotGroup) PutPath

func (*HotspotGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HotspotGroup PUT path Creates or updates the complete object group

func (*HotspotGroup) RefRequired

func (*HotspotGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HotspotGroup) UsedByPath

func (*HotspotGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HotspotPortal

type HotspotPortal []interface{}

HotspotPortal is an Sophos Endpoint subType and implements sophos.RestObject

func (*HotspotPortal) DeletePath

func (*HotspotPortal) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HotspotPortal DELETE path Creates or updates the complete object portal

func (*HotspotPortal) GetPath

func (*HotspotPortal) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotPortal GET path Returns all available hotspot/portal objects

func (*HotspotPortal) PatchPath

func (*HotspotPortal) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HotspotPortal PATCH path Changes to parts of the object portal types

func (*HotspotPortal) PostPath

func (*HotspotPortal) PostPath() string

PostPath implements sophos.RestObject and returns the HotspotPortal POST path Create a new hotspot/portal object

func (*HotspotPortal) PutPath

func (*HotspotPortal) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HotspotPortal PUT path Creates or updates the complete object portal

func (*HotspotPortal) RefRequired

func (*HotspotPortal) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HotspotPortal) UsedByPath

func (*HotspotPortal) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HotspotVoucher

type HotspotVoucher []interface{}

HotspotVoucher is an Sophos Endpoint subType and implements sophos.RestObject

func (*HotspotVoucher) DeletePath

func (*HotspotVoucher) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HotspotVoucher DELETE path Creates or updates the complete object voucher

func (*HotspotVoucher) GetPath

func (*HotspotVoucher) GetPath() string

GetPath implements sophos.RestObject and returns the HotspotVoucher GET path Returns all available hotspot/voucher objects

func (*HotspotVoucher) PatchPath

func (*HotspotVoucher) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HotspotVoucher PATCH path Changes to parts of the object voucher types

func (*HotspotVoucher) PostPath

func (*HotspotVoucher) PostPath() string

PostPath implements sophos.RestObject and returns the HotspotVoucher POST path Create a new hotspot/voucher object

func (*HotspotVoucher) PutPath

func (*HotspotVoucher) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HotspotVoucher PUT path Creates or updates the complete object voucher

func (*HotspotVoucher) RefRequired

func (*HotspotVoucher) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HotspotVoucher) UsedByPath

func (*HotspotVoucher) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Http

type Http struct {
	AdSsoInterfaces                       []interface{} `json:"ad_sso_interfaces"`
	AdssoRedirectUseHostname              int64         `json:"adsso_redirect_use_hostname"`
	AllowSsl3                             int64         `json:"allow_ssl3"`
	AllowTLS1_2                           int64         `json:"allow_tls_1_2"`
	AllowedPuas                           []interface{} `json:"allowed_puas"`
	AllowedTargetServices                 []string      `json:"allowed_target_services"`
	AuaMaxconns                           int64         `json:"aua_maxconns"`
	AuaTimeout                            int64         `json:"aua_timeout"`
	AuthCacheSize                         int64         `json:"auth_cache_size"`
	AuthCacheTTL                          int64         `json:"auth_cache_ttl"`
	AuthRealm                             string        `json:"auth_realm"`
	AuthUsercacheTTL                      int64         `json:"auth_usercache_ttl"`
	BlockUnscannable                      int64         `json:"block_unscannable"`
	BypassStreaming                       int64         `json:"bypass_streaming"`
	CaList                                []interface{} `json:"ca_list"`
	CacheIgnoresCookies                   int64         `json:"cache_ignores_cookies"`
	Cachessl                              int64         `json:"cachessl"`
	Caching                               int64         `json:"caching"`
	Certcache                             string        `json:"certcache"`
	Certstore                             string        `json:"certstore"`
	CffOverrideUsers                      []interface{} `json:"cff_override_users"`
	ClientTimeout                         int64         `json:"client_timeout"`
	ConfLockWorkaround                    int64         `json:"conf_lock_workaround"`
	ConnectTimeout                        int64         `json:"connect_timeout"`
	ConnectV6Timeout                      int64         `json:"connect_v6_timeout"`
	Connlimit                             int64         `json:"connlimit"`
	CtypeInspectBody                      int64         `json:"ctype_inspect_body"`
	CtypeUnpackArchive                    int64         `json:"ctype_unpack_archive"`
	Debug                                 []interface{} `json:"debug"`
	Defaultblockaction                    string        `json:"defaultblockaction"`
	Deferagents                           []string      `json:"deferagents"`
	Deferlength                           int64         `json:"deferlength"`
	DisplayHTTPBlockpageExplicitMode      int64         `json:"display_http_blockpage_explicit_mode"`
	DisplayIntro                          int64         `json:"display_intro"`
	DownloadManagerDefaultCharset         string        `json:"download_manager_default_charset"`
	EdirDelayBasicAuth                    int64         `json:"edir_delay_basic_auth"`
	EnableOutInterface                    int64         `json:"enable_out_interface"`
	EppQuotaAction                        string        `json:"epp_quota_action"`
	Exceptions                            []string      `json:"exceptions"`
	ForcedCachingExtension                []string      `json:"forced_caching_extension"`
	ForcedCachingNeverCachePrefix         []string      `json:"forced_caching_never_cache_prefix"`
	ForcedCachingStatus                   int64         `json:"forced_caching_status"`
	ForcedCachingTTL                      int64         `json:"forced_caching_ttl"`
	ForcedCachingUserAgentPrefix          []string      `json:"forced_caching_user_agent_prefix"`
	HTTPLoopbackDetect                    int64         `json:"http_loopback_detect"`
	IeSslBlockpageWorkaround              int64         `json:"ie_ssl_blockpage_workaround"`
	LimitAdSsoInterfaces                  int64         `json:"limit_ad_sso_interfaces"`
	LocalSiteList                         []interface{} `json:"local_site_list"`
	MaxContentEncoding                    int64         `json:"max_content_encoding"`
	MaxTempfileSize                       int64         `json:"max_tempfile_size"`
	Maxthreads                            int64         `json:"maxthreads"`
	MaxthreadsUnused                      int64         `json:"maxthreads_unused"`
	Modulepath                            string        `json:"modulepath"`
	Modules                               []string      `json:"modules"`
	Noscancontent                         []string      `json:"noscancontent"`
	OpendirectoryKeytab                   string        `json:"opendirectory_keytab"`
	PacFile                               string        `json:"pac_file"`
	ParentProxyHost                       string        `json:"parent_proxy_host"`
	ParentProxyPort                       int64         `json:"parent_proxy_port"`
	ParentProxyStatus                     int64         `json:"parent_proxy_status"`
	PassthroughID                         string        `json:"passthrough_id"`
	PharmingProtection                    int64         `json:"pharming_protection"`
	Port                                  int64         `json:"port"`
	PortalCert                            string        `json:"portal_cert"`
	PortalCertChain                       []interface{} `json:"portal_cert_chain"`
	PortalDomain                          string        `json:"portal_domain"`
	PortalHosts                           []interface{} `json:"portal_hosts"`
	PortalUseCert                         int64         `json:"portal_use_cert"`
	ProceedCacheTimeout                   int64         `json:"proceed_cache_timeout"`
	Profiles                              []string      `json:"profiles"`
	QuotaSliceTime                        int64         `json:"quota_slice_time"`
	RemoveRequest                         []interface{} `json:"remove_request"`
	RemoveResponse                        []string      `json:"remove_response"`
	ResponseTimeout                       int64         `json:"response_timeout"`
	ScLocalDB                             string        `json:"sc_local_db"`
	ScanEppTraffic                        int64         `json:"scan_epp_traffic"`
	Searchdomain                          string        `json:"searchdomain"`
	StrictHTTP                            int64         `json:"strict_http"`
	TlsciphersClient                      string        `json:"tlsciphers_client"`
	TlsciphersServer                      string        `json:"tlsciphers_server"`
	TmpfsUsageMinMemsize                  int64         `json:"tmpfs_usage_min_memsize"`
	TransparentAuthTimeout                int64         `json:"transparent_auth_timeout"`
	TransparentDstSkip                    []interface{} `json:"transparent_dst_skip"`
	TransparentSkipAutoPf                 int64         `json:"transparent_skip_auto_pf"`
	TransparentSrcSkip                    []interface{} `json:"transparent_src_skip"`
	TunnelTimeout                         int64         `json:"tunnel_timeout"`
	TunnelV6Timeout                       int64         `json:"tunnel_v6_timeout"`
	Undefercontent                        []string      `json:"undefercontent"`
	Undeferextension                      []string      `json:"undeferextension"`
	URLFilteringRedirectURL               string        `json:"url_filtering_redirect_url"`
	UseConnectionInsteadofProxyconnection int64         `json:"use_connection_insteadof_proxyconnection"`
	UseDstaddrForGeopiplookup             int64         `json:"use_dstaddr_for_geopiplookup"`
	UseKrb5Adsso                          int64         `json:"use_krb5_adsso"`
	UseSni                                int64         `json:"use_sni"`
	UseSxlUrid                            int64         `json:"use_sxl_urid"`
}

Http is a generated struct representing the Sophos Http Endpoint GET /api/nodes/http

func (Http) ApiRoutes

func (Http) ApiRoutes() []string

ApiRoutes returns all known Http Paths

func (Http) Definition

func (Http) Definition() sophos.Definition

Definition returns the /api/definitions struct of Http

func (*Http) GetPath

func (*Http) GetPath() string

GetPath implements sophos.RestGetter

func (*Http) RefRequired

func (*Http) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Http) References

func (Http) References() []string

References returns the Http's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Http) RestObjects

func (Http) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Http's Objects

type HttpCffAction

type HttpCffAction struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AllowTags                []interface{} `json:"allow_tags"`
	Av                       bool          `json:"av"`
	AvEngines                string        `json:"av_engines"`
	BingSafesearch           string        `json:"bing_safesearch"`
	BlockTags                []interface{} `json:"block_tags"`
	CheckMaxDownload         bool          `json:"check_max_download"`
	Comment                  string        `json:"comment"`
	ContenttypeBlacklist     []interface{} `json:"contenttype_blacklist"`
	ContenttypeBlacklistWarn []interface{} `json:"contenttype_blacklist_warn"`
	CreativeCommonsFilter    bool          `json:"creative_commons_filter"`
	EmbeddedRemoval          bool          `json:"embedded_removal"`
	Extensions               []string      `json:"extensions"`
	ExtensionsWarn           []interface{} `json:"extensions_warn"`
	GoogleSafesearch         string        `json:"google_safesearch"`
	Googleappdomains         []interface{} `json:"googleappdomains"`
	GoogleappdomainsEnabled  bool          `json:"googleappdomains_enabled"`
	LogAccess                bool          `json:"log_access"`
	LogBlocked               bool          `json:"log_blocked"`
	MaxDownloadSize          int64         `json:"max_download_size"`
	MaxFilesize              int64         `json:"max_filesize"`
	Mode                     string        `json:"mode"`
	Name                     string        `json:"name"`
	ParentProxies            []interface{} `json:"parent_proxies"`
	Pua                      bool          `json:"pua"`
	QuotaTags                []interface{} `json:"quota_tags"`
	QuotaTime                int64         `json:"quota_time"`
	Sandbox                  bool          `json:"sandbox"`
	ScriptRemoval            bool          `json:"script_removal"`
	SpCategories             []interface{} `json:"sp_categories"`
	SpCategoriesQuota        []interface{} `json:"sp_categories_quota"`
	SpCategoriesWarn         []interface{} `json:"sp_categories_warn"`
	SpMinreputation          string        `json:"sp_minreputation"`
	Spyware                  bool          `json:"spyware"`
	UncategorizedWebsites    string        `json:"uncategorized_websites"`
	URLBlacklist             []interface{} `json:"url_blacklist"`
	URLWhitelist             []interface{} `json:"url_whitelist"`
	WarnTags                 []interface{} `json:"warn_tags"`
	YahooSafesearch          string        `json:"yahoo_safesearch"`
	// contains filtered or unexported fields
}

HttpCffAction is a generated Sophos object

func (*HttpCffAction) DeletePath

func (*HttpCffAction) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpCffAction DELETE path Creates or updates the complete object cff_action

func (*HttpCffAction) GetPath

func (h *HttpCffAction) GetPath() string

GetPath implements sophos.RestObject and returns the HttpCffActions GET path Returns all available cff_action types

func (*HttpCffAction) GetType

func (h *HttpCffAction) GetType() string

GetType implements sophos.Object

func (*HttpCffAction) PatchPath

func (*HttpCffAction) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpCffAction PATCH path Changes to parts of the object cff_action types

func (*HttpCffAction) PostPath

func (*HttpCffAction) PostPath() string

PostPath implements sophos.RestObject and returns the HttpCffAction POST path Create a new http/cff_action object

func (*HttpCffAction) PutPath

func (*HttpCffAction) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpCffAction PUT path Creates or updates the complete object cff_action

func (*HttpCffAction) RefRequired

func (h *HttpCffAction) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpCffAction) UsedByPath

func (*HttpCffAction) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpCffActions

type HttpCffActions []HttpCffAction

HttpCffActions is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpCffActions) GetPath

func (*HttpCffActions) GetPath() string

GetPath implements sophos.RestObject and returns the HttpCffActions GET path Returns all available http/cff_action objects

func (*HttpCffActions) RefRequired

func (*HttpCffActions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpCffProfile

type HttpCffProfile struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Aaa            []string `json:"aaa"`
	Action         string   `json:"action"`
	CffProfileName string   `json:"cff_profile_name"`
	Comment        string   `json:"comment"`
	InProgress     string   `json:"in_progress"`
	Name           string   `json:"name"`
	SkipAuth       bool     `json:"skip_auth"`
	TimeEvent      string   `json:"time_event"`
	// contains filtered or unexported fields
}

HttpCffProfile is a generated Sophos object

func (*HttpCffProfile) DeletePath

func (*HttpCffProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpCffProfile DELETE path Creates or updates the complete object cff_profile

func (*HttpCffProfile) GetPath

func (h *HttpCffProfile) GetPath() string

GetPath implements sophos.RestObject and returns the HttpCffProfiles GET path Returns all available cff_profile types

func (*HttpCffProfile) GetType

func (h *HttpCffProfile) GetType() string

GetType implements sophos.Object

func (*HttpCffProfile) PatchPath

func (*HttpCffProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpCffProfile PATCH path Changes to parts of the object cff_profile types

func (*HttpCffProfile) PostPath

func (*HttpCffProfile) PostPath() string

PostPath implements sophos.RestObject and returns the HttpCffProfile POST path Create a new http/cff_profile object

func (*HttpCffProfile) PutPath

func (*HttpCffProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpCffProfile PUT path Creates or updates the complete object cff_profile

func (*HttpCffProfile) RefRequired

func (h *HttpCffProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpCffProfile) UsedByPath

func (*HttpCffProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpCffProfiles

type HttpCffProfiles []HttpCffProfile

HttpCffProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpCffProfiles) GetPath

func (*HttpCffProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the HttpCffProfiles GET path Returns all available http/cff_profile objects

func (*HttpCffProfiles) RefRequired

func (*HttpCffProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpDeviceAuth

type HttpDeviceAuth []interface{}

HttpDeviceAuth is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpDeviceAuth) DeletePath

func (*HttpDeviceAuth) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpDeviceAuth DELETE path Creates or updates the complete object device_auth

func (*HttpDeviceAuth) GetPath

func (*HttpDeviceAuth) GetPath() string

GetPath implements sophos.RestObject and returns the HttpDeviceAuth GET path Returns all available http/device_auth objects

func (*HttpDeviceAuth) PatchPath

func (*HttpDeviceAuth) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpDeviceAuth PATCH path Changes to parts of the object device_auth types

func (*HttpDeviceAuth) PostPath

func (*HttpDeviceAuth) PostPath() string

PostPath implements sophos.RestObject and returns the HttpDeviceAuth POST path Create a new http/device_auth object

func (*HttpDeviceAuth) PutPath

func (*HttpDeviceAuth) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpDeviceAuth PUT path Creates or updates the complete object device_auth

func (*HttpDeviceAuth) RefRequired

func (*HttpDeviceAuth) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpDeviceAuth) UsedByPath

func (*HttpDeviceAuth) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpDomainRegex

type HttpDomainRegex []interface{}

HttpDomainRegex is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpDomainRegex) DeletePath

func (*HttpDomainRegex) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpDomainRegex DELETE path Creates or updates the complete object domain_regex

func (*HttpDomainRegex) GetPath

func (*HttpDomainRegex) GetPath() string

GetPath implements sophos.RestObject and returns the HttpDomainRegex GET path Returns all available http/domain_regex objects

func (*HttpDomainRegex) PatchPath

func (*HttpDomainRegex) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpDomainRegex PATCH path Changes to parts of the object domain_regex types

func (*HttpDomainRegex) PostPath

func (*HttpDomainRegex) PostPath() string

PostPath implements sophos.RestObject and returns the HttpDomainRegex POST path Create a new http/domain_regex object

func (*HttpDomainRegex) PutPath

func (*HttpDomainRegex) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpDomainRegex PUT path Creates or updates the complete object domain_regex

func (*HttpDomainRegex) RefRequired

func (*HttpDomainRegex) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpDomainRegex) UsedByPath

func (*HttpDomainRegex) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpException

type HttpException struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Aaa             []interface{} `json:"aaa"`
	Comment         string        `json:"comment"`
	Domains         []string      `json:"domains"`
	EndpointsGroups []interface{} `json:"endpoints_groups"`
	Name            string        `json:"name"`
	Networks        []interface{} `json:"networks"`
	Operator        string        `json:"operator"`
	Skiplist        []string      `json:"skiplist"`
	SpCategories    []interface{} `json:"sp_categories"`
	Status          bool          `json:"status"`
	Tags            []interface{} `json:"tags"`
	UserAgents      []interface{} `json:"user_agents"`
	// contains filtered or unexported fields
}

HttpException is a generated Sophos object

func (*HttpException) DeletePath

func (*HttpException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpException DELETE path Creates or updates the complete object exception

func (*HttpException) GetPath

func (h *HttpException) GetPath() string

GetPath implements sophos.RestObject and returns the HttpExceptions GET path Returns all available exception types

func (*HttpException) GetType

func (h *HttpException) GetType() string

GetType implements sophos.Object

func (*HttpException) PatchPath

func (*HttpException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpException PATCH path Changes to parts of the object exception types

func (*HttpException) PostPath

func (*HttpException) PostPath() string

PostPath implements sophos.RestObject and returns the HttpException POST path Create a new http/exception object

func (*HttpException) PutPath

func (*HttpException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpException PUT path Creates or updates the complete object exception

func (*HttpException) RefRequired

func (h *HttpException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpException) UsedByPath

func (*HttpException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpExceptions

type HttpExceptions []HttpException

HttpExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpExceptions) GetPath

func (*HttpExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the HttpExceptions GET path Returns all available http/exception objects

func (*HttpExceptions) RefRequired

func (*HttpExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpGroup

type HttpGroup []interface{}

HttpGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpGroup) DeletePath

func (*HttpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpGroup DELETE path Creates or updates the complete object group

func (*HttpGroup) GetPath

func (*HttpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the HttpGroup GET path Returns all available http/group objects

func (*HttpGroup) PatchPath

func (*HttpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpGroup PATCH path Changes to parts of the object group types

func (*HttpGroup) PostPath

func (*HttpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the HttpGroup POST path Create a new http/group object

func (*HttpGroup) PutPath

func (*HttpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpGroup PUT path Creates or updates the complete object group

func (*HttpGroup) RefRequired

func (*HttpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpGroup) UsedByPath

func (*HttpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpLocalSite

type HttpLocalSite []interface{}

HttpLocalSite is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpLocalSite) DeletePath

func (*HttpLocalSite) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpLocalSite DELETE path Creates or updates the complete object local_site

func (*HttpLocalSite) GetPath

func (*HttpLocalSite) GetPath() string

GetPath implements sophos.RestObject and returns the HttpLocalSite GET path Returns all available http/local_site objects

func (*HttpLocalSite) PatchPath

func (*HttpLocalSite) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpLocalSite PATCH path Changes to parts of the object local_site types

func (*HttpLocalSite) PostPath

func (*HttpLocalSite) PostPath() string

PostPath implements sophos.RestObject and returns the HttpLocalSite POST path Create a new http/local_site object

func (*HttpLocalSite) PutPath

func (*HttpLocalSite) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpLocalSite PUT path Creates or updates the complete object local_site

func (*HttpLocalSite) RefRequired

func (*HttpLocalSite) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpLocalSite) UsedByPath

func (*HttpLocalSite) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpLslTag

type HttpLslTag []interface{}

HttpLslTag is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpLslTag) DeletePath

func (*HttpLslTag) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpLslTag DELETE path Creates or updates the complete object lsl_tag

func (*HttpLslTag) GetPath

func (*HttpLslTag) GetPath() string

GetPath implements sophos.RestObject and returns the HttpLslTag GET path Returns all available http/lsl_tag objects

func (*HttpLslTag) PatchPath

func (*HttpLslTag) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpLslTag PATCH path Changes to parts of the object lsl_tag types

func (*HttpLslTag) PostPath

func (*HttpLslTag) PostPath() string

PostPath implements sophos.RestObject and returns the HttpLslTag POST path Create a new http/lsl_tag object

func (*HttpLslTag) PutPath

func (*HttpLslTag) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpLslTag PUT path Creates or updates the complete object lsl_tag

func (*HttpLslTag) RefRequired

func (*HttpLslTag) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpLslTag) UsedByPath

func (*HttpLslTag) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpPacFile

type HttpPacFile struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string `json:"comment"`
	Content string `json:"content"`
	Name    string `json:"name"`
	Status  bool   `json:"status"`
	// contains filtered or unexported fields
}

HttpPacFile is a generated Sophos object

func (*HttpPacFile) DeletePath

func (*HttpPacFile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpPacFile DELETE path Creates or updates the complete object pac_file

func (*HttpPacFile) GetPath

func (h *HttpPacFile) GetPath() string

GetPath implements sophos.RestObject and returns the HttpPacFiles GET path Returns all available pac_file types

func (*HttpPacFile) GetType

func (h *HttpPacFile) GetType() string

GetType implements sophos.Object

func (*HttpPacFile) PatchPath

func (*HttpPacFile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpPacFile PATCH path Changes to parts of the object pac_file types

func (*HttpPacFile) PostPath

func (*HttpPacFile) PostPath() string

PostPath implements sophos.RestObject and returns the HttpPacFile POST path Create a new http/pac_file object

func (*HttpPacFile) PutPath

func (*HttpPacFile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpPacFile PUT path Creates or updates the complete object pac_file

func (*HttpPacFile) RefRequired

func (h *HttpPacFile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpPacFile) UsedByPath

func (*HttpPacFile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpPacFiles

type HttpPacFiles []HttpPacFile

HttpPacFiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpPacFiles) GetPath

func (*HttpPacFiles) GetPath() string

GetPath implements sophos.RestObject and returns the HttpPacFiles GET path Returns all available http/pac_file objects

func (*HttpPacFiles) RefRequired

func (*HttpPacFiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpParentProxy

type HttpParentProxy []interface{}

HttpParentProxy is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpParentProxy) DeletePath

func (*HttpParentProxy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpParentProxy DELETE path Creates or updates the complete object parent_proxy

func (*HttpParentProxy) GetPath

func (*HttpParentProxy) GetPath() string

GetPath implements sophos.RestObject and returns the HttpParentProxy GET path Returns all available http/parent_proxy objects

func (*HttpParentProxy) PatchPath

func (*HttpParentProxy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpParentProxy PATCH path Changes to parts of the object parent_proxy types

func (*HttpParentProxy) PostPath

func (*HttpParentProxy) PostPath() string

PostPath implements sophos.RestObject and returns the HttpParentProxy POST path Create a new http/parent_proxy object

func (*HttpParentProxy) PutPath

func (*HttpParentProxy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpParentProxy PUT path Creates or updates the complete object parent_proxy

func (*HttpParentProxy) RefRequired

func (*HttpParentProxy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpParentProxy) UsedByPath

func (*HttpParentProxy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpProfile

type HttpProfile struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Aua                bool          `json:"aua"`
	BlockOnAuthFailed  bool          `json:"block_on_auth_failed"`
	CffProfiles        []string      `json:"cff_profiles"`
	Comment            string        `json:"comment"`
	DefaultCffAction   string        `json:"default_cff_action"`
	DeviceAuth         []interface{} `json:"device_auth"`
	EdirSso            bool          `json:"edir_sso"`
	EnableDeviceAuth   bool          `json:"enable_device_auth"`
	EndpointsGroups    []interface{} `json:"endpoints_groups"`
	FullTransparent    bool          `json:"full_transparent"`
	InProgress         bool          `json:"in_progress"`
	Name               string        `json:"name"`
	Networks           []interface{} `json:"networks"`
	Ntlm               bool          `json:"ntlm"`
	OpendirectoryAuth  bool          `json:"opendirectory_auth"`
	OrderedCffProfiles []string      `json:"ordered_cff_profiles"`
	OutInterface       string        `json:"out_interface"`
	ScanSslOpt         string        `json:"scan_ssl_opt"`
	SelectiveScanCat   []string      `json:"selective_scan_cat"`
	SelectiveScanTags  []interface{} `json:"selective_scan_tags"`
	Status             bool          `json:"status"`
	Transparent        bool          `json:"transparent"`
	TransparentAac     bool          `json:"transparent_aac"`
	TransparentAuth    bool          `json:"transparent_auth"`
	// contains filtered or unexported fields
}

HttpProfile is a generated Sophos object

func (*HttpProfile) DeletePath

func (*HttpProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpProfile DELETE path Creates or updates the complete object profile

func (*HttpProfile) GetPath

func (h *HttpProfile) GetPath() string

GetPath implements sophos.RestObject and returns the HttpProfiles GET path Returns all available profile types

func (*HttpProfile) GetType

func (h *HttpProfile) GetType() string

GetType implements sophos.Object

func (*HttpProfile) PatchPath

func (*HttpProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpProfile PATCH path Changes to parts of the object profile types

func (*HttpProfile) PostPath

func (*HttpProfile) PostPath() string

PostPath implements sophos.RestObject and returns the HttpProfile POST path Create a new http/profile object

func (*HttpProfile) PutPath

func (*HttpProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpProfile PUT path Creates or updates the complete object profile

func (*HttpProfile) RefRequired

func (h *HttpProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpProfile) UsedByPath

func (*HttpProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpProfiles

type HttpProfiles []HttpProfile

HttpProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpProfiles) GetPath

func (*HttpProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the HttpProfiles GET path Returns all available http/profile objects

func (*HttpProfiles) RefRequired

func (*HttpProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpSpCategory

type HttpSpCategory struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string   `json:"comment"`
	ID      string   `json:"id"`
	Name    string   `json:"name"`
	Subcats []string `json:"subcats"`
	// contains filtered or unexported fields
}

HttpSpCategory is a generated Sophos object

func (*HttpSpCategory) DeletePath

func (*HttpSpCategory) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpSpCategory DELETE path Creates or updates the complete object sp_category

func (*HttpSpCategory) GetPath

func (h *HttpSpCategory) GetPath() string

GetPath implements sophos.RestObject and returns the HttpSpCategorys GET path Returns all available sp_category types

func (*HttpSpCategory) GetType

func (h *HttpSpCategory) GetType() string

GetType implements sophos.Object

func (*HttpSpCategory) PatchPath

func (*HttpSpCategory) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpSpCategory PATCH path Changes to parts of the object sp_category types

func (*HttpSpCategory) PostPath

func (*HttpSpCategory) PostPath() string

PostPath implements sophos.RestObject and returns the HttpSpCategory POST path Create a new http/sp_category object

func (*HttpSpCategory) PutPath

func (*HttpSpCategory) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpSpCategory PUT path Creates or updates the complete object sp_category

func (*HttpSpCategory) RefRequired

func (h *HttpSpCategory) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpSpCategory) UsedByPath

func (*HttpSpCategory) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpSpCategorys

type HttpSpCategorys []HttpSpCategory

HttpSpCategorys is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpSpCategorys) GetPath

func (*HttpSpCategorys) GetPath() string

GetPath implements sophos.RestObject and returns the HttpSpCategorys GET path Returns all available http/sp_category objects

func (*HttpSpCategorys) RefRequired

func (*HttpSpCategorys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type HttpSpSubcat

type HttpSpSubcat struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string `json:"comment"`
	ID      string `json:"id"`
	Name    string `json:"name"`
	// contains filtered or unexported fields
}

HttpSpSubcat is a generated Sophos object

func (*HttpSpSubcat) DeletePath

func (*HttpSpSubcat) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the HttpSpSubcat DELETE path Creates or updates the complete object sp_subcat

func (*HttpSpSubcat) GetPath

func (h *HttpSpSubcat) GetPath() string

GetPath implements sophos.RestObject and returns the HttpSpSubcats GET path Returns all available sp_subcat types

func (*HttpSpSubcat) GetType

func (h *HttpSpSubcat) GetType() string

GetType implements sophos.Object

func (*HttpSpSubcat) PatchPath

func (*HttpSpSubcat) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the HttpSpSubcat PATCH path Changes to parts of the object sp_subcat types

func (*HttpSpSubcat) PostPath

func (*HttpSpSubcat) PostPath() string

PostPath implements sophos.RestObject and returns the HttpSpSubcat POST path Create a new http/sp_subcat object

func (*HttpSpSubcat) PutPath

func (*HttpSpSubcat) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the HttpSpSubcat PUT path Creates or updates the complete object sp_subcat

func (*HttpSpSubcat) RefRequired

func (h *HttpSpSubcat) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*HttpSpSubcat) UsedByPath

func (*HttpSpSubcat) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type HttpSpSubcats

type HttpSpSubcats []HttpSpSubcat

HttpSpSubcats is an Sophos Endpoint subType and implements sophos.RestObject

func (*HttpSpSubcats) GetPath

func (*HttpSpSubcats) GetPath() string

GetPath implements sophos.RestObject and returns the HttpSpSubcats GET path Returns all available http/sp_subcat objects

func (*HttpSpSubcats) RefRequired

func (*HttpSpSubcats) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Interface

type Interface struct {
	InterfaceBridge   InterfaceBridge   `json:"interface_bridge"`
	InterfaceEthernet InterfaceEthernet `json:"interface_ethernet"`
	InterfaceGroup    InterfaceGroup    `json:"interface_group"`
	InterfacePpp3G    InterfacePpp3G    `json:"interface_ppp3g"`
	InterfacePppmodem InterfacePppmodem `json:"interface_pppmodem"`
	InterfacePppoa    InterfacePppoa    `json:"interface_pppoa"`
	InterfacePppoe    InterfacePppoe    `json:"interface_pppoe"`
	InterfaceTunnel   InterfaceTunnel   `json:"interface_tunnel"`
	InterfaceVlan     InterfaceVlan     `json:"interface_vlan"`
}

Interface is a generated struct representing the Sophos Interface Endpoint GET /api/nodes/interface

func (Interface) ApiRoutes

func (Interface) ApiRoutes() []string

ApiRoutes returns all known Interface Paths

func (Interface) Definition

func (Interface) Definition() sophos.Definition

Definition returns the /api/definitions struct of Interface

func (*Interface) GetPath

func (*Interface) GetPath() string

GetPath implements sophos.RestGetter

func (*Interface) RefRequired

func (*Interface) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Interface) References

func (Interface) References() []string

References returns the Interface's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Interface) RestObjects

func (Interface) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Interface's Objects

type InterfaceBridge

type InterfaceBridge []interface{}

InterfaceBridge is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceBridge) DeletePath

func (*InterfaceBridge) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceBridge DELETE path Creates or updates the complete object bridge

func (*InterfaceBridge) GetPath

func (*InterfaceBridge) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceBridge GET path Returns all available interface/bridge objects

func (*InterfaceBridge) PatchPath

func (*InterfaceBridge) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceBridge PATCH path Changes to parts of the object bridge types

func (*InterfaceBridge) PostPath

func (*InterfaceBridge) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceBridge POST path Create a new interface/bridge object

func (*InterfaceBridge) PutPath

func (*InterfaceBridge) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceBridge PUT path Creates or updates the complete object bridge

func (*InterfaceBridge) RefRequired

func (*InterfaceBridge) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceBridge) UsedByPath

func (*InterfaceBridge) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceEthernet

type InterfaceEthernet struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AdditionalAddresses []interface{} `json:"additional_addresses"`
	Bandwidth           int64         `json:"bandwidth"`
	Comment             string        `json:"comment"`
	Inbandwidth         int64         `json:"inbandwidth"`
	Itfhw               string        `json:"itfhw"`
	Link                bool          `json:"link"`
	Mtu                 int64         `json:"mtu"`
	MtuAutoDiscovery    bool          `json:"mtu_auto_discovery"`
	Name                string        `json:"name"`
	Outbandwidth        int64         `json:"outbandwidth"`
	PrimaryAddress      string        `json:"primary_address"`
	Proxyarp            bool          `json:"proxyarp"`
	Proxyndp            bool          `json:"proxyndp"`
	Status              bool          `json:"status"`
	// contains filtered or unexported fields
}

InterfaceEthernet is a generated Sophos object

func (*InterfaceEthernet) DeletePath

func (*InterfaceEthernet) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceEthernet DELETE path Creates or updates the complete object ethernet

func (*InterfaceEthernet) GetPath

func (i *InterfaceEthernet) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceEthernets GET path Returns all available ethernet types

func (*InterfaceEthernet) GetType

func (i *InterfaceEthernet) GetType() string

GetType implements sophos.Object

func (*InterfaceEthernet) PatchPath

func (*InterfaceEthernet) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceEthernet PATCH path Changes to parts of the object ethernet types

func (*InterfaceEthernet) PostPath

func (*InterfaceEthernet) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceEthernet POST path Create a new interface/ethernet object

func (*InterfaceEthernet) PutPath

func (*InterfaceEthernet) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceEthernet PUT path Creates or updates the complete object ethernet

func (*InterfaceEthernet) RefRequired

func (i *InterfaceEthernet) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceEthernet) UsedByPath

func (*InterfaceEthernet) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceEthernets

type InterfaceEthernets []InterfaceEthernet

InterfaceEthernets is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceEthernets) GetPath

func (*InterfaceEthernets) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceEthernets GET path Returns all available interface/ethernet objects

func (*InterfaceEthernets) RefRequired

func (*InterfaceEthernets) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfaceGroup

type InterfaceGroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment          string        `json:"comment"`
	Link             bool          `json:"link"`
	Members          []interface{} `json:"members"`
	Name             string        `json:"name"`
	PrimaryAddresses string        `json:"primary_addresses"`
	// contains filtered or unexported fields
}

InterfaceGroup is a generated Sophos object

func (*InterfaceGroup) DeletePath

func (*InterfaceGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceGroup DELETE path Creates or updates the complete object group

func (*InterfaceGroup) GetPath

func (i *InterfaceGroup) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceGroups GET path Returns all available group types

func (*InterfaceGroup) GetType

func (i *InterfaceGroup) GetType() string

GetType implements sophos.Object

func (*InterfaceGroup) PatchPath

func (*InterfaceGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceGroup PATCH path Changes to parts of the object group types

func (*InterfaceGroup) PostPath

func (*InterfaceGroup) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceGroup POST path Create a new interface/group object

func (*InterfaceGroup) PutPath

func (*InterfaceGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceGroup PUT path Creates or updates the complete object group

func (*InterfaceGroup) RefRequired

func (i *InterfaceGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceGroup) UsedByPath

func (*InterfaceGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceGroups

type InterfaceGroups []InterfaceGroup

InterfaceGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceGroups) GetPath

func (*InterfaceGroups) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceGroups GET path Returns all available interface/group objects

func (*InterfaceGroups) RefRequired

func (*InterfaceGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type InterfacePpp3G

type InterfacePpp3G []interface{}

InterfacePpp3G is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfacePpp3G) DeletePath

func (*InterfacePpp3G) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfacePpp3G DELETE path Creates or updates the complete object ppp3g

func (*InterfacePpp3G) GetPath

func (*InterfacePpp3G) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePpp3G GET path Returns all available interface/ppp3g objects

func (*InterfacePpp3G) PatchPath

func (*InterfacePpp3G) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfacePpp3G PATCH path Changes to parts of the object ppp3g types

func (*InterfacePpp3G) PostPath

func (*InterfacePpp3G) PostPath() string

PostPath implements sophos.RestObject and returns the InterfacePpp3G POST path Create a new interface/ppp3g object

func (*InterfacePpp3G) PutPath

func (*InterfacePpp3G) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfacePpp3G PUT path Creates or updates the complete object ppp3g

func (*InterfacePpp3G) RefRequired

func (*InterfacePpp3G) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfacePpp3G) UsedByPath

func (*InterfacePpp3G) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfacePppmodem

type InterfacePppmodem []interface{}

InterfacePppmodem is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfacePppmodem) DeletePath

func (*InterfacePppmodem) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfacePppmodem DELETE path Creates or updates the complete object pppmodem

func (*InterfacePppmodem) GetPath

func (*InterfacePppmodem) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppmodem GET path Returns all available interface/pppmodem objects

func (*InterfacePppmodem) PatchPath

func (*InterfacePppmodem) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfacePppmodem PATCH path Changes to parts of the object pppmodem types

func (*InterfacePppmodem) PostPath

func (*InterfacePppmodem) PostPath() string

PostPath implements sophos.RestObject and returns the InterfacePppmodem POST path Create a new interface/pppmodem object

func (*InterfacePppmodem) PutPath

func (*InterfacePppmodem) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfacePppmodem PUT path Creates or updates the complete object pppmodem

func (*InterfacePppmodem) RefRequired

func (*InterfacePppmodem) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfacePppmodem) UsedByPath

func (*InterfacePppmodem) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfacePppoa

type InterfacePppoa []interface{}

InterfacePppoa is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfacePppoa) DeletePath

func (*InterfacePppoa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfacePppoa DELETE path Creates or updates the complete object pppoa

func (*InterfacePppoa) GetPath

func (*InterfacePppoa) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppoa GET path Returns all available interface/pppoa objects

func (*InterfacePppoa) PatchPath

func (*InterfacePppoa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfacePppoa PATCH path Changes to parts of the object pppoa types

func (*InterfacePppoa) PostPath

func (*InterfacePppoa) PostPath() string

PostPath implements sophos.RestObject and returns the InterfacePppoa POST path Create a new interface/pppoa object

func (*InterfacePppoa) PutPath

func (*InterfacePppoa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfacePppoa PUT path Creates or updates the complete object pppoa

func (*InterfacePppoa) RefRequired

func (*InterfacePppoa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfacePppoa) UsedByPath

func (*InterfacePppoa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfacePppoe

type InterfacePppoe []interface{}

InterfacePppoe is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfacePppoe) DeletePath

func (*InterfacePppoe) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfacePppoe DELETE path Creates or updates the complete object pppoe

func (*InterfacePppoe) GetPath

func (*InterfacePppoe) GetPath() string

GetPath implements sophos.RestObject and returns the InterfacePppoe GET path Returns all available interface/pppoe objects

func (*InterfacePppoe) PatchPath

func (*InterfacePppoe) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfacePppoe PATCH path Changes to parts of the object pppoe types

func (*InterfacePppoe) PostPath

func (*InterfacePppoe) PostPath() string

PostPath implements sophos.RestObject and returns the InterfacePppoe POST path Create a new interface/pppoe object

func (*InterfacePppoe) PutPath

func (*InterfacePppoe) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfacePppoe PUT path Creates or updates the complete object pppoe

func (*InterfacePppoe) RefRequired

func (*InterfacePppoe) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfacePppoe) UsedByPath

func (*InterfacePppoe) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceTunnel

type InterfaceTunnel []interface{}

InterfaceTunnel is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceTunnel) DeletePath

func (*InterfaceTunnel) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceTunnel DELETE path Creates or updates the complete object tunnel

func (*InterfaceTunnel) GetPath

func (*InterfaceTunnel) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceTunnel GET path Returns all available interface/tunnel objects

func (*InterfaceTunnel) PatchPath

func (*InterfaceTunnel) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceTunnel PATCH path Changes to parts of the object tunnel types

func (*InterfaceTunnel) PostPath

func (*InterfaceTunnel) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceTunnel POST path Create a new interface/tunnel object

func (*InterfaceTunnel) PutPath

func (*InterfaceTunnel) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceTunnel PUT path Creates or updates the complete object tunnel

func (*InterfaceTunnel) RefRequired

func (*InterfaceTunnel) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceTunnel) UsedByPath

func (*InterfaceTunnel) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceVlan

type InterfaceVlan struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AdditionalAddresses []interface{} `json:"additional_addresses"`
	Bandwidth           int64         `json:"bandwidth"`
	Comment             string        `json:"comment"`
	Inbandwidth         int64         `json:"inbandwidth"`
	Itfhw               string        `json:"itfhw"`
	Link                bool          `json:"link"`
	Macvlan             bool          `json:"macvlan"`
	Mtu                 int64         `json:"mtu"`
	MtuAutoDiscovery    bool          `json:"mtu_auto_discovery"`
	Name                string        `json:"name"`
	Outbandwidth        int64         `json:"outbandwidth"`
	PrimaryAddress      string        `json:"primary_address"`
	Proxyarp            bool          `json:"proxyarp"`
	Proxyndp            bool          `json:"proxyndp"`
	Status              bool          `json:"status"`
	Vlantag             int64         `json:"vlantag"`
	// contains filtered or unexported fields
}

InterfaceVlan is a generated Sophos object

func (*InterfaceVlan) DeletePath

func (*InterfaceVlan) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the InterfaceVlan DELETE path Creates or updates the complete object vlan

func (*InterfaceVlan) GetPath

func (i *InterfaceVlan) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceVlans GET path Returns all available vlan types

func (*InterfaceVlan) GetType

func (i *InterfaceVlan) GetType() string

GetType implements sophos.Object

func (*InterfaceVlan) PatchPath

func (*InterfaceVlan) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the InterfaceVlan PATCH path Changes to parts of the object vlan types

func (*InterfaceVlan) PostPath

func (*InterfaceVlan) PostPath() string

PostPath implements sophos.RestObject and returns the InterfaceVlan POST path Create a new interface/vlan object

func (*InterfaceVlan) PutPath

func (*InterfaceVlan) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the InterfaceVlan PUT path Creates or updates the complete object vlan

func (*InterfaceVlan) RefRequired

func (i *InterfaceVlan) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*InterfaceVlan) UsedByPath

func (*InterfaceVlan) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type InterfaceVlans

type InterfaceVlans []InterfaceVlan

InterfaceVlans is an Sophos Endpoint subType and implements sophos.RestObject

func (*InterfaceVlans) GetPath

func (*InterfaceVlans) GetPath() string

GetPath implements sophos.RestObject and returns the InterfaceVlans GET path Returns all available interface/vlan objects

func (*InterfaceVlans) RefRequired

func (*InterfaceVlans) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpfixConnection

type IpfixConnection struct {
	IpfixConnectionGroup           IpfixConnectionGroup           `json:"ipfix_connection_group"`
	IpfixConnectionIpfixConnection IpfixConnectionIpfixConnection `json:"ipfix_connection_ipfix_connection"`
}

IpfixConnection is a generated struct representing the Sophos IpfixConnection Endpoint GET /api/nodes/ipfix_connection

func (IpfixConnection) ApiRoutes

func (IpfixConnection) ApiRoutes() []string

ApiRoutes returns all known IpfixConnection Paths

func (IpfixConnection) Definition

func (IpfixConnection) Definition() sophos.Definition

Definition returns the /api/definitions struct of IpfixConnection

func (*IpfixConnection) GetPath

func (*IpfixConnection) GetPath() string

GetPath implements sophos.RestGetter

func (*IpfixConnection) RefRequired

func (*IpfixConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (IpfixConnection) References

func (IpfixConnection) References() []string

References returns the IpfixConnection's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (IpfixConnection) RestObjects

func (IpfixConnection) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of IpfixConnection's Objects

type IpfixConnectionGroup

type IpfixConnectionGroup []interface{}

IpfixConnectionGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpfixConnectionGroup) DeletePath

func (*IpfixConnectionGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpfixConnectionGroup DELETE path Creates or updates the complete object group

func (*IpfixConnectionGroup) GetPath

func (*IpfixConnectionGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpfixConnectionGroup GET path Returns all available ipfix_connection/group objects

func (*IpfixConnectionGroup) PatchPath

func (*IpfixConnectionGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpfixConnectionGroup PATCH path Changes to parts of the object group types

func (*IpfixConnectionGroup) PostPath

func (*IpfixConnectionGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpfixConnectionGroup POST path Create a new ipfix_connection/group object

func (*IpfixConnectionGroup) PutPath

func (*IpfixConnectionGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpfixConnectionGroup PUT path Creates or updates the complete object group

func (*IpfixConnectionGroup) RefRequired

func (*IpfixConnectionGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpfixConnectionGroup) UsedByPath

func (*IpfixConnectionGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpfixConnectionIpfixConnection

type IpfixConnectionIpfixConnection []interface{}

IpfixConnectionIpfixConnection is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpfixConnectionIpfixConnection) DeletePath

func (*IpfixConnectionIpfixConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection DELETE path Creates or updates the complete object ipfix_connection

func (*IpfixConnectionIpfixConnection) GetPath

GetPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection GET path Returns all available ipfix_connection/ipfix_connection objects

func (*IpfixConnectionIpfixConnection) PatchPath

PatchPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection PATCH path Changes to parts of the object ipfix_connection types

func (*IpfixConnectionIpfixConnection) PostPath

PostPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection POST path Create a new ipfix_connection/ipfix_connection object

func (*IpfixConnectionIpfixConnection) PutPath

PutPath implements sophos.RestObject and returns the IpfixConnectionIpfixConnection PUT path Creates or updates the complete object ipfix_connection

func (*IpfixConnectionIpfixConnection) RefRequired

func (*IpfixConnectionIpfixConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpfixConnectionIpfixConnection) UsedByPath

func (*IpfixConnectionIpfixConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Ips

type Ips struct {
	DNSServers     []interface{} `json:"dns_servers"`
	Engine         string        `json:"engine"`
	Exceptions     []string      `json:"exceptions"`
	Failopen       int64         `json:"failopen"`
	FileBasedRules int64         `json:"file_based_rules"`
	Groups         []string      `json:"groups"`
	HTTPServers    []interface{} `json:"http_servers"`
	Ipsfb          struct {
		AlertInterval  int64 `json:"alert_interval"`
		ConfigInterval int64 `json:"config_interval"`
		Debug          int64 `json:"debug"`
	} `json:"ipsfb"`
	LocalNetworks  []string      `json:"local_networks"`
	NumInstances   int64         `json:"num_instances"`
	PatternChannel string        `json:"pattern_channel"`
	Policy         string        `json:"policy"`
	QueueLength    int64         `json:"queue_length"`
	QueueThreshold int64         `json:"queue_threshold"`
	ReloadMethod   string        `json:"reload_method"`
	RestartPolicy  string        `json:"restart_policy"`
	RuleModifiers  []interface{} `json:"rule_modifiers"`
	Rules          []interface{} `json:"rules"`
	SkipAcks       int64         `json:"skip_acks"`
	SMTPServers    []interface{} `json:"smtp_servers"`
	Snortsettings  struct {
		MaxQueuedBytes int64  `json:"max_queued_bytes"`
		MaxQueuedSegs  int64  `json:"max_queued_segs"`
		MaxTcp         int64  `json:"max_tcp"`
		MaxUdp         int64  `json:"max_udp"`
		Memcap         int64  `json:"memcap"`
		SearchMethod   string `json:"search_method"`
	} `json:"snortsettings"`
	SqlServers []interface{} `json:"sql_servers"`
	Status     int64         `json:"status"`
}

Ips is a generated struct representing the Sophos Ips Endpoint GET /api/nodes/ips

func (Ips) ApiRoutes

func (Ips) ApiRoutes() []string

ApiRoutes returns all known Ips Paths

func (Ips) Definition

func (Ips) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ips

func (*Ips) GetPath

func (*Ips) GetPath() string

GetPath implements sophos.RestGetter

func (*Ips) RefRequired

func (*Ips) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ips) References

func (Ips) References() []string

References returns the Ips's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ips) RestObjects

func (Ips) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ips's Objects

type IpsException

type IpsException struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment             string   `json:"comment"`
	DestinationNetworks []string `json:"destination_networks"`
	Name                string   `json:"name"`
	Operator            string   `json:"operator"`
	Services            []string `json:"services"`
	Skiplist            []string `json:"skiplist"`
	SourceNetworks      []string `json:"source_networks"`
	Status              bool     `json:"status"`
	// contains filtered or unexported fields
}

IpsException is a generated Sophos object

func (*IpsException) DeletePath

func (*IpsException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsException DELETE path Creates or updates the complete object exception

func (*IpsException) GetPath

func (i *IpsException) GetPath() string

GetPath implements sophos.RestObject and returns the IpsExceptions GET path Returns all available exception types

func (*IpsException) GetType

func (i *IpsException) GetType() string

GetType implements sophos.Object

func (*IpsException) PatchPath

func (*IpsException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsException PATCH path Changes to parts of the object exception types

func (*IpsException) PostPath

func (*IpsException) PostPath() string

PostPath implements sophos.RestObject and returns the IpsException POST path Create a new ips/exception object

func (*IpsException) PutPath

func (*IpsException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsException PUT path Creates or updates the complete object exception

func (*IpsException) RefRequired

func (i *IpsException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsException) UsedByPath

func (*IpsException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsExceptions

type IpsExceptions []IpsException

IpsExceptions is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsExceptions) GetPath

func (*IpsExceptions) GetPath() string

GetPath implements sophos.RestObject and returns the IpsExceptions GET path Returns all available ips/exception objects

func (*IpsExceptions) RefRequired

func (*IpsExceptions) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsGroup

type IpsGroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Action       string   `json:"action"`
	Age          int64    `json:"age"`
	Comment      string   `json:"comment"`
	ID           string   `json:"id"`
	Name         string   `json:"name"`
	Notification bool     `json:"notification"`
	Status       bool     `json:"status"`
	Subgroups    []string `json:"subgroups"`
	Warnings     bool     `json:"warnings"`
	// contains filtered or unexported fields
}

IpsGroup is a generated Sophos object

func (*IpsGroup) DeletePath

func (*IpsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsGroup DELETE path Creates or updates the complete object group

func (*IpsGroup) GetPath

func (i *IpsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpsGroups GET path Returns all available group types

func (*IpsGroup) GetType

func (i *IpsGroup) GetType() string

GetType implements sophos.Object

func (*IpsGroup) PatchPath

func (*IpsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsGroup PATCH path Changes to parts of the object group types

func (*IpsGroup) PostPath

func (*IpsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpsGroup POST path Create a new ips/group object

func (*IpsGroup) PutPath

func (*IpsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsGroup PUT path Creates or updates the complete object group

func (*IpsGroup) RefRequired

func (i *IpsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsGroup) UsedByPath

func (*IpsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsGroups

type IpsGroups []IpsGroup

IpsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsGroups) GetPath

func (*IpsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the IpsGroups GET path Returns all available ips/group objects

func (*IpsGroups) RefRequired

func (*IpsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsRule

type IpsRule []interface{}

IpsRule is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsRule) DeletePath

func (*IpsRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsRule DELETE path Creates or updates the complete object rule

func (*IpsRule) GetPath

func (*IpsRule) GetPath() string

GetPath implements sophos.RestObject and returns the IpsRule GET path Returns all available ips/rule objects

func (*IpsRule) PatchPath

func (*IpsRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsRule PATCH path Changes to parts of the object rule types

func (*IpsRule) PostPath

func (*IpsRule) PostPath() string

PostPath implements sophos.RestObject and returns the IpsRule POST path Create a new ips/rule object

func (*IpsRule) PutPath

func (*IpsRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsRule PUT path Creates or updates the complete object rule

func (*IpsRule) RefRequired

func (*IpsRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsRule) UsedByPath

func (*IpsRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsRuleModifier

type IpsRuleModifier []interface{}

IpsRuleModifier is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsRuleModifier) DeletePath

func (*IpsRuleModifier) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsRuleModifier DELETE path Creates or updates the complete object rule_modifier

func (*IpsRuleModifier) GetPath

func (*IpsRuleModifier) GetPath() string

GetPath implements sophos.RestObject and returns the IpsRuleModifier GET path Returns all available ips/rule_modifier objects

func (*IpsRuleModifier) PatchPath

func (*IpsRuleModifier) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsRuleModifier PATCH path Changes to parts of the object rule_modifier types

func (*IpsRuleModifier) PostPath

func (*IpsRuleModifier) PostPath() string

PostPath implements sophos.RestObject and returns the IpsRuleModifier POST path Create a new ips/rule_modifier object

func (*IpsRuleModifier) PutPath

func (*IpsRuleModifier) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsRuleModifier PUT path Creates or updates the complete object rule_modifier

func (*IpsRuleModifier) RefRequired

func (*IpsRuleModifier) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsRuleModifier) UsedByPath

func (*IpsRuleModifier) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Ipsec

type Ipsec struct {
	Advanced struct {
		CrlAutoFetching       int64         `json:"crl_auto_fetching"`
		CrlStrictPolicy       int64         `json:"crl_strict_policy"`
		DeadPeerDetection     int64         `json:"dead_peer_detection"`
		IkeDebug              []interface{} `json:"ike_debug"`
		IkePort               int64         `json:"ike_port"`
		Metric                int64         `json:"metric"`
		NatTraversal          int64         `json:"nat_traversal"`
		NatTraversalKeepalive int64         `json:"nat_traversal_keepalive"`
		ProbePsk              int64         `json:"probe_psk"`
		PskVpnID              string        `json:"psk_vpn_id"`
		PskVpnIDType          string        `json:"psk_vpn_id_type"`
	} `json:"advanced"`
	Connections []string `json:"connections"`
	LocalRsa    string   `json:"local_rsa"`
	LocalX509   string   `json:"local_x509"`
	Status      int64    `json:"status"`
}

Ipsec is a generated struct representing the Sophos Ipsec Endpoint GET /api/nodes/ipsec

func (Ipsec) ApiRoutes

func (Ipsec) ApiRoutes() []string

ApiRoutes returns all known Ipsec Paths

func (Ipsec) Definition

func (Ipsec) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ipsec

func (*Ipsec) GetPath

func (*Ipsec) GetPath() string

GetPath implements sophos.RestGetter

func (*Ipsec) RefRequired

func (*Ipsec) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ipsec) References

func (Ipsec) References() []string

References returns the Ipsec's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ipsec) RestObjects

func (Ipsec) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ipsec's Objects

type IpsecConnection

type IpsecConnection struct {
	IpsecConnectionAmazonVpc        IpsecConnectionAmazonVpc        `json:"ipsec_connection_amazon_vpc"`
	IpsecConnectionGroup            IpsecConnectionGroup            `json:"ipsec_connection_group"`
	IpsecConnectionL2Tp             IpsecConnectionL2Tp             `json:"ipsec_connection_l2tp"`
	IpsecConnectionRoadwarriorCa    IpsecConnectionRoadwarriorCa    `json:"ipsec_connection_roadwarrior_ca"`
	IpsecConnectionRoadwarriorCisco IpsecConnectionRoadwarriorCisco `json:"ipsec_connection_roadwarrior_cisco"`
	IpsecConnectionRoadwarriorPsk   IpsecConnectionRoadwarriorPsk   `json:"ipsec_connection_roadwarrior_psk"`
	IpsecConnectionRoadwarriorX509  IpsecConnectionRoadwarriorX509  `json:"ipsec_connection_roadwarrior_x509"`
	IpsecConnectionSiteToSite       IpsecConnectionSiteToSite       `json:"ipsec_connection_site_to_site"`
}

IpsecConnection is a generated struct representing the Sophos IpsecConnection Endpoint GET /api/nodes/ipsec_connection

func (IpsecConnection) ApiRoutes

func (IpsecConnection) ApiRoutes() []string

ApiRoutes returns all known IpsecConnection Paths

func (IpsecConnection) Definition

func (IpsecConnection) Definition() sophos.Definition

Definition returns the /api/definitions struct of IpsecConnection

func (*IpsecConnection) GetPath

func (*IpsecConnection) GetPath() string

GetPath implements sophos.RestGetter

func (*IpsecConnection) RefRequired

func (*IpsecConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (IpsecConnection) References

func (IpsecConnection) References() []string

References returns the IpsecConnection's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (IpsecConnection) RestObjects

func (IpsecConnection) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of IpsecConnection's Objects

type IpsecConnectionAmazonVpc

type IpsecConnectionAmazonVpc struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Authentication string `json:"authentication"`
	Comment        string `json:"comment"`
	Interface      string `json:"interface"`
	Name           string `json:"name"`
	Policy         string `json:"policy"`
	Remote         string `json:"remote"`
	// contains filtered or unexported fields
}

IpsecConnectionAmazonVpc is a generated Sophos object

func (*IpsecConnectionAmazonVpc) DeletePath

func (*IpsecConnectionAmazonVpc) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionAmazonVpc DELETE path Creates or updates the complete object amazon_vpc

func (*IpsecConnectionAmazonVpc) GetPath

func (i *IpsecConnectionAmazonVpc) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpcs GET path Returns all available amazon_vpc types

func (*IpsecConnectionAmazonVpc) GetType

func (i *IpsecConnectionAmazonVpc) GetType() string

GetType implements sophos.Object

func (*IpsecConnectionAmazonVpc) PatchPath

func (*IpsecConnectionAmazonVpc) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpc PATCH path Changes to parts of the object amazon_vpc types

func (*IpsecConnectionAmazonVpc) PostPath

func (*IpsecConnectionAmazonVpc) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpc POST path Create a new ipsec_connection/amazon_vpc object

func (*IpsecConnectionAmazonVpc) PutPath

func (*IpsecConnectionAmazonVpc) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpc PUT path Creates or updates the complete object amazon_vpc

func (*IpsecConnectionAmazonVpc) RefRequired

func (i *IpsecConnectionAmazonVpc) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionAmazonVpc) UsedByPath

func (*IpsecConnectionAmazonVpc) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionAmazonVpcs

type IpsecConnectionAmazonVpcs []IpsecConnectionAmazonVpc

IpsecConnectionAmazonVpcs is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionAmazonVpcs) GetPath

func (*IpsecConnectionAmazonVpcs) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionAmazonVpcs GET path Returns all available ipsec_connection/amazon_vpc objects

func (*IpsecConnectionAmazonVpcs) RefRequired

func (*IpsecConnectionAmazonVpcs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionGroup

type IpsecConnectionGroup []interface{}

IpsecConnectionGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionGroup) DeletePath

func (*IpsecConnectionGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionGroup DELETE path Creates or updates the complete object group

func (*IpsecConnectionGroup) GetPath

func (*IpsecConnectionGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionGroup GET path Returns all available ipsec_connection/group objects

func (*IpsecConnectionGroup) PatchPath

func (*IpsecConnectionGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionGroup PATCH path Changes to parts of the object group types

func (*IpsecConnectionGroup) PostPath

func (*IpsecConnectionGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecConnectionGroup POST path Create a new ipsec_connection/group object

func (*IpsecConnectionGroup) PutPath

func (*IpsecConnectionGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecConnectionGroup PUT path Creates or updates the complete object group

func (*IpsecConnectionGroup) RefRequired

func (*IpsecConnectionGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionGroup) UsedByPath

func (*IpsecConnectionGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionL2Tp

type IpsecConnectionL2Tp struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AuthenticationType        string   `json:"authentication_type"`
	Certificate               string   `json:"certificate"`
	Comment                   string   `json:"comment"`
	Debug                     bool     `json:"debug"`
	Interface                 string   `json:"interface"`
	IPAssignmentDhcp          string   `json:"ip_assignment_dhcp"`
	IPAssignmentDhcpInterface string   `json:"ip_assignment_dhcp_interface"`
	IPAssignmentMode          string   `json:"ip_assignment_mode"`
	IPAssignmentPool          string   `json:"ip_assignment_pool"`
	IphoneConnectionName      string   `json:"iphone_connection_name"`
	IphoneHostname            string   `json:"iphone_hostname"`
	IphoneStatus              bool     `json:"iphone_status"`
	Name                      string   `json:"name"`
	Policy                    string   `json:"policy"`
	Psk                       string   `json:"psk"`
	Status                    bool     `json:"status"`
	Users                     []string `json:"users"`
	// contains filtered or unexported fields
}

IpsecConnectionL2Tp is a generated Sophos object

func (*IpsecConnectionL2Tp) DeletePath

func (*IpsecConnectionL2Tp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionL2Tp DELETE path Creates or updates the complete object l2tp

func (*IpsecConnectionL2Tp) GetPath

func (i *IpsecConnectionL2Tp) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionL2Tps GET path Returns all available l2tp types

func (*IpsecConnectionL2Tp) GetType

func (i *IpsecConnectionL2Tp) GetType() string

GetType implements sophos.Object

func (*IpsecConnectionL2Tp) PatchPath

func (*IpsecConnectionL2Tp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionL2Tp PATCH path Changes to parts of the object l2tp types

func (*IpsecConnectionL2Tp) PostPath

func (*IpsecConnectionL2Tp) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecConnectionL2Tp POST path Create a new ipsec_connection/l2tp object

func (*IpsecConnectionL2Tp) PutPath

func (*IpsecConnectionL2Tp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecConnectionL2Tp PUT path Creates or updates the complete object l2tp

func (*IpsecConnectionL2Tp) RefRequired

func (i *IpsecConnectionL2Tp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionL2Tp) UsedByPath

func (*IpsecConnectionL2Tp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionL2Tps

type IpsecConnectionL2Tps []IpsecConnectionL2Tp

IpsecConnectionL2Tps is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionL2Tps) GetPath

func (*IpsecConnectionL2Tps) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionL2Tps GET path Returns all available ipsec_connection/l2tp objects

func (*IpsecConnectionL2Tps) RefRequired

func (*IpsecConnectionL2Tps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecConnectionRoadwarriorCa

type IpsecConnectionRoadwarriorCa []interface{}

IpsecConnectionRoadwarriorCa is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionRoadwarriorCa) DeletePath

func (*IpsecConnectionRoadwarriorCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa DELETE path Creates or updates the complete object roadwarrior_ca

func (*IpsecConnectionRoadwarriorCa) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa GET path Returns all available ipsec_connection/roadwarrior_ca objects

func (*IpsecConnectionRoadwarriorCa) PatchPath

func (*IpsecConnectionRoadwarriorCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa PATCH path Changes to parts of the object roadwarrior_ca types

func (*IpsecConnectionRoadwarriorCa) PostPath

PostPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa POST path Create a new ipsec_connection/roadwarrior_ca object

func (*IpsecConnectionRoadwarriorCa) PutPath

PutPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCa PUT path Creates or updates the complete object roadwarrior_ca

func (*IpsecConnectionRoadwarriorCa) RefRequired

func (*IpsecConnectionRoadwarriorCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionRoadwarriorCa) UsedByPath

func (*IpsecConnectionRoadwarriorCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionRoadwarriorCisco

type IpsecConnectionRoadwarriorCisco []interface{}

IpsecConnectionRoadwarriorCisco is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionRoadwarriorCisco) DeletePath

DeletePath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco DELETE path Creates or updates the complete object roadwarrior_cisco

func (*IpsecConnectionRoadwarriorCisco) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco GET path Returns all available ipsec_connection/roadwarrior_cisco objects

func (*IpsecConnectionRoadwarriorCisco) PatchPath

PatchPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco PATCH path Changes to parts of the object roadwarrior_cisco types

func (*IpsecConnectionRoadwarriorCisco) PostPath

PostPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco POST path Create a new ipsec_connection/roadwarrior_cisco object

func (*IpsecConnectionRoadwarriorCisco) PutPath

PutPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorCisco PUT path Creates or updates the complete object roadwarrior_cisco

func (*IpsecConnectionRoadwarriorCisco) RefRequired

func (*IpsecConnectionRoadwarriorCisco) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionRoadwarriorCisco) UsedByPath

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionRoadwarriorPsk

type IpsecConnectionRoadwarriorPsk []interface{}

IpsecConnectionRoadwarriorPsk is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionRoadwarriorPsk) DeletePath

func (*IpsecConnectionRoadwarriorPsk) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk DELETE path Creates or updates the complete object roadwarrior_psk

func (*IpsecConnectionRoadwarriorPsk) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk GET path Returns all available ipsec_connection/roadwarrior_psk objects

func (*IpsecConnectionRoadwarriorPsk) PatchPath

PatchPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk PATCH path Changes to parts of the object roadwarrior_psk types

func (*IpsecConnectionRoadwarriorPsk) PostPath

PostPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk POST path Create a new ipsec_connection/roadwarrior_psk object

func (*IpsecConnectionRoadwarriorPsk) PutPath

PutPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorPsk PUT path Creates or updates the complete object roadwarrior_psk

func (*IpsecConnectionRoadwarriorPsk) RefRequired

func (*IpsecConnectionRoadwarriorPsk) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionRoadwarriorPsk) UsedByPath

func (*IpsecConnectionRoadwarriorPsk) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionRoadwarriorX509

type IpsecConnectionRoadwarriorX509 []interface{}

IpsecConnectionRoadwarriorX509 is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionRoadwarriorX509) DeletePath

func (*IpsecConnectionRoadwarriorX509) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 DELETE path Creates or updates the complete object roadwarrior_x509

func (*IpsecConnectionRoadwarriorX509) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 GET path Returns all available ipsec_connection/roadwarrior_x509 objects

func (*IpsecConnectionRoadwarriorX509) PatchPath

PatchPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 PATCH path Changes to parts of the object roadwarrior_x509 types

func (*IpsecConnectionRoadwarriorX509) PostPath

PostPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 POST path Create a new ipsec_connection/roadwarrior_x509 object

func (*IpsecConnectionRoadwarriorX509) PutPath

PutPath implements sophos.RestObject and returns the IpsecConnectionRoadwarriorX509 PUT path Creates or updates the complete object roadwarrior_x509

func (*IpsecConnectionRoadwarriorX509) RefRequired

func (*IpsecConnectionRoadwarriorX509) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionRoadwarriorX509) UsedByPath

func (*IpsecConnectionRoadwarriorX509) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionSiteToSite

type IpsecConnectionSiteToSite struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AutoPfIn      string   `json:"auto_pf_in"`
	AutoPfOut     string   `json:"auto_pf_out"`
	AutoPfrule    bool     `json:"auto_pfrule"`
	Bind          bool     `json:"bind"`
	Comment       string   `json:"comment"`
	Interface     string   `json:"interface"`
	Name          string   `json:"name"`
	Networks      []string `json:"networks"`
	Policy        string   `json:"policy"`
	RemoteGateway string   `json:"remote_gateway"`
	Status        bool     `json:"status"`
	StrictRouting bool     `json:"strict_routing"`
	// contains filtered or unexported fields
}

IpsecConnectionSiteToSite is a generated Sophos object

func (*IpsecConnectionSiteToSite) DeletePath

func (*IpsecConnectionSiteToSite) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecConnectionSiteToSite DELETE path Creates or updates the complete object site_to_site

func (*IpsecConnectionSiteToSite) GetPath

func (i *IpsecConnectionSiteToSite) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecConnectionSiteToSites GET path Returns all available site_to_site types

func (*IpsecConnectionSiteToSite) GetType

func (i *IpsecConnectionSiteToSite) GetType() string

GetType implements sophos.Object

func (*IpsecConnectionSiteToSite) PatchPath

func (*IpsecConnectionSiteToSite) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecConnectionSiteToSite PATCH path Changes to parts of the object site_to_site types

func (*IpsecConnectionSiteToSite) PostPath

func (*IpsecConnectionSiteToSite) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecConnectionSiteToSite POST path Create a new ipsec_connection/site_to_site object

func (*IpsecConnectionSiteToSite) PutPath

func (*IpsecConnectionSiteToSite) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecConnectionSiteToSite PUT path Creates or updates the complete object site_to_site

func (*IpsecConnectionSiteToSite) RefRequired

func (i *IpsecConnectionSiteToSite) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecConnectionSiteToSite) UsedByPath

func (*IpsecConnectionSiteToSite) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecConnectionSiteToSites

type IpsecConnectionSiteToSites []IpsecConnectionSiteToSite

IpsecConnectionSiteToSites is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecConnectionSiteToSites) GetPath

GetPath implements sophos.RestObject and returns the IpsecConnectionSiteToSites GET path Returns all available ipsec_connection/site_to_site objects

func (*IpsecConnectionSiteToSites) RefRequired

func (*IpsecConnectionSiteToSites) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecGroup

type IpsecGroup []interface{}

IpsecGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecGroup) DeletePath

func (*IpsecGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecGroup DELETE path Creates or updates the complete object group

func (*IpsecGroup) GetPath

func (*IpsecGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecGroup GET path Returns all available ipsec/group objects

func (*IpsecGroup) PatchPath

func (*IpsecGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecGroup PATCH path Changes to parts of the object group types

func (*IpsecGroup) PostPath

func (*IpsecGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecGroup POST path Create a new ipsec/group object

func (*IpsecGroup) PutPath

func (*IpsecGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecGroup PUT path Creates or updates the complete object group

func (*IpsecGroup) RefRequired

func (*IpsecGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecGroup) UsedByPath

func (*IpsecGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecPolicy

type IpsecPolicy struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment           string `json:"comment"`
	IkeAuthAlg        string `json:"ike_auth_alg"`
	IkeDhGroup        string `json:"ike_dh_group"`
	IkeEncAlg         string `json:"ike_enc_alg"`
	IkeSaLifetime     int64  `json:"ike_sa_lifetime"`
	IpsecAuthAlg      string `json:"ipsec_auth_alg"`
	IpsecCompression  bool   `json:"ipsec_compression"`
	IpsecEncAlg       string `json:"ipsec_enc_alg"`
	IpsecPfsGroup     string `json:"ipsec_pfs_group"`
	IpsecSaLifetime   int64  `json:"ipsec_sa_lifetime"`
	IpsecStrictPolicy bool   `json:"ipsec_strict_policy"`
	Name              string `json:"name"`
	// contains filtered or unexported fields
}

IpsecPolicy is a generated Sophos object

func (*IpsecPolicy) DeletePath

func (*IpsecPolicy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecPolicy DELETE path Creates or updates the complete object policy

func (*IpsecPolicy) GetPath

func (i *IpsecPolicy) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecPolicys GET path Returns all available policy types

func (*IpsecPolicy) GetType

func (i *IpsecPolicy) GetType() string

GetType implements sophos.Object

func (*IpsecPolicy) PatchPath

func (*IpsecPolicy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecPolicy PATCH path Changes to parts of the object policy types

func (*IpsecPolicy) PostPath

func (*IpsecPolicy) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecPolicy POST path Create a new ipsec/policy object

func (*IpsecPolicy) PutPath

func (*IpsecPolicy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecPolicy PUT path Creates or updates the complete object policy

func (*IpsecPolicy) RefRequired

func (i *IpsecPolicy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecPolicy) UsedByPath

func (*IpsecPolicy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecPolicys

type IpsecPolicys []IpsecPolicy

IpsecPolicys is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecPolicys) GetPath

func (*IpsecPolicys) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecPolicys GET path Returns all available ipsec/policy objects

func (*IpsecPolicys) RefRequired

func (*IpsecPolicys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteAuth

type IpsecRemoteAuth struct {
	IpsecRemoteAuthCa    IpsecRemoteAuthCa    `json:"ipsec_remote_auth_ca"`
	IpsecRemoteAuthGroup IpsecRemoteAuthGroup `json:"ipsec_remote_auth_group"`
	IpsecRemoteAuthPsk   IpsecRemoteAuthPsk   `json:"ipsec_remote_auth_psk"`
	IpsecRemoteAuthRsa   IpsecRemoteAuthRsa   `json:"ipsec_remote_auth_rsa"`
	IpsecRemoteAuthX509  IpsecRemoteAuthX509  `json:"ipsec_remote_auth_x509"`
}

IpsecRemoteAuth is a generated struct representing the Sophos IpsecRemoteAuth Endpoint GET /api/nodes/ipsec_remote_auth

func (IpsecRemoteAuth) ApiRoutes

func (IpsecRemoteAuth) ApiRoutes() []string

ApiRoutes returns all known IpsecRemoteAuth Paths

func (IpsecRemoteAuth) Definition

func (IpsecRemoteAuth) Definition() sophos.Definition

Definition returns the /api/definitions struct of IpsecRemoteAuth

func (*IpsecRemoteAuth) GetPath

func (*IpsecRemoteAuth) GetPath() string

GetPath implements sophos.RestGetter

func (*IpsecRemoteAuth) RefRequired

func (*IpsecRemoteAuth) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (IpsecRemoteAuth) References

func (IpsecRemoteAuth) References() []string

References returns the IpsecRemoteAuth's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (IpsecRemoteAuth) RestObjects

func (IpsecRemoteAuth) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of IpsecRemoteAuth's Objects

type IpsecRemoteAuthCa

type IpsecRemoteAuthCa []interface{}

IpsecRemoteAuthCa is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthCa) DeletePath

func (*IpsecRemoteAuthCa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthCa DELETE path Creates or updates the complete object ca

func (*IpsecRemoteAuthCa) GetPath

func (*IpsecRemoteAuthCa) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthCa GET path Returns all available ipsec_remote_auth/ca objects

func (*IpsecRemoteAuthCa) PatchPath

func (*IpsecRemoteAuthCa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthCa PATCH path Changes to parts of the object ca types

func (*IpsecRemoteAuthCa) PostPath

func (*IpsecRemoteAuthCa) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthCa POST path Create a new ipsec_remote_auth/ca object

func (*IpsecRemoteAuthCa) PutPath

func (*IpsecRemoteAuthCa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthCa PUT path Creates or updates the complete object ca

func (*IpsecRemoteAuthCa) RefRequired

func (*IpsecRemoteAuthCa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthCa) UsedByPath

func (*IpsecRemoteAuthCa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthGroup

type IpsecRemoteAuthGroup []interface{}

IpsecRemoteAuthGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthGroup) DeletePath

func (*IpsecRemoteAuthGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthGroup DELETE path Creates or updates the complete object group

func (*IpsecRemoteAuthGroup) GetPath

func (*IpsecRemoteAuthGroup) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthGroup GET path Returns all available ipsec_remote_auth/group objects

func (*IpsecRemoteAuthGroup) PatchPath

func (*IpsecRemoteAuthGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthGroup PATCH path Changes to parts of the object group types

func (*IpsecRemoteAuthGroup) PostPath

func (*IpsecRemoteAuthGroup) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthGroup POST path Create a new ipsec_remote_auth/group object

func (*IpsecRemoteAuthGroup) PutPath

func (*IpsecRemoteAuthGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthGroup PUT path Creates or updates the complete object group

func (*IpsecRemoteAuthGroup) RefRequired

func (*IpsecRemoteAuthGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthGroup) UsedByPath

func (*IpsecRemoteAuthGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthPsk

type IpsecRemoteAuthPsk struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment   string `json:"comment"`
	Name      string `json:"name"`
	Psk       string `json:"psk"`
	VpnID     string `json:"vpn_id"`
	VpnIDType string `json:"vpn_id_type"`
	// contains filtered or unexported fields
}

IpsecRemoteAuthPsk is a generated Sophos object

func (*IpsecRemoteAuthPsk) DeletePath

func (*IpsecRemoteAuthPsk) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthPsk DELETE path Creates or updates the complete object psk

func (*IpsecRemoteAuthPsk) GetPath

func (i *IpsecRemoteAuthPsk) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthPsks GET path Returns all available psk types

func (*IpsecRemoteAuthPsk) GetType

func (i *IpsecRemoteAuthPsk) GetType() string

GetType implements sophos.Object

func (*IpsecRemoteAuthPsk) PatchPath

func (*IpsecRemoteAuthPsk) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthPsk PATCH path Changes to parts of the object psk types

func (*IpsecRemoteAuthPsk) PostPath

func (*IpsecRemoteAuthPsk) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthPsk POST path Create a new ipsec_remote_auth/psk object

func (*IpsecRemoteAuthPsk) PutPath

func (*IpsecRemoteAuthPsk) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthPsk PUT path Creates or updates the complete object psk

func (*IpsecRemoteAuthPsk) RefRequired

func (i *IpsecRemoteAuthPsk) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthPsk) UsedByPath

func (*IpsecRemoteAuthPsk) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthPsks

type IpsecRemoteAuthPsks []IpsecRemoteAuthPsk

IpsecRemoteAuthPsks is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthPsks) GetPath

func (*IpsecRemoteAuthPsks) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthPsks GET path Returns all available ipsec_remote_auth/psk objects

func (*IpsecRemoteAuthPsks) RefRequired

func (*IpsecRemoteAuthPsks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteAuthRsa

type IpsecRemoteAuthRsa []interface{}

IpsecRemoteAuthRsa is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthRsa) DeletePath

func (*IpsecRemoteAuthRsa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthRsa DELETE path Creates or updates the complete object rsa

func (*IpsecRemoteAuthRsa) GetPath

func (*IpsecRemoteAuthRsa) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthRsa GET path Returns all available ipsec_remote_auth/rsa objects

func (*IpsecRemoteAuthRsa) PatchPath

func (*IpsecRemoteAuthRsa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthRsa PATCH path Changes to parts of the object rsa types

func (*IpsecRemoteAuthRsa) PostPath

func (*IpsecRemoteAuthRsa) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthRsa POST path Create a new ipsec_remote_auth/rsa object

func (*IpsecRemoteAuthRsa) PutPath

func (*IpsecRemoteAuthRsa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthRsa PUT path Creates or updates the complete object rsa

func (*IpsecRemoteAuthRsa) RefRequired

func (*IpsecRemoteAuthRsa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthRsa) UsedByPath

func (*IpsecRemoteAuthRsa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthX509

type IpsecRemoteAuthX509 struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Certificate string `json:"certificate"`
	Comment     string `json:"comment"`
	Name        string `json:"name"`
	VpnID       string `json:"vpn_id"`
	VpnIDType   string `json:"vpn_id_type"`
	// contains filtered or unexported fields
}

IpsecRemoteAuthX509 is a generated Sophos object

func (*IpsecRemoteAuthX509) DeletePath

func (*IpsecRemoteAuthX509) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteAuthX509 DELETE path Creates or updates the complete object x509

func (*IpsecRemoteAuthX509) GetPath

func (i *IpsecRemoteAuthX509) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthX509s GET path Returns all available x509 types

func (*IpsecRemoteAuthX509) GetType

func (i *IpsecRemoteAuthX509) GetType() string

GetType implements sophos.Object

func (*IpsecRemoteAuthX509) PatchPath

func (*IpsecRemoteAuthX509) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteAuthX509 PATCH path Changes to parts of the object x509 types

func (*IpsecRemoteAuthX509) PostPath

func (*IpsecRemoteAuthX509) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteAuthX509 POST path Create a new ipsec_remote_auth/x509 object

func (*IpsecRemoteAuthX509) PutPath

func (*IpsecRemoteAuthX509) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteAuthX509 PUT path Creates or updates the complete object x509

func (*IpsecRemoteAuthX509) RefRequired

func (i *IpsecRemoteAuthX509) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteAuthX509) UsedByPath

func (*IpsecRemoteAuthX509) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteAuthX509s

type IpsecRemoteAuthX509s []IpsecRemoteAuthX509

IpsecRemoteAuthX509s is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteAuthX509s) GetPath

func (*IpsecRemoteAuthX509s) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteAuthX509s GET path Returns all available ipsec_remote_auth/x509 objects

func (*IpsecRemoteAuthX509s) RefRequired

func (*IpsecRemoteAuthX509s) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type IpsecRemoteGateway

type IpsecRemoteGateway struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Authentication string   `json:"authentication"`
	Comment        string   `json:"comment"`
	Ecn            bool     `json:"ecn"`
	Host           string   `json:"host"`
	Name           string   `json:"name"`
	Networks       []string `json:"networks"`
	PmtuDiscovery  bool     `json:"pmtu_discovery"`
	Xauth          bool     `json:"xauth"`
	XauthPassword  string   `json:"xauth_password"`
	XauthUsername  string   `json:"xauth_username"`
	// contains filtered or unexported fields
}

IpsecRemoteGateway is a generated Sophos object

func (*IpsecRemoteGateway) DeletePath

func (*IpsecRemoteGateway) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the IpsecRemoteGateway DELETE path Creates or updates the complete object remote_gateway

func (*IpsecRemoteGateway) GetPath

func (i *IpsecRemoteGateway) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteGateways GET path Returns all available remote_gateway types

func (*IpsecRemoteGateway) GetType

func (i *IpsecRemoteGateway) GetType() string

GetType implements sophos.Object

func (*IpsecRemoteGateway) PatchPath

func (*IpsecRemoteGateway) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the IpsecRemoteGateway PATCH path Changes to parts of the object remote_gateway types

func (*IpsecRemoteGateway) PostPath

func (*IpsecRemoteGateway) PostPath() string

PostPath implements sophos.RestObject and returns the IpsecRemoteGateway POST path Create a new ipsec/remote_gateway object

func (*IpsecRemoteGateway) PutPath

func (*IpsecRemoteGateway) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the IpsecRemoteGateway PUT path Creates or updates the complete object remote_gateway

func (*IpsecRemoteGateway) RefRequired

func (i *IpsecRemoteGateway) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*IpsecRemoteGateway) UsedByPath

func (*IpsecRemoteGateway) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type IpsecRemoteGateways

type IpsecRemoteGateways []IpsecRemoteGateway

IpsecRemoteGateways is an Sophos Endpoint subType and implements sophos.RestObject

func (*IpsecRemoteGateways) GetPath

func (*IpsecRemoteGateways) GetPath() string

GetPath implements sophos.RestObject and returns the IpsecRemoteGateways GET path Returns all available ipsec/remote_gateway objects

func (*IpsecRemoteGateways) RefRequired

func (*IpsecRemoteGateways) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Itfhw

type Itfhw struct {
	ItfhwAweNetwork      ItfhwAweNetwork      `json:"itfhw_awe_network"`
	ItfhwAweNetworkGroup ItfhwAweNetworkGroup `json:"itfhw_awe_network_group"`
	ItfhwBridge          ItfhwBridge          `json:"itfhw_bridge"`
	ItfhwEthernet        ItfhwEthernet        `json:"itfhw_ethernet"`
	ItfhwGroup           ItfhwGroup           `json:"itfhw_group"`
	ItfhwLag             ItfhwLag             `json:"itfhw_lag"`
	ItfhwRedClient       ItfhwRedClient       `json:"itfhw_red_client"`
	ItfhwRedServer       ItfhwRedServer       `json:"itfhw_red_server"`
	ItfhwSerial          ItfhwSerial          `json:"itfhw_serial"`
	ItfhwUsbserial       ItfhwUsbserial       `json:"itfhw_usbserial"`
	ItfhwVirtual         ItfhwVirtual         `json:"itfhw_virtual"`
}

Itfhw is a generated struct representing the Sophos Itfhw Endpoint GET /api/nodes/itfhw

func (Itfhw) ApiRoutes

func (Itfhw) ApiRoutes() []string

ApiRoutes returns all known Itfhw Paths

func (Itfhw) Definition

func (Itfhw) Definition() sophos.Definition

Definition returns the /api/definitions struct of Itfhw

func (*Itfhw) GetPath

func (*Itfhw) GetPath() string

GetPath implements sophos.RestGetter

func (*Itfhw) RefRequired

func (*Itfhw) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Itfhw) References

func (Itfhw) References() []string

References returns the Itfhw's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Itfhw) RestObjects

func (Itfhw) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Itfhw's Objects

type ItfhwAweNetwork

type ItfhwAweNetwork struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	ApBridgemode      string        `json:"ap_bridgemode"`
	Bridge            string        `json:"bridge"`
	ClientIsolation   bool          `json:"client_isolation"`
	Comment           string        `json:"comment"`
	CryptoAlg         string        `json:"crypto_alg"`
	Description       string        `json:"description"`
	Dot11r            bool          `json:"dot11r"`
	DynamicVlan       int64         `json:"dynamic_vlan"`
	EncryptionMode    string        `json:"encryption_mode"`
	FreqBands         string        `json:"freq_bands"`
	Hardware          string        `json:"hardware"`
	HideSsid          bool          `json:"hide_ssid"`
	InterfaceName     string        `json:"interface_name"`
	Mac               string        `json:"mac"`
	MacFilter         string        `json:"mac_filter"`
	MacList           string        `json:"mac_list"`
	MeshID            string        `json:"mesh_id"`
	MeshMode          string        `json:"mesh_mode"`
	MeshSubtag        string        `json:"mesh_subtag"`
	Name              string        `json:"name"`
	NetworkMode       string        `json:"network_mode"`
	NetworkName       string        `json:"network_name"`
	Psk               string        `json:"psk"`
	R0khSecret        string        `json:"r0kh_secret"`
	Ssid              string        `json:"ssid"`
	SsidVlantag       interface{}   `json:"ssid_vlantag"`
	Status            bool          `json:"status"`
	TimeScheduling    bool          `json:"time_scheduling"`
	TimeSelect        []interface{} `json:"time_select"`
	Uapsd             bool          `json:"uapsd"`
	Utf8Ssid          bool          `json:"utf8_ssid"`
	Vlantag           string        `json:"vlantag"`
	Wep128            string        `json:"wep128"`
	WepAuthentication string        `json:"wep_authentication"`
	// contains filtered or unexported fields
}

ItfhwAweNetwork is a generated Sophos object

func (*ItfhwAweNetwork) DeletePath

func (*ItfhwAweNetwork) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwAweNetwork DELETE path Creates or updates the complete object awe_network

func (*ItfhwAweNetwork) GetPath

func (i *ItfhwAweNetwork) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwAweNetworks GET path Returns all available awe_network types

func (*ItfhwAweNetwork) GetType

func (i *ItfhwAweNetwork) GetType() string

GetType implements sophos.Object

func (*ItfhwAweNetwork) PatchPath

func (*ItfhwAweNetwork) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwAweNetwork PATCH path Changes to parts of the object awe_network types

func (*ItfhwAweNetwork) PostPath

func (*ItfhwAweNetwork) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwAweNetwork POST path Create a new itfhw/awe_network object

func (*ItfhwAweNetwork) PutPath

func (*ItfhwAweNetwork) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwAweNetwork PUT path Creates or updates the complete object awe_network

func (*ItfhwAweNetwork) RefRequired

func (i *ItfhwAweNetwork) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwAweNetwork) UsedByPath

func (*ItfhwAweNetwork) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwAweNetworkGroup

type ItfhwAweNetworkGroup []interface{}

ItfhwAweNetworkGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwAweNetworkGroup) DeletePath

func (*ItfhwAweNetworkGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwAweNetworkGroup DELETE path Creates or updates the complete object awe_network_group

func (*ItfhwAweNetworkGroup) GetPath

func (*ItfhwAweNetworkGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwAweNetworkGroup GET path Returns all available itfhw/awe_network_group objects

func (*ItfhwAweNetworkGroup) PatchPath

func (*ItfhwAweNetworkGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwAweNetworkGroup PATCH path Changes to parts of the object awe_network_group types

func (*ItfhwAweNetworkGroup) PostPath

func (*ItfhwAweNetworkGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwAweNetworkGroup POST path Create a new itfhw/awe_network_group object

func (*ItfhwAweNetworkGroup) PutPath

func (*ItfhwAweNetworkGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwAweNetworkGroup PUT path Creates or updates the complete object awe_network_group

func (*ItfhwAweNetworkGroup) RefRequired

func (*ItfhwAweNetworkGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwAweNetworkGroup) UsedByPath

func (*ItfhwAweNetworkGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwAweNetworks

type ItfhwAweNetworks []ItfhwAweNetwork

ItfhwAweNetworks is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwAweNetworks) GetPath

func (*ItfhwAweNetworks) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwAweNetworks GET path Returns all available itfhw/awe_network objects

func (*ItfhwAweNetworks) RefRequired

func (*ItfhwAweNetworks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwBridge

type ItfhwBridge []interface{}

ItfhwBridge is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwBridge) DeletePath

func (*ItfhwBridge) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwBridge DELETE path Creates or updates the complete object bridge

func (*ItfhwBridge) GetPath

func (*ItfhwBridge) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwBridge GET path Returns all available itfhw/bridge objects

func (*ItfhwBridge) PatchPath

func (*ItfhwBridge) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwBridge PATCH path Changes to parts of the object bridge types

func (*ItfhwBridge) PostPath

func (*ItfhwBridge) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwBridge POST path Create a new itfhw/bridge object

func (*ItfhwBridge) PutPath

func (*ItfhwBridge) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwBridge PUT path Creates or updates the complete object bridge

func (*ItfhwBridge) RefRequired

func (*ItfhwBridge) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwBridge) UsedByPath

func (*ItfhwBridge) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwEthernet

type ItfhwEthernet struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AutoNegotiation       bool   `json:"auto_negotiation"`
	AutoNegotiationStatus bool   `json:"auto_negotiation_status"`
	Comment               string `json:"comment"`
	Description           string `json:"description"`
	Duplex                string `json:"duplex"`
	Hardware              string `json:"hardware"`
	Irq                   int64  `json:"irq"`
	LinkMonitoring        bool   `json:"link_monitoring"`
	Mac                   string `json:"mac"`
	Mii                   bool   `json:"mii"`
	Name                  string `json:"name"`
	Pcidev                string `json:"pcidev"`
	PoeEnabled            bool   `json:"poe_enabled"`
	PoeStatus             string `json:"poe_status"`
	Slot                  string `json:"slot"`
	Speed                 string `json:"speed"`
	SupportedLinkModes    string `json:"supported_link_modes"`
	VirtualMac            string `json:"virtual_mac"`
	// contains filtered or unexported fields
}

ItfhwEthernet is a generated Sophos object

func (*ItfhwEthernet) DeletePath

func (*ItfhwEthernet) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwEthernet DELETE path Creates or updates the complete object ethernet

func (*ItfhwEthernet) GetPath

func (i *ItfhwEthernet) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwEthernets GET path Returns all available ethernet types

func (*ItfhwEthernet) GetType

func (i *ItfhwEthernet) GetType() string

GetType implements sophos.Object

func (*ItfhwEthernet) PatchPath

func (*ItfhwEthernet) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwEthernet PATCH path Changes to parts of the object ethernet types

func (*ItfhwEthernet) PostPath

func (*ItfhwEthernet) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwEthernet POST path Create a new itfhw/ethernet object

func (*ItfhwEthernet) PutPath

func (*ItfhwEthernet) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwEthernet PUT path Creates or updates the complete object ethernet

func (*ItfhwEthernet) RefRequired

func (i *ItfhwEthernet) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwEthernet) UsedByPath

func (*ItfhwEthernet) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwEthernets

type ItfhwEthernets []ItfhwEthernet

ItfhwEthernets is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwEthernets) GetPath

func (*ItfhwEthernets) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwEthernets GET path Returns all available itfhw/ethernet objects

func (*ItfhwEthernets) RefRequired

func (*ItfhwEthernets) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwGroup

type ItfhwGroup []interface{}

ItfhwGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwGroup) DeletePath

func (*ItfhwGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwGroup DELETE path Creates or updates the complete object group

func (*ItfhwGroup) GetPath

func (*ItfhwGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwGroup GET path Returns all available itfhw/group objects

func (*ItfhwGroup) PatchPath

func (*ItfhwGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwGroup PATCH path Changes to parts of the object group types

func (*ItfhwGroup) PostPath

func (*ItfhwGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwGroup POST path Create a new itfhw/group object

func (*ItfhwGroup) PutPath

func (*ItfhwGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwGroup PUT path Creates or updates the complete object group

func (*ItfhwGroup) RefRequired

func (*ItfhwGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwGroup) UsedByPath

func (*ItfhwGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwLag

type ItfhwLag struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment        string `json:"comment"`
	Description    string `json:"description"`
	Hardware       string `json:"hardware"`
	LinkMonitoring bool   `json:"link_monitoring"`
	Mac            string `json:"mac"`
	Name           string `json:"name"`
	// contains filtered or unexported fields
}

ItfhwLag is a generated Sophos object

func (*ItfhwLag) DeletePath

func (*ItfhwLag) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwLag DELETE path Creates or updates the complete object lag

func (*ItfhwLag) GetPath

func (i *ItfhwLag) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwLags GET path Returns all available lag types

func (*ItfhwLag) GetType

func (i *ItfhwLag) GetType() string

GetType implements sophos.Object

func (*ItfhwLag) PatchPath

func (*ItfhwLag) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwLag PATCH path Changes to parts of the object lag types

func (*ItfhwLag) PostPath

func (*ItfhwLag) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwLag POST path Create a new itfhw/lag object

func (*ItfhwLag) PutPath

func (*ItfhwLag) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwLag PUT path Creates or updates the complete object lag

func (*ItfhwLag) RefRequired

func (i *ItfhwLag) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwLag) UsedByPath

func (*ItfhwLag) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwLags

type ItfhwLags []ItfhwLag

ItfhwLags is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwLags) GetPath

func (*ItfhwLags) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwLags GET path Returns all available itfhw/lag objects

func (*ItfhwLags) RefRequired

func (*ItfhwLags) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfhwRedClient

type ItfhwRedClient []interface{}

ItfhwRedClient is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwRedClient) DeletePath

func (*ItfhwRedClient) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwRedClient DELETE path Creates or updates the complete object red_client

func (*ItfhwRedClient) GetPath

func (*ItfhwRedClient) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwRedClient GET path Returns all available itfhw/red_client objects

func (*ItfhwRedClient) PatchPath

func (*ItfhwRedClient) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwRedClient PATCH path Changes to parts of the object red_client types

func (*ItfhwRedClient) PostPath

func (*ItfhwRedClient) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwRedClient POST path Create a new itfhw/red_client object

func (*ItfhwRedClient) PutPath

func (*ItfhwRedClient) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwRedClient PUT path Creates or updates the complete object red_client

func (*ItfhwRedClient) RefRequired

func (*ItfhwRedClient) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwRedClient) UsedByPath

func (*ItfhwRedClient) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwRedServer

type ItfhwRedServer []interface{}

ItfhwRedServer is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwRedServer) DeletePath

func (*ItfhwRedServer) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwRedServer DELETE path Creates or updates the complete object red_server

func (*ItfhwRedServer) GetPath

func (*ItfhwRedServer) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwRedServer GET path Returns all available itfhw/red_server objects

func (*ItfhwRedServer) PatchPath

func (*ItfhwRedServer) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwRedServer PATCH path Changes to parts of the object red_server types

func (*ItfhwRedServer) PostPath

func (*ItfhwRedServer) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwRedServer POST path Create a new itfhw/red_server object

func (*ItfhwRedServer) PutPath

func (*ItfhwRedServer) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwRedServer PUT path Creates or updates the complete object red_server

func (*ItfhwRedServer) RefRequired

func (*ItfhwRedServer) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwRedServer) UsedByPath

func (*ItfhwRedServer) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwSerial

type ItfhwSerial []interface{}

ItfhwSerial is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwSerial) DeletePath

func (*ItfhwSerial) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwSerial DELETE path Creates or updates the complete object serial

func (*ItfhwSerial) GetPath

func (*ItfhwSerial) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwSerial GET path Returns all available itfhw/serial objects

func (*ItfhwSerial) PatchPath

func (*ItfhwSerial) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwSerial PATCH path Changes to parts of the object serial types

func (*ItfhwSerial) PostPath

func (*ItfhwSerial) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwSerial POST path Create a new itfhw/serial object

func (*ItfhwSerial) PutPath

func (*ItfhwSerial) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwSerial PUT path Creates or updates the complete object serial

func (*ItfhwSerial) RefRequired

func (*ItfhwSerial) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwSerial) UsedByPath

func (*ItfhwSerial) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwUsbserial

type ItfhwUsbserial []interface{}

ItfhwUsbserial is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwUsbserial) DeletePath

func (*ItfhwUsbserial) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwUsbserial DELETE path Creates or updates the complete object usbserial

func (*ItfhwUsbserial) GetPath

func (*ItfhwUsbserial) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwUsbserial GET path Returns all available itfhw/usbserial objects

func (*ItfhwUsbserial) PatchPath

func (*ItfhwUsbserial) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwUsbserial PATCH path Changes to parts of the object usbserial types

func (*ItfhwUsbserial) PostPath

func (*ItfhwUsbserial) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwUsbserial POST path Create a new itfhw/usbserial object

func (*ItfhwUsbserial) PutPath

func (*ItfhwUsbserial) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwUsbserial PUT path Creates or updates the complete object usbserial

func (*ItfhwUsbserial) RefRequired

func (*ItfhwUsbserial) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwUsbserial) UsedByPath

func (*ItfhwUsbserial) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfhwVirtual

type ItfhwVirtual []interface{}

ItfhwVirtual is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfhwVirtual) DeletePath

func (*ItfhwVirtual) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfhwVirtual DELETE path Creates or updates the complete object virtual

func (*ItfhwVirtual) GetPath

func (*ItfhwVirtual) GetPath() string

GetPath implements sophos.RestObject and returns the ItfhwVirtual GET path Returns all available itfhw/virtual objects

func (*ItfhwVirtual) PatchPath

func (*ItfhwVirtual) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfhwVirtual PATCH path Changes to parts of the object virtual types

func (*ItfhwVirtual) PostPath

func (*ItfhwVirtual) PostPath() string

PostPath implements sophos.RestObject and returns the ItfhwVirtual POST path Create a new itfhw/virtual object

func (*ItfhwVirtual) PutPath

func (*ItfhwVirtual) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfhwVirtual PUT path Creates or updates the complete object virtual

func (*ItfhwVirtual) RefRequired

func (*ItfhwVirtual) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfhwVirtual) UsedByPath

func (*ItfhwVirtual) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Itfparams

type Itfparams struct {
	ItfparamsBridgePort           ItfparamsBridgePort           `json:"itfparams_bridge_port"`
	ItfparamsGroup                ItfparamsGroup                `json:"itfparams_group"`
	ItfparamsLinkAggregationGroup ItfparamsLinkAggregationGroup `json:"itfparams_link_aggregation_group"`
	ItfparamsPrimary              ItfparamsPrimary              `json:"itfparams_primary"`
	ItfparamsSecondary            ItfparamsSecondary            `json:"itfparams_secondary"`
}

Itfparams is a generated struct representing the Sophos Itfparams Endpoint GET /api/nodes/itfparams

func (Itfparams) ApiRoutes

func (Itfparams) ApiRoutes() []string

ApiRoutes returns all known Itfparams Paths

func (Itfparams) Definition

func (Itfparams) Definition() sophos.Definition

Definition returns the /api/definitions struct of Itfparams

func (*Itfparams) GetPath

func (*Itfparams) GetPath() string

GetPath implements sophos.RestGetter

func (*Itfparams) RefRequired

func (*Itfparams) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Itfparams) References

func (Itfparams) References() []string

References returns the Itfparams's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Itfparams) RestObjects

func (Itfparams) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Itfparams's Objects

type ItfparamsBridgePort

type ItfparamsBridgePort []interface{}

ItfparamsBridgePort is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsBridgePort) DeletePath

func (*ItfparamsBridgePort) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsBridgePort DELETE path Creates or updates the complete object bridge_port

func (*ItfparamsBridgePort) GetPath

func (*ItfparamsBridgePort) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsBridgePort GET path Returns all available itfparams/bridge_port objects

func (*ItfparamsBridgePort) PatchPath

func (*ItfparamsBridgePort) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfparamsBridgePort PATCH path Changes to parts of the object bridge_port types

func (*ItfparamsBridgePort) PostPath

func (*ItfparamsBridgePort) PostPath() string

PostPath implements sophos.RestObject and returns the ItfparamsBridgePort POST path Create a new itfparams/bridge_port object

func (*ItfparamsBridgePort) PutPath

func (*ItfparamsBridgePort) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfparamsBridgePort PUT path Creates or updates the complete object bridge_port

func (*ItfparamsBridgePort) RefRequired

func (*ItfparamsBridgePort) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsBridgePort) UsedByPath

func (*ItfparamsBridgePort) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsGroup

type ItfparamsGroup []interface{}

ItfparamsGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsGroup) DeletePath

func (*ItfparamsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsGroup DELETE path Creates or updates the complete object group

func (*ItfparamsGroup) GetPath

func (*ItfparamsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsGroup GET path Returns all available itfparams/group objects

func (*ItfparamsGroup) PatchPath

func (*ItfparamsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfparamsGroup PATCH path Changes to parts of the object group types

func (*ItfparamsGroup) PostPath

func (*ItfparamsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ItfparamsGroup POST path Create a new itfparams/group object

func (*ItfparamsGroup) PutPath

func (*ItfparamsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfparamsGroup PUT path Creates or updates the complete object group

func (*ItfparamsGroup) RefRequired

func (*ItfparamsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsGroup) UsedByPath

func (*ItfparamsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsLinkAggregationGroup

type ItfparamsLinkAggregationGroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AdSelect       int64    `json:"ad_select"`
	ArpInterval    int64    `json:"arp_interval"`
	ArpIPTarget    string   `json:"arp_ip_target"`
	Comment        string   `json:"comment"`
	Downdelay      int64    `json:"downdelay"`
	EnforceMac     bool     `json:"enforce_mac"`
	ID             int64    `json:"id"`
	Itfhw          []string `json:"itfhw"`
	LacpRate       int64    `json:"lacp_rate"`
	Mac            string   `json:"mac"`
	Miimon         int64    `json:"miimon"`
	Mode           int64    `json:"mode"`
	Name           string   `json:"name"`
	Primary        string   `json:"primary"`
	Status         bool     `json:"status"`
	Updelay        int64    `json:"updelay"`
	UseCarrier     bool     `json:"use_carrier"`
	VirtualMac     string   `json:"virtual_mac"`
	XmitHashPolicy string   `json:"xmit_hash_policy"`
	// contains filtered or unexported fields
}

ItfparamsLinkAggregationGroup is a generated Sophos object

func (*ItfparamsLinkAggregationGroup) DeletePath

func (*ItfparamsLinkAggregationGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroup DELETE path Creates or updates the complete object link_aggregation_group

func (*ItfparamsLinkAggregationGroup) GetPath

GetPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroups GET path Returns all available link_aggregation_group types

func (*ItfparamsLinkAggregationGroup) GetType

GetType implements sophos.Object

func (*ItfparamsLinkAggregationGroup) PatchPath

PatchPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroup PATCH path Changes to parts of the object link_aggregation_group types

func (*ItfparamsLinkAggregationGroup) PostPath

PostPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroup POST path Create a new itfparams/link_aggregation_group object

func (*ItfparamsLinkAggregationGroup) PutPath

PutPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroup PUT path Creates or updates the complete object link_aggregation_group

func (*ItfparamsLinkAggregationGroup) RefRequired

func (i *ItfparamsLinkAggregationGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsLinkAggregationGroup) UsedByPath

func (*ItfparamsLinkAggregationGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsLinkAggregationGroups

type ItfparamsLinkAggregationGroups []ItfparamsLinkAggregationGroup

ItfparamsLinkAggregationGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsLinkAggregationGroups) GetPath

GetPath implements sophos.RestObject and returns the ItfparamsLinkAggregationGroups GET path Returns all available itfparams/link_aggregation_group objects

func (*ItfparamsLinkAggregationGroups) RefRequired

func (*ItfparamsLinkAggregationGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfparamsPrimary

type ItfparamsPrimary struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address                string `json:"address"`
	Address6               string `json:"address6"`
	Comment                string `json:"comment"`
	DefaultGatewayAddress  string `json:"default_gateway_address"`
	DefaultGatewayAddress6 string `json:"default_gateway_address6"`
	DefaultGatewayStatus   bool   `json:"default_gateway_status"`
	DefaultGatewayStatus6  bool   `json:"default_gateway_status6"`
	Dhcpv6RapidCommit      bool   `json:"dhcpv6_rapid_commit"`
	DNSServer1             string `json:"dns_server_1"`
	DNSServer2             string `json:"dns_server_2"`
	DNSServer3             string `json:"dns_server_3"`
	DNSServer4             string `json:"dns_server_4"`
	GatewayType            string `json:"gateway_type"`
	GatewayType6           string `json:"gateway_type6"`
	Hostname               string `json:"hostname"`
	InterfaceAddress       string `json:"interface_address"`
	InterfaceBroadcast     string `json:"interface_broadcast"`
	InterfaceNetwork       string `json:"interface_network"`
	Name                   string `json:"name"`
	Netmask                int64  `json:"netmask"`
	Netmask6               int64  `json:"netmask6"`
	PdAddress6             string `json:"pd_address6"`
	PdNetmask6             int64  `json:"pd_netmask6"`
	PdResolved6            bool   `json:"pd_resolved6"`
	Resolved               bool   `json:"resolved"`
	Resolved6              bool   `json:"resolved6"`
	Six2four               bool   `json:"six2four"`
	Type                   string `json:"type"`
	Type6                  string `json:"type6"`
	// contains filtered or unexported fields
}

ItfparamsPrimary is a generated Sophos object

func (*ItfparamsPrimary) DeletePath

func (*ItfparamsPrimary) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsPrimary DELETE path Creates or updates the complete object primary

func (*ItfparamsPrimary) GetPath

func (i *ItfparamsPrimary) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsPrimarys GET path Returns all available primary types

func (*ItfparamsPrimary) GetType

func (i *ItfparamsPrimary) GetType() string

GetType implements sophos.Object

func (*ItfparamsPrimary) PatchPath

func (*ItfparamsPrimary) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfparamsPrimary PATCH path Changes to parts of the object primary types

func (*ItfparamsPrimary) PostPath

func (*ItfparamsPrimary) PostPath() string

PostPath implements sophos.RestObject and returns the ItfparamsPrimary POST path Create a new itfparams/primary object

func (*ItfparamsPrimary) PutPath

func (*ItfparamsPrimary) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfparamsPrimary PUT path Creates or updates the complete object primary

func (*ItfparamsPrimary) RefRequired

func (i *ItfparamsPrimary) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsPrimary) UsedByPath

func (*ItfparamsPrimary) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ItfparamsPrimarys

type ItfparamsPrimarys []ItfparamsPrimary

ItfparamsPrimarys is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsPrimarys) GetPath

func (*ItfparamsPrimarys) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsPrimarys GET path Returns all available itfparams/primary objects

func (*ItfparamsPrimarys) RefRequired

func (*ItfparamsPrimarys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ItfparamsSecondary

type ItfparamsSecondary []interface{}

ItfparamsSecondary is an Sophos Endpoint subType and implements sophos.RestObject

func (*ItfparamsSecondary) DeletePath

func (*ItfparamsSecondary) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ItfparamsSecondary DELETE path Creates or updates the complete object secondary

func (*ItfparamsSecondary) GetPath

func (*ItfparamsSecondary) GetPath() string

GetPath implements sophos.RestObject and returns the ItfparamsSecondary GET path Returns all available itfparams/secondary objects

func (*ItfparamsSecondary) PatchPath

func (*ItfparamsSecondary) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ItfparamsSecondary PATCH path Changes to parts of the object secondary types

func (*ItfparamsSecondary) PostPath

func (*ItfparamsSecondary) PostPath() string

PostPath implements sophos.RestObject and returns the ItfparamsSecondary POST path Create a new itfparams/secondary object

func (*ItfparamsSecondary) PutPath

func (*ItfparamsSecondary) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ItfparamsSecondary PUT path Creates or updates the complete object secondary

func (*ItfparamsSecondary) RefRequired

func (*ItfparamsSecondary) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ItfparamsSecondary) UsedByPath

func (*ItfparamsSecondary) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type MacList

type MacList struct {
	MacListGroup   MacListGroup   `json:"mac_list_group"`
	MacListMacList MacListMacList `json:"mac_list_mac_list"`
}

MacList is a generated struct representing the Sophos MacList Endpoint GET /api/nodes/mac_list

func (MacList) ApiRoutes

func (MacList) ApiRoutes() []string

ApiRoutes returns all known MacList Paths

func (MacList) Definition

func (MacList) Definition() sophos.Definition

Definition returns the /api/definitions struct of MacList

func (*MacList) GetPath

func (*MacList) GetPath() string

GetPath implements sophos.RestGetter

func (*MacList) RefRequired

func (*MacList) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (MacList) References

func (MacList) References() []string

References returns the MacList's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (MacList) RestObjects

func (MacList) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of MacList's Objects

type MacListGroup

type MacListGroup []interface{}

MacListGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*MacListGroup) DeletePath

func (*MacListGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the MacListGroup DELETE path Creates or updates the complete object group

func (*MacListGroup) GetPath

func (*MacListGroup) GetPath() string

GetPath implements sophos.RestObject and returns the MacListGroup GET path Returns all available mac_list/group objects

func (*MacListGroup) PatchPath

func (*MacListGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the MacListGroup PATCH path Changes to parts of the object group types

func (*MacListGroup) PostPath

func (*MacListGroup) PostPath() string

PostPath implements sophos.RestObject and returns the MacListGroup POST path Create a new mac_list/group object

func (*MacListGroup) PutPath

func (*MacListGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the MacListGroup PUT path Creates or updates the complete object group

func (*MacListGroup) RefRequired

func (*MacListGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*MacListGroup) UsedByPath

func (*MacListGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type MacListMacList

type MacListMacList []interface{}

MacListMacList is an Sophos Endpoint subType and implements sophos.RestObject

func (*MacListMacList) DeletePath

func (*MacListMacList) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the MacListMacList DELETE path Creates or updates the complete object mac_list

func (*MacListMacList) GetPath

func (*MacListMacList) GetPath() string

GetPath implements sophos.RestObject and returns the MacListMacList GET path Returns all available mac_list/mac_list objects

func (*MacListMacList) PatchPath

func (*MacListMacList) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the MacListMacList PATCH path Changes to parts of the object mac_list types

func (*MacListMacList) PostPath

func (*MacListMacList) PostPath() string

PostPath implements sophos.RestObject and returns the MacListMacList POST path Create a new mac_list/mac_list object

func (*MacListMacList) PutPath

func (*MacListMacList) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the MacListMacList PUT path Creates or updates the complete object mac_list

func (*MacListMacList) RefRequired

func (*MacListMacList) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*MacListMacList) UsedByPath

func (*MacListMacList) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Network

type Network struct {
	NetworkAaa                NetworkAaa                `json:"network_aaa"`
	NetworkAny                NetworkAny                `json:"network_any"`
	NetworkAvailabilityGroup  NetworkAvailabilityGroup  `json:"network_availability_group"`
	NetworkDnsGroup           NetworkDnsGroup           `json:"network_dns_group"`
	NetworkDnsHost            NetworkDnsHost            `json:"network_dns_host"`
	NetworkGroup              NetworkGroup              `json:"network_group"`
	NetworkHost               NetworkHost               `json:"network_host"`
	NetworkInterfaceAddress   NetworkInterfaceAddress   `json:"network_interface_address"`
	NetworkInterfaceBroadcast NetworkInterfaceBroadcast `json:"network_interface_broadcast"`
	NetworkInterfaceNetwork   NetworkInterfaceNetwork   `json:"network_interface_network"`
	NetworkMulticast          NetworkMulticast          `json:"network_multicast"`
	NetworkNetwork            NetworkNetwork            `json:"network_network"`
	NetworkRange              NetworkRange              `json:"network_range"`
}

Network is a generated struct representing the Sophos Network Endpoint GET /api/nodes/network

func (Network) ApiRoutes

func (Network) ApiRoutes() []string

ApiRoutes returns all known Network Paths

func (Network) Definition

func (Network) Definition() sophos.Definition

Definition returns the /api/definitions struct of Network

func (*Network) GetPath

func (*Network) GetPath() string

GetPath implements sophos.RestGetter

func (*Network) RefRequired

func (*Network) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Network) References

func (Network) References() []string

References returns the Network's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Network) RestObjects

func (Network) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Network's Objects

type NetworkAaa

type NetworkAaa struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Addresses  []interface{} `json:"addresses"`
	Addresses6 []interface{} `json:"addresses6"`
	Comment    string        `json:"comment"`
	Name       string        `json:"name"`
	Resolved   bool          `json:"resolved"`
	Resolved6  bool          `json:"resolved6"`
	// contains filtered or unexported fields
}

NetworkAaa is a generated Sophos object

func (*NetworkAaa) DeletePath

func (*NetworkAaa) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkAaa DELETE path Creates or updates the complete object aaa

func (*NetworkAaa) GetPath

func (n *NetworkAaa) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAaas GET path Returns all available aaa types

func (*NetworkAaa) GetType

func (n *NetworkAaa) GetType() string

GetType implements sophos.Object

func (*NetworkAaa) PatchPath

func (*NetworkAaa) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkAaa PATCH path Changes to parts of the object aaa types

func (*NetworkAaa) PostPath

func (*NetworkAaa) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkAaa POST path Create a new network/aaa object

func (*NetworkAaa) PutPath

func (*NetworkAaa) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkAaa PUT path Creates or updates the complete object aaa

func (*NetworkAaa) RefRequired

func (n *NetworkAaa) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkAaa) UsedByPath

func (*NetworkAaa) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkAaas

type NetworkAaas []NetworkAaa

NetworkAaas is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkAaas) GetPath

func (*NetworkAaas) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAaas GET path Returns all available network/aaa objects

func (*NetworkAaas) RefRequired

func (*NetworkAaas) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkAny

type NetworkAny struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address   string `json:"address"`
	Address6  string `json:"address6"`
	Comment   string `json:"comment"`
	Interface string `json:"interface"`
	Name      string `json:"name"`
	Netmask   int64  `json:"netmask"`
	Netmask6  int64  `json:"netmask6"`
	Resolved  bool   `json:"resolved"`
	Resolved6 bool   `json:"resolved6"`
	// contains filtered or unexported fields
}

NetworkAny is a generated Sophos object

func (*NetworkAny) DeletePath

func (*NetworkAny) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkAny DELETE path Creates or updates the complete object any

func (*NetworkAny) GetPath

func (n *NetworkAny) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAnys GET path Returns all available any types

func (*NetworkAny) GetType

func (n *NetworkAny) GetType() string

GetType implements sophos.Object

func (*NetworkAny) PatchPath

func (*NetworkAny) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkAny PATCH path Changes to parts of the object any types

func (*NetworkAny) PostPath

func (*NetworkAny) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkAny POST path Create a new network/any object

func (*NetworkAny) PutPath

func (*NetworkAny) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkAny PUT path Creates or updates the complete object any

func (*NetworkAny) RefRequired

func (n *NetworkAny) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkAny) UsedByPath

func (*NetworkAny) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkAnys

type NetworkAnys []NetworkAny

NetworkAnys is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkAnys) GetPath

func (*NetworkAnys) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAnys GET path Returns all available network/any objects

func (*NetworkAnys) RefRequired

func (*NetworkAnys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkAvailabilityGroup

type NetworkAvailabilityGroup []interface{}

NetworkAvailabilityGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkAvailabilityGroup) DeletePath

func (*NetworkAvailabilityGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkAvailabilityGroup DELETE path Creates or updates the complete object availability_group

func (*NetworkAvailabilityGroup) GetPath

func (*NetworkAvailabilityGroup) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkAvailabilityGroup GET path Returns all available network/availability_group objects

func (*NetworkAvailabilityGroup) PatchPath

func (*NetworkAvailabilityGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkAvailabilityGroup PATCH path Changes to parts of the object availability_group types

func (*NetworkAvailabilityGroup) PostPath

func (*NetworkAvailabilityGroup) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkAvailabilityGroup POST path Create a new network/availability_group object

func (*NetworkAvailabilityGroup) PutPath

func (*NetworkAvailabilityGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkAvailabilityGroup PUT path Creates or updates the complete object availability_group

func (*NetworkAvailabilityGroup) RefRequired

func (*NetworkAvailabilityGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkAvailabilityGroup) UsedByPath

func (*NetworkAvailabilityGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkDnsGroup

type NetworkDnsGroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Addresses  []string      `json:"addresses"`
	Addresses6 []interface{} `json:"addresses6"`
	Comment    string        `json:"comment"`
	Hostname   string        `json:"hostname"`
	Interface  string        `json:"interface"`
	Name       string        `json:"name"`
	Resolved   bool          `json:"resolved"`
	Resolved6  bool          `json:"resolved6"`
	Timeout    int64         `json:"timeout"`
	// contains filtered or unexported fields
}

NetworkDnsGroup is a generated Sophos object

func (*NetworkDnsGroup) DeletePath

func (*NetworkDnsGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkDnsGroup DELETE path Creates or updates the complete object dns_group

func (*NetworkDnsGroup) GetPath

func (n *NetworkDnsGroup) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkDnsGroups GET path Returns all available dns_group types

func (*NetworkDnsGroup) GetType

func (n *NetworkDnsGroup) GetType() string

GetType implements sophos.Object

func (*NetworkDnsGroup) PatchPath

func (*NetworkDnsGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkDnsGroup PATCH path Changes to parts of the object dns_group types

func (*NetworkDnsGroup) PostPath

func (*NetworkDnsGroup) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkDnsGroup POST path Create a new network/dns_group object

func (*NetworkDnsGroup) PutPath

func (*NetworkDnsGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkDnsGroup PUT path Creates or updates the complete object dns_group

func (*NetworkDnsGroup) RefRequired

func (n *NetworkDnsGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkDnsGroup) UsedByPath

func (*NetworkDnsGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkDnsGroups

type NetworkDnsGroups []NetworkDnsGroup

NetworkDnsGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkDnsGroups) GetPath

func (*NetworkDnsGroups) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkDnsGroups GET path Returns all available network/dns_group objects

func (*NetworkDnsGroups) RefRequired

func (*NetworkDnsGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkDnsHost

type NetworkDnsHost struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address   string `json:"address"`
	Address6  string `json:"address6"`
	Comment   string `json:"comment"`
	Hostname  string `json:"hostname"`
	Interface string `json:"interface"`
	Name      string `json:"name"`
	Resolved  bool   `json:"resolved"`
	Resolved6 bool   `json:"resolved6"`
	Timeout   int64  `json:"timeout"`
	// contains filtered or unexported fields
}

NetworkDnsHost is a generated Sophos object

func (*NetworkDnsHost) DeletePath

func (*NetworkDnsHost) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkDnsHost DELETE path Creates or updates the complete object dns_host

func (*NetworkDnsHost) GetPath

func (n *NetworkDnsHost) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkDnsHosts GET path Returns all available dns_host types

func (*NetworkDnsHost) GetType

func (n *NetworkDnsHost) GetType() string

GetType implements sophos.Object

func (*NetworkDnsHost) PatchPath

func (*NetworkDnsHost) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkDnsHost PATCH path Changes to parts of the object dns_host types

func (*NetworkDnsHost) PostPath

func (*NetworkDnsHost) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkDnsHost POST path Create a new network/dns_host object

func (*NetworkDnsHost) PutPath

func (*NetworkDnsHost) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkDnsHost PUT path Creates or updates the complete object dns_host

func (*NetworkDnsHost) RefRequired

func (n *NetworkDnsHost) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkDnsHost) UsedByPath

func (*NetworkDnsHost) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkDnsHosts

type NetworkDnsHosts []NetworkDnsHost

NetworkDnsHosts is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkDnsHosts) GetPath

func (*NetworkDnsHosts) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkDnsHosts GET path Returns all available network/dns_host objects

func (*NetworkDnsHosts) RefRequired

func (*NetworkDnsHosts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkGroup

type NetworkGroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string   `json:"comment"`
	Members []string `json:"members"`
	Name    string   `json:"name"`
	Types   []string `json:"types"`
	// contains filtered or unexported fields
}

NetworkGroup is a generated Sophos object

func (*NetworkGroup) DeletePath

func (*NetworkGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkGroup DELETE path Creates or updates the complete object group

func (*NetworkGroup) GetPath

func (n *NetworkGroup) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkGroups GET path Returns all available group types

func (*NetworkGroup) GetType

func (n *NetworkGroup) GetType() string

GetType implements sophos.Object

func (*NetworkGroup) PatchPath

func (*NetworkGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkGroup PATCH path Changes to parts of the object group types

func (*NetworkGroup) PostPath

func (*NetworkGroup) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkGroup POST path Create a new network/group object

func (*NetworkGroup) PutPath

func (*NetworkGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkGroup PUT path Creates or updates the complete object group

func (*NetworkGroup) RefRequired

func (n *NetworkGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkGroup) UsedByPath

func (*NetworkGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkGroups

type NetworkGroups []NetworkGroup

NetworkGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkGroups) GetPath

func (*NetworkGroups) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkGroups GET path Returns all available network/group objects

func (*NetworkGroups) RefRequired

func (*NetworkGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkHost

type NetworkHost struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address    string        `json:"address"`
	Address6   string        `json:"address6"`
	Comment    string        `json:"comment"`
	Duids      []interface{} `json:"duids"`
	Hostnames  []string      `json:"hostnames"`
	Interface  string        `json:"interface"`
	Macs       []interface{} `json:"macs"`
	Name       string        `json:"name"`
	Resolved   bool          `json:"resolved"`
	Resolved6  bool          `json:"resolved6"`
	ReverseDNS bool          `json:"reverse_dns"`
	// contains filtered or unexported fields
}

NetworkHost is a generated Sophos object

func (*NetworkHost) DeletePath

func (*NetworkHost) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkHost DELETE path Creates or updates the complete object host

func (*NetworkHost) GetPath

func (n *NetworkHost) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkHosts GET path Returns all available host types

func (*NetworkHost) GetType

func (n *NetworkHost) GetType() string

GetType implements sophos.Object

func (*NetworkHost) PatchPath

func (*NetworkHost) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkHost PATCH path Changes to parts of the object host types

func (*NetworkHost) PostPath

func (*NetworkHost) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkHost POST path Create a new network/host object

func (*NetworkHost) PutPath

func (*NetworkHost) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkHost PUT path Creates or updates the complete object host

func (*NetworkHost) RefRequired

func (n *NetworkHost) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkHost) UsedByPath

func (*NetworkHost) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkHosts

type NetworkHosts []NetworkHost

NetworkHosts is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkHosts) GetPath

func (*NetworkHosts) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkHosts GET path Returns all available network/host objects

func (*NetworkHosts) RefRequired

func (*NetworkHosts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkInterfaceAddress

type NetworkInterfaceAddress struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address   string `json:"address"`
	Address6  string `json:"address6"`
	Comment   string `json:"comment"`
	Name      string `json:"name"`
	Resolved  bool   `json:"resolved"`
	Resolved6 bool   `json:"resolved6"`
	// contains filtered or unexported fields
}

NetworkInterfaceAddress is a generated Sophos object

func (*NetworkInterfaceAddress) DeletePath

func (*NetworkInterfaceAddress) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkInterfaceAddress DELETE path Creates or updates the complete object interface_address

func (*NetworkInterfaceAddress) GetPath

func (n *NetworkInterfaceAddress) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceAddresss GET path Returns all available interface_address types

func (*NetworkInterfaceAddress) GetType

func (n *NetworkInterfaceAddress) GetType() string

GetType implements sophos.Object

func (*NetworkInterfaceAddress) PatchPath

func (*NetworkInterfaceAddress) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkInterfaceAddress PATCH path Changes to parts of the object interface_address types

func (*NetworkInterfaceAddress) PostPath

func (*NetworkInterfaceAddress) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkInterfaceAddress POST path Create a new network/interface_address object

func (*NetworkInterfaceAddress) PutPath

func (*NetworkInterfaceAddress) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkInterfaceAddress PUT path Creates or updates the complete object interface_address

func (*NetworkInterfaceAddress) RefRequired

func (n *NetworkInterfaceAddress) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkInterfaceAddress) UsedByPath

func (*NetworkInterfaceAddress) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkInterfaceAddresss

type NetworkInterfaceAddresss []NetworkInterfaceAddress

NetworkInterfaceAddresss is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkInterfaceAddresss) GetPath

func (*NetworkInterfaceAddresss) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceAddresss GET path Returns all available network/interface_address objects

func (*NetworkInterfaceAddresss) RefRequired

func (*NetworkInterfaceAddresss) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkInterfaceBroadcast

type NetworkInterfaceBroadcast struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address  string `json:"address"`
	Comment  string `json:"comment"`
	Name     string `json:"name"`
	Resolved bool   `json:"resolved"`
	// contains filtered or unexported fields
}

NetworkInterfaceBroadcast is a generated Sophos object

func (*NetworkInterfaceBroadcast) DeletePath

func (*NetworkInterfaceBroadcast) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkInterfaceBroadcast DELETE path Creates or updates the complete object interface_broadcast

func (*NetworkInterfaceBroadcast) GetPath

func (n *NetworkInterfaceBroadcast) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceBroadcasts GET path Returns all available interface_broadcast types

func (*NetworkInterfaceBroadcast) GetType

func (n *NetworkInterfaceBroadcast) GetType() string

GetType implements sophos.Object

func (*NetworkInterfaceBroadcast) PatchPath

func (*NetworkInterfaceBroadcast) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkInterfaceBroadcast PATCH path Changes to parts of the object interface_broadcast types

func (*NetworkInterfaceBroadcast) PostPath

func (*NetworkInterfaceBroadcast) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkInterfaceBroadcast POST path Create a new network/interface_broadcast object

func (*NetworkInterfaceBroadcast) PutPath

func (*NetworkInterfaceBroadcast) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkInterfaceBroadcast PUT path Creates or updates the complete object interface_broadcast

func (*NetworkInterfaceBroadcast) RefRequired

func (n *NetworkInterfaceBroadcast) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkInterfaceBroadcast) UsedByPath

func (*NetworkInterfaceBroadcast) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkInterfaceBroadcasts

type NetworkInterfaceBroadcasts []NetworkInterfaceBroadcast

NetworkInterfaceBroadcasts is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkInterfaceBroadcasts) GetPath

GetPath implements sophos.RestObject and returns the NetworkInterfaceBroadcasts GET path Returns all available network/interface_broadcast objects

func (*NetworkInterfaceBroadcasts) RefRequired

func (*NetworkInterfaceBroadcasts) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkInterfaceNetwork

type NetworkInterfaceNetwork struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address   string `json:"address"`
	Address6  string `json:"address6"`
	Comment   string `json:"comment"`
	Name      string `json:"name"`
	Netmask   int64  `json:"netmask"`
	Netmask6  int64  `json:"netmask6"`
	Resolved  bool   `json:"resolved"`
	Resolved6 bool   `json:"resolved6"`
	// contains filtered or unexported fields
}

NetworkInterfaceNetwork is a generated Sophos object

func (*NetworkInterfaceNetwork) DeletePath

func (*NetworkInterfaceNetwork) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkInterfaceNetwork DELETE path Creates or updates the complete object interface_network

func (*NetworkInterfaceNetwork) GetPath

func (n *NetworkInterfaceNetwork) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceNetworks GET path Returns all available interface_network types

func (*NetworkInterfaceNetwork) GetType

func (n *NetworkInterfaceNetwork) GetType() string

GetType implements sophos.Object

func (*NetworkInterfaceNetwork) PatchPath

func (*NetworkInterfaceNetwork) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkInterfaceNetwork PATCH path Changes to parts of the object interface_network types

func (*NetworkInterfaceNetwork) PostPath

func (*NetworkInterfaceNetwork) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkInterfaceNetwork POST path Create a new network/interface_network object

func (*NetworkInterfaceNetwork) PutPath

func (*NetworkInterfaceNetwork) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkInterfaceNetwork PUT path Creates or updates the complete object interface_network

func (*NetworkInterfaceNetwork) RefRequired

func (n *NetworkInterfaceNetwork) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkInterfaceNetwork) UsedByPath

func (*NetworkInterfaceNetwork) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkInterfaceNetworks

type NetworkInterfaceNetworks []NetworkInterfaceNetwork

NetworkInterfaceNetworks is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkInterfaceNetworks) GetPath

func (*NetworkInterfaceNetworks) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkInterfaceNetworks GET path Returns all available network/interface_network objects

func (*NetworkInterfaceNetworks) RefRequired

func (*NetworkInterfaceNetworks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkMulticast

type NetworkMulticast []interface{}

NetworkMulticast is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkMulticast) DeletePath

func (*NetworkMulticast) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkMulticast DELETE path Creates or updates the complete object multicast

func (*NetworkMulticast) GetPath

func (*NetworkMulticast) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkMulticast GET path Returns all available network/multicast objects

func (*NetworkMulticast) PatchPath

func (*NetworkMulticast) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkMulticast PATCH path Changes to parts of the object multicast types

func (*NetworkMulticast) PostPath

func (*NetworkMulticast) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkMulticast POST path Create a new network/multicast object

func (*NetworkMulticast) PutPath

func (*NetworkMulticast) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkMulticast PUT path Creates or updates the complete object multicast

func (*NetworkMulticast) RefRequired

func (*NetworkMulticast) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkMulticast) UsedByPath

func (*NetworkMulticast) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkNetwork

type NetworkNetwork struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Address   string `json:"address"`
	Address6  string `json:"address6"`
	Comment   string `json:"comment"`
	Interface string `json:"interface"`
	Name      string `json:"name"`
	Netmask   int64  `json:"netmask"`
	Netmask6  int64  `json:"netmask6"`
	Resolved  bool   `json:"resolved"`
	Resolved6 bool   `json:"resolved6"`
	// contains filtered or unexported fields
}

NetworkNetwork is a generated Sophos object

func (*NetworkNetwork) DeletePath

func (*NetworkNetwork) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkNetwork DELETE path Creates or updates the complete object network

func (*NetworkNetwork) GetPath

func (n *NetworkNetwork) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkNetworks GET path Returns all available network types

func (*NetworkNetwork) GetType

func (n *NetworkNetwork) GetType() string

GetType implements sophos.Object

func (*NetworkNetwork) PatchPath

func (*NetworkNetwork) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkNetwork PATCH path Changes to parts of the object network types

func (*NetworkNetwork) PostPath

func (*NetworkNetwork) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkNetwork POST path Create a new network/network object

func (*NetworkNetwork) PutPath

func (*NetworkNetwork) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkNetwork PUT path Creates or updates the complete object network

func (*NetworkNetwork) RefRequired

func (n *NetworkNetwork) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkNetwork) UsedByPath

func (*NetworkNetwork) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkNetworks

type NetworkNetworks []NetworkNetwork

NetworkNetworks is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkNetworks) GetPath

func (*NetworkNetworks) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkNetworks GET path Returns all available network/network objects

func (*NetworkNetworks) RefRequired

func (*NetworkNetworks) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type NetworkRange

type NetworkRange struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment   string `json:"comment"`
	From      string `json:"from"`
	From6     string `json:"from6"`
	Interface string `json:"interface"`
	Name      string `json:"name"`
	Resolved  bool   `json:"resolved"`
	Resolved6 bool   `json:"resolved6"`
	To        string `json:"to"`
	To6       string `json:"to6"`
	// contains filtered or unexported fields
}

NetworkRange is a generated Sophos object

func (*NetworkRange) DeletePath

func (*NetworkRange) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NetworkRange DELETE path Creates or updates the complete object range

func (*NetworkRange) GetPath

func (n *NetworkRange) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkRanges GET path Returns all available range types

func (*NetworkRange) GetType

func (n *NetworkRange) GetType() string

GetType implements sophos.Object

func (*NetworkRange) PatchPath

func (*NetworkRange) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NetworkRange PATCH path Changes to parts of the object range types

func (*NetworkRange) PostPath

func (*NetworkRange) PostPath() string

PostPath implements sophos.RestObject and returns the NetworkRange POST path Create a new network/range object

func (*NetworkRange) PutPath

func (*NetworkRange) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NetworkRange PUT path Creates or updates the complete object range

func (*NetworkRange) RefRequired

func (n *NetworkRange) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NetworkRange) UsedByPath

func (*NetworkRange) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NetworkRanges

type NetworkRanges []NetworkRange

NetworkRanges is an Sophos Endpoint subType and implements sophos.RestObject

func (*NetworkRanges) GetPath

func (*NetworkRanges) GetPath() string

GetPath implements sophos.RestObject and returns the NetworkRanges GET path Returns all available network/range objects

func (*NetworkRanges) RefRequired

func (*NetworkRanges) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Nodes

type Nodes struct {
	AccServer1AuthSecret                           string            `json:"acc.server1.auth.secret"`
	AccServer1AuthStatus                           bool              `json:"acc.server1.auth.status"`
	AccServer1Port                                 int64             `json:"acc.server1.port"`
	AccServer1Roles                                []string          `json:"acc.server1.roles"`
	AccServer1Server                               string            `json:"acc.server1.server"`
	AccServer2AuthSecret                           string            `json:"acc.server2.auth.secret"`
	AccServer2AuthStatus                           bool              `json:"acc.server2.auth.status"`
	AccServer2Port                                 int64             `json:"acc.server2.port"`
	AccServer2Roles                                []string          `json:"acc.server2.roles"`
	AccServer2Server                               string            `json:"acc.server2.server"`
	AccServer2Status                               bool              `json:"acc.server2.status"`
	AccSsoAdminGroup                               string            `json:"acc.sso_admin_group"`
	AccSsoAuditorGroup                             string            `json:"acc.sso_auditor_group"`
	AccStatus                                      bool              `json:"acc.status"`
	AccdAccessAllowedAdmins                        []interface{}     `json:"accd.access.allowed_admins"`
	AccdAccessAllowedNetworks                      []interface{}     `json:"accd.access.allowed_networks"`
	AccdAccessAllowedUsers                         []interface{}     `json:"accd.access.allowed_users"`
	AccdAccessCert                                 string            `json:"accd.access.cert"`
	AccdAccessPort                                 int64             `json:"accd.access.port"`
	AccdDevicesAllowedNetworks                     []interface{}     `json:"accd.devices.allowed_networks"`
	AccdDevicesAuthAuto                            bool              `json:"accd.devices.auth.auto"`
	AccdDevicesAuthSecret                          string            `json:"accd.devices.auth.secret"`
	AccdDevicesAuthStatus                          bool              `json:"accd.devices.auth.status"`
	AccdDevicesCert                                string            `json:"accd.devices.cert"`
	AccdDevicesPort                                int64             `json:"accd.devices.port"`
	AccdGeneralAllowedNetworks                     []interface{}     `json:"accd.general.allowed_networks"`
	AccdGeneralCert                                string            `json:"accd.general.cert"`
	AccdGeneralLanguage                            string            `json:"accd.general.language"`
	AccdGeneralPort                                int64             `json:"accd.general.port"`
	AccdGeneralTimeout                             int64             `json:"accd.general.timeout"`
	AccountingIpfixConnections                     []interface{}     `json:"accounting.ipfix.connections"`
	AccountingIpfixStatus                          bool              `json:"accounting.ipfix.status"`
	AfcControlledNetworks                          []string          `json:"afc.controlled_networks"`
	AfcHiddenSkip                                  []string          `json:"afc.hidden_skip"`
	AfcHttpRedirectURL                             string            `json:"afc.http_redirect_url"`
	AfcLog                                         string            `json:"afc.log"`
	AfcNfqueueLength                               int64             `json:"afc.nfqueue_length"`
	AfcNumQueues                                   struct{}          `json:"afc.num_queues"`
	AfcRules                                       []string          `json:"afc.rules"`
	AfcStatus                                      bool              `json:"afc.status"`
	AfcSubmitUnknownTrafficData                    bool              `json:"afc.submit_unknown_traffic_data"`
	AfcTransparentSkip                             []interface{}     `json:"afc.transparent_skip"`
	AmazonVpcAutoPfrule                            bool              `json:"amazon_vpc.auto_pfrule"`
	AmazonVpcConnections                           []string          `json:"amazon_vpc.connections"`
	AmazonVpcNetworks                              []string          `json:"amazon_vpc.networks"`
	AmazonVpcStatus                                bool              `json:"amazon_vpc.status"`
	AptpPolicy                                     string            `json:"aptp.policy"`
	AptpRuleModifiers                              []interface{}     `json:"aptp.rule_modifiers"`
	AptpStatus                                     bool              `json:"aptp.status"`
	AptpTransparentSkip                            []interface{}     `json:"aptp.transparent_skip"`
	ArmLicensedIP                                  string            `json:"arm.licensed_ip"`
	ArmRemoteHost                                  string            `json:"arm.remote.host"`
	ArmRemoteMethod                                string            `json:"arm.remote.method"`
	ArmRemoteSmbPassword                           string            `json:"arm.remote.smb_password"`
	ArmRemoteSmbShare                              string            `json:"arm.remote.smb_share"`
	ArmRemoteSmbUser                               string            `json:"arm.remote.smb_user"`
	ArmRemoteStatus                                bool              `json:"arm.remote.status"`
	ArmRemoteSyslogService                         string            `json:"arm.remote.syslog_service"`
	ArmStatus                                      bool              `json:"arm.status"`
	AuthAdSsoForceUtf8Sync                         bool              `json:"auth.ad_sso.force_utf8_sync"`
	AuthAdSsoJoinresult                            string            `json:"auth.ad_sso.joinresult"`
	AuthAdSsoLoadbalancerFqdn                      string            `json:"auth.ad_sso.loadbalancer_fqdn"`
	AuthAdSsoNtlmv2Auth                            bool              `json:"auth.ad_sso.ntlmv2_auth"`
	AuthAdSsoSecrets                               string            `json:"auth.ad_sso.secrets"`
	AuthAdSsoSmbconf                               string            `json:"auth.ad_sso.smbconf"`
	AuthAdSsoSsoDomain                             string            `json:"auth.ad_sso.sso_domain"`
	AuthAdSsoSsoNetbiosDomain                      string            `json:"auth.ad_sso.sso_netbios_domain"`
	AuthAdSsoSsoNetbiosHost                        string            `json:"auth.ad_sso.sso_netbios_host"`
	AuthAdSsoSsoPassword                           string            `json:"auth.ad_sso.sso_password"`
	AuthAdSsoSsoServer                             string            `json:"auth.ad_sso.sso_server"`
	AuthAdSsoSsoStatus                             bool              `json:"auth.ad_sso.sso_status"`
	AuthAdSsoSsoSync                               bool              `json:"auth.ad_sso.sso_sync"`
	AuthAdSsoSsoUsername                           string            `json:"auth.ad_sso.sso_username"`
	AuthApiTokens                                  map[string]string `json:"auth.api_tokens"`
	AuthAutoAddToFacility                          []string          `json:"auth.auto_add_to_facility"`
	AuthAutoAddUsers                               bool              `json:"auth.auto_add_users"`
	AuthBlockAttempts                              int64             `json:"auth.block.attempts"`
	AuthBlockFacilities                            []string          `json:"auth.block.facilities"`
	AuthBlockLockout                               bool              `json:"auth.block.lockout"`
	AuthBlockNever                                 []interface{}     `json:"auth.block.never"`
	AuthBlockSeconds                               int64             `json:"auth.block.seconds"`
	AuthCacheLifetime                              int64             `json:"auth.cache_lifetime"`
	AuthEdirSsoEmConflict                          string            `json:"auth.edir_sso.em_conflict"`
	AuthEdirSsoEmSocketTimeout                     int64             `json:"auth.edir_sso.em_socket_timeout"`
	AuthEdirSsoEmVerifyLogout                      bool              `json:"auth.edir_sso.em_verify_logout"`
	AuthEdirSsoSsoAuaSearchIP                      bool              `json:"auth.edir_sso.sso_aua_search_ip"`
	AuthEdirSsoSsoMode                             string            `json:"auth.edir_sso.sso_mode"`
	AuthEdirSsoSsoServer                           string            `json:"auth.edir_sso.sso_server"`
	AuthEdirSsoSyncInterval                        int64             `json:"auth.edir_sso.sync_interval"`
	AuthOtpAutoCreateToken                         bool              `json:"auth.otp.auto_create_token"`
	AuthOtpAutoTokenDigest                         string            `json:"auth.otp.auto_token_digest"`
	AuthOtpDefaultTimestep                         int64             `json:"auth.otp.default_timestep"`
	AuthOtpFacilities                              []string          `json:"auth.otp.facilities"`
	AuthOtpMaxInitTimestepDiff                     int64             `json:"auth.otp.max_init_timestep_diff"`
	AuthOtpMaxTimestepDiff                         int64             `json:"auth.otp.max_timestep_diff"`
	AuthOtpRequireAllUsers                         bool              `json:"auth.otp.require_all_users"`
	AuthOtpRequiredUsers                           []interface{}     `json:"auth.otp.required_users"`
	AuthOtpStatus                                  bool              `json:"auth.otp.status"`
	AuthServers                                    []interface{}     `json:"auth.servers"`
	AuthUpdateBackendGroupMembersDebug             bool              `json:"auth.update_backend_group_members.debug"`
	AuthUpdateBackendGroupMembersStatus            bool              `json:"auth.update_backend_group_members.status"`
	AweAllowedInterfaces                           []interface{}     `json:"awe.allowed_interfaces"`
	AweClients                                     []interface{}     `json:"awe.clients"`
	AweDevices                                     []interface{}     `json:"awe.devices"`
	AweGlobalApAutoaccept                          bool              `json:"awe.global.ap_autoaccept"`
	AweGlobalApDebuglevel                          struct{}          `json:"awe.global.ap_debuglevel"`
	AweGlobalApSoftlimit                           int64             `json:"awe.global.ap_softlimit"`
	AweGlobalApVlantag                             int64             `json:"awe.global.ap_vlantag"`
	AweGlobalAweStatus                             struct{}          `json:"awe.global.awe_status"`
	AweGlobalBridgeUpdateKickout                   bool              `json:"awe.global.bridge_update_kickout"`
	AweGlobalInitialSetup                          bool              `json:"awe.global.initial_setup"`
	AweGlobalLogLevel                              int64             `json:"awe.global.log_level"`
	AweGlobalMagicIP                               string            `json:"awe.global.magic_ip"`
	AweGlobalNotificationTimeout                   int64             `json:"awe.global.notification_timeout"`
	AweGlobalRadiusConf                            string            `json:"awe.global.radius_conf"`
	AweGlobalRootpw                                string            `json:"awe.global.rootpw"`
	AweGlobalStayOnline                            bool              `json:"awe.global.stay_online"`
	AweGlobalStoreBssStats                         bool              `json:"awe.global.store_bss_stats"`
	AweGlobalTunnelIDOffset                        int64             `json:"awe.global.tunnel_id_offset"`
	AweGlobalVlantagging                           bool              `json:"awe.global.vlantagging"`
	AweNetworks                                    []string          `json:"awe.networks"`
	AwscliProfiles                                 []interface{}     `json:"awscli.profiles"`
	BackupEncryption                               bool              `json:"backup.encryption"`
	BackupInterval                                 string            `json:"backup.interval"`
	BackupMaxBackups                               int64             `json:"backup.max_backups"`
	BackupPassword                                 string            `json:"backup.password"`
	BackupRecipients                               []string          `json:"backup.recipients"`
	BackupStatus                                   bool              `json:"backup.status"`
	CaCaGost                                       string            `json:"ca.ca_gost"`
	CaCaIpsec                                      string            `json:"ca.ca_ipsec"`
	CaCaProxies                                    string            `json:"ca.ca_proxies"`
	CaCaRed                                        string            `json:"ca.ca_red"`
	CaDefKeysize                                   int64             `json:"ca.def_keysize"`
	CaGlobalCasEmailEncryptionTrustNewCas          bool              `json:"ca.global_cas.email_encryption.trust_new_cas"`
	CaGlobalCasEmailEncryptionTrusted              []interface{}     `json:"ca.global_cas.email_encryption.trusted"`
	CaGlobalCasEmailEncryptionUntrusted            []interface{}     `json:"ca.global_cas.email_encryption.untrusted"`
	CaGlobalCasHttpProxyTrustNewCas                bool              `json:"ca.global_cas.http_proxy.trust_new_cas"`
	CaGlobalCasHttpProxyTrusted                    []interface{}     `json:"ca.global_cas.http_proxy.trusted"`
	CaGlobalCasHttpProxyUntrusted                  []interface{}     `json:"ca.global_cas.http_proxy.untrusted"`
	CrlsCrls                                       []interface{}     `json:"crls.crls"`
	CSSAvPrimaryEngine                             string            `json:"css.av_primary_engine"`
	CSSSxlLiveprotection                           bool              `json:"css.sxl_liveprotection"`
	CSSSxlSampleSubmit                             bool              `json:"css.sxl_sample_submit"`
	CustomizationEppLastUpdated                    int64             `json:"customization.epp.last_updated"`
	CustomizationEppResourcesRoot                  string            `json:"customization.epp.resources_root"`
	CustomizationHttpCustomAssets                  struct{}          `json:"customization.http.custom_assets"`
	CustomizationHttpCustomTemplates               struct{}          `json:"customization.http.custom_templates"`
	CustomizationHttpLastUpdated                   int64             `json:"customization.http.last_updated"`
	DebugmodeCrashReport                           bool              `json:"debugmode.crash_report"`
	DebugmodeEnabled                               bool              `json:"debugmode.enabled"`
	DhcpRelayDhcpServer                            string            `json:"dhcp.relay.dhcp_server"`
	DhcpRelayInterfaces                            []interface{}     `json:"dhcp.relay.interfaces"`
	DhcpRelayStatus                                bool              `json:"dhcp.relay.status"`
	DhcpRelay6ItfsFacingClients                    []interface{}     `json:"dhcp.relay6.itfs_facing_clients"`
	DhcpRelay6ItfsFacingServer6                    []interface{}     `json:"dhcp.relay6.itfs_facing_server6"`
	DhcpRelay6Status                               bool              `json:"dhcp.relay6.status"`
	DhcpServerCustom4                              string            `json:"dhcp.server.custom4"`
	DhcpServerCustom6                              string            `json:"dhcp.server.custom6"`
	DhcpServerServers                              []string          `json:"dhcp.server.servers"`
	DigestAllowedNetworks                          []interface{}     `json:"digest.allowed_networks"`
	DigestCustomText                               string            `json:"digest.custom_text"`
	DigestDomains                                  []string          `json:"digest.domains"`
	DigestHostname                                 string            `json:"digest.hostname"`
	DigestMailinglists                             []interface{}     `json:"digest.mailinglists"`
	DigestPort                                     int64             `json:"digest.port"`
	DigestSendTimeOne                              string            `json:"digest.send_time_one"`
	DigestSendTimeTwo                              string            `json:"digest.send_time_two"`
	DigestSkiplist                                 []interface{}     `json:"digest.skiplist"`
	DigestStatus                                   bool              `json:"digest.status"`
	DigestUserRelease                              []string          `json:"digest.user_release"`
	DNSAllowedNetworks                             []string          `json:"dns.allowed_networks"`
	DNSAxfr                                        []interface{}     `json:"dns.axfr"`
	DNSDnssec                                      bool              `json:"dns.dnssec"`
	DNSEmail                                       string            `json:"dns.email"`
	DNSEmptyZones                                  string            `json:"dns.empty_zones"`
	DNSFwdDynamic                                  bool              `json:"dns.fwd_dynamic"`
	DNSFwdStatic                                   []string          `json:"dns.fwd_static"`
	DNSRecheckInterval                             int64             `json:"dns.recheck_interval"`
	DNSRoutes                                      []string          `json:"dns.routes"`
	DyndnsRules                                    []interface{}     `json:"dyndns.rules"`
	EmailpkiAuthorityCert                          string            `json:"emailpki.authority.cert"`
	EmailpkiAuthorityFingerprint                   string            `json:"emailpki.authority.fingerprint"`
	EmailpkiAuthorityKey                           string            `json:"emailpki.authority.key"`
	EmailpkiAuthorityPostmasterFingerprint         string            `json:"emailpki.authority.postmaster_fingerprint"`
	EmailpkiAuthorityPostmasterPrivkey             string            `json:"emailpki.authority.postmaster_privkey"`
	EmailpkiAuthorityPostmasterPubkey              string            `json:"emailpki.authority.postmaster_pubkey"`
	EmailpkiGlobalCity                             string            `json:"emailpki.global.city"`
	EmailpkiGlobalCountry                          string            `json:"emailpki.global.country"`
	EmailpkiGlobalOrganization                     string            `json:"emailpki.global.organization"`
	EmailpkiGlobalPostmaster                       string            `json:"emailpki.global.postmaster"`
	EmailpkiGlobalStatus                           bool              `json:"emailpki.global.status"`
	EmailpkiObjectsCas                             []string          `json:"emailpki.objects.cas"`
	EmailpkiObjectsOpenpgp                         []interface{}     `json:"emailpki.objects.openpgp"`
	EmailpkiObjectsSmime                           []interface{}     `json:"emailpki.objects.smime"`
	EmailpkiObjectsUsers                           []interface{}     `json:"emailpki.objects.users"`
	EmailpkiOpenpgpMainKeysize                     int64             `json:"emailpki.openpgp.main_keysize"`
	EmailpkiOpenpgpSubKeysize                      int64             `json:"emailpki.openpgp.sub_keysize"`
	EmailpkiOptionsExternalAuto                    bool              `json:"emailpki.options.external_auto"`
	EmailpkiOptionsKeyserver                       string            `json:"emailpki.options.keyserver"`
	EmailpkiOptionsPolicyDecryption                bool              `json:"emailpki.options.policy_decryption"`
	EmailpkiOptionsPolicyEncryption                bool              `json:"emailpki.options.policy_encryption"`
	EmailpkiOptionsPolicySign                      bool              `json:"emailpki.options.policy_sign"`
	EmailpkiOptionsPolicyVerify                    bool              `json:"emailpki.options.policy_verify"`
	EndpointAacAllowedNetworks                     []string          `json:"endpoint.aac.allowed_networks"`
	EndpointAacAllowedUsers                        []string          `json:"endpoint.aac.allowed_users"`
	EndpointAacCa                                  string            `json:"endpoint.aac.ca"`
	EndpointAacCert                                string            `json:"endpoint.aac.cert"`
	EndpointAacMagicIP                             string            `json:"endpoint.aac.magic_ip"`
	EndpointAacMaxUserLogins                       int64             `json:"endpoint.aac.max_user_logins"`
	EndpointAacStatus                              bool              `json:"endpoint.aac.status"`
	EndpointStasCollectors                         []interface{}     `json:"endpoint.stas.collectors"`
	EndpointStasStatus                             bool              `json:"endpoint.stas.status"`
	EnduserMessagesCompanyText                     string            `json:"enduser_messages.company_text"`
	EnduserMessagesDlpBlackholePart                string            `json:"enduser_messages.dlp.blackhole_part"`
	EnduserMessagesDlpFooterPart                   string            `json:"enduser_messages.dlp.footer_part"`
	EnduserMessagesDlpHeaderPart                   string            `json:"enduser_messages.dlp.header_part"`
	EnduserMessagesDlpOriginalPart                 string            `json:"enduser_messages.dlp.original_part"`
	EnduserMessagesDlpSpxPart                      string            `json:"enduser_messages.dlp.spx_part"`
	EnduserMessagesDlpSubject                      string            `json:"enduser_messages.dlp.subject"`
	EnduserMessagesHttpAppDesc                     string            `json:"enduser_messages.http.app_desc"`
	EnduserMessagesHttpAppSubject                  string            `json:"enduser_messages.http.app_subject"`
	EnduserMessagesHttpBlacklistDesc               string            `json:"enduser_messages.http.blacklist_desc"`
	EnduserMessagesHttpBlacklistSubject            string            `json:"enduser_messages.http.blacklist_subject"`
	EnduserMessagesHttpCertfailSubject             string            `json:"enduser_messages.http.certfail_subject"`
	EnduserMessagesHttpCffOverrideDesc             string            `json:"enduser_messages.http.cff_override_desc"`
	EnduserMessagesHttpCffOverrideSubject          string            `json:"enduser_messages.http.cff_override_subject"`
	EnduserMessagesHttpCffOverrideTerms            string            `json:"enduser_messages.http.cff_override_terms"`
	EnduserMessagesHttpDownloadCompleteDesc        string            `json:"enduser_messages.http.download_complete_desc"`
	EnduserMessagesHttpDownloadCompleteSubject     string            `json:"enduser_messages.http.download_complete_subject"`
	EnduserMessagesHttpDownloadDesc                string            `json:"enduser_messages.http.download_desc"`
	EnduserMessagesHttpDownloadSubject             string            `json:"enduser_messages.http.download_subject"`
	EnduserMessagesHttpErrorDesc                   string            `json:"enduser_messages.http.error_desc"`
	EnduserMessagesHttpErrorSubject                string            `json:"enduser_messages.http.error_subject"`
	EnduserMessagesHttpFileextensionDesc           string            `json:"enduser_messages.http.fileextension_desc"`
	EnduserMessagesHttpFileextensionSubject        string            `json:"enduser_messages.http.fileextension_subject"`
	EnduserMessagesHttpFileextensionWarnDesc       string            `json:"enduser_messages.http.fileextension_warn_desc"`
	EnduserMessagesHttpFileextensionWarnSubject    string            `json:"enduser_messages.http.fileextension_warn_subject"`
	EnduserMessagesHttpFilesizeDesc                string            `json:"enduser_messages.http.filesize_desc"`
	EnduserMessagesHttpFilesizeSubject             string            `json:"enduser_messages.http.filesize_subject"`
	EnduserMessagesHttpGeoipDesc                   string            `json:"enduser_messages.http.geoip_desc"`
	EnduserMessagesHttpGeoipSubject                string            `json:"enduser_messages.http.geoip_subject"`
	EnduserMessagesHttpMimetypeDesc                string            `json:"enduser_messages.http.mimetype_desc"`
	EnduserMessagesHttpMimetypeSubject             string            `json:"enduser_messages.http.mimetype_subject"`
	EnduserMessagesHttpMimetypeWarnDesc            string            `json:"enduser_messages.http.mimetype_warn_desc"`
	EnduserMessagesHttpMimetypeWarnSubject         string            `json:"enduser_messages.http.mimetype_warn_subject"`
	EnduserMessagesHttpPuaDesc                     string            `json:"enduser_messages.http.pua_desc"`
	EnduserMessagesHttpPuaSubject                  string            `json:"enduser_messages.http.pua_subject"`
	EnduserMessagesHttpQuotaBlockDesc              string            `json:"enduser_messages.http.quota_block_desc"`
	EnduserMessagesHttpQuotaBlockSubject           string            `json:"enduser_messages.http.quota_block_subject"`
	EnduserMessagesHttpQuotaWarnDesc               string            `json:"enduser_messages.http.quota_warn_desc"`
	EnduserMessagesHttpQuotaWarnSubject            string            `json:"enduser_messages.http.quota_warn_subject"`
	EnduserMessagesHttpSpDesc                      string            `json:"enduser_messages.http.sp_desc"`
	EnduserMessagesHttpSpFrameSubject              string            `json:"enduser_messages.http.sp_frame_subject"`
	EnduserMessagesHttpSpSubject                   string            `json:"enduser_messages.http.sp_subject"`
	EnduserMessagesHttpSpWarnDesc                  string            `json:"enduser_messages.http.sp_warn_desc"`
	EnduserMessagesHttpSpWarnSubject               string            `json:"enduser_messages.http.sp_warn_subject"`
	EnduserMessagesHttpSslCertraw                  string            `json:"enduser_messages.http.ssl_certraw"`
	EnduserMessagesHttpSslCertstatus               string            `json:"enduser_messages.http.ssl_certstatus"`
	EnduserMessagesHttpSslIssuer                   string            `json:"enduser_messages.http.ssl_issuer"`
	EnduserMessagesHttpSslMd5Fp                    string            `json:"enduser_messages.http.ssl_md5fp"`
	EnduserMessagesHttpSslSha1Fp                   string            `json:"enduser_messages.http.ssl_sha1fp"`
	EnduserMessagesHttpSslSubject                  string            `json:"enduser_messages.http.ssl_subject"`
	EnduserMessagesHttpSslValidfrom                string            `json:"enduser_messages.http.ssl_validfrom"`
	EnduserMessagesHttpSslValiduntil               string            `json:"enduser_messages.http.ssl_validuntil"`
	EnduserMessagesHttpThreatDesc                  string            `json:"enduser_messages.http.threat_desc"`
	EnduserMessagesHttpThreatSubject               string            `json:"enduser_messages.http.threat_subject"`
	EnduserMessagesHttpTransparentAuthDesc         string            `json:"enduser_messages.http.transparent_auth_desc"`
	EnduserMessagesHttpTransparentAuthSubject      string            `json:"enduser_messages.http.transparent_auth_subject"`
	EnduserMessagesHttpTransparentAuthTerms        string            `json:"enduser_messages.http.transparent_auth_terms"`
	EnduserMessagesHttpVirusDesc                   string            `json:"enduser_messages.http.virus_desc"`
	EnduserMessagesHttpVirusSubject                string            `json:"enduser_messages.http.virus_subject"`
	EnduserMessagesHttpVirusscanDesc               string            `json:"enduser_messages.http.virusscan_desc"`
	EnduserMessagesHttpVirusscanSubject            string            `json:"enduser_messages.http.virusscan_subject"`
	EnduserMessagesMailReleaseErrDesc              string            `json:"enduser_messages.mail.release_err_desc"`
	EnduserMessagesMailReleaseErrSubject           string            `json:"enduser_messages.mail.release_err_subject"`
	EnduserMessagesMailReleasedDesc                string            `json:"enduser_messages.mail.released_desc"`
	EnduserMessagesMailReleasedSubject             string            `json:"enduser_messages.mail.released_subject"`
	EnduserMessagesPop3BlockedDesc                 string            `json:"enduser_messages.pop3.blocked_desc"`
	EnduserMessagesPop3BlockedSubject              string            `json:"enduser_messages.pop3.blocked_subject"`
	EnduserMessagesSpxInternalErrorBody            string            `json:"enduser_messages.spx.internal_error.body"`
	EnduserMessagesSpxInternalErrorSubject         string            `json:"enduser_messages.spx.internal_error.subject"`
	EnduserMessagesSpxInternalErrorSenderBody      string            `json:"enduser_messages.spx.internal_error_sender.body"`
	EnduserMessagesSpxInternalErrorSenderSubject   string            `json:"enduser_messages.spx.internal_error_sender.subject"`
	EnduserMessagesSpxPasswordNoSpecCharsBody      string            `json:"enduser_messages.spx.password_no_spec_chars.body"`
	EnduserMessagesSpxPasswordNoSpecCharsSubject   string            `json:"enduser_messages.spx.password_no_spec_chars.subject"`
	EnduserMessagesSpxPasswordNotLongEnoughBody    string            `json:"enduser_messages.spx.password_not_long_enough.body"`
	EnduserMessagesSpxPasswordNotLongEnoughSubject string            `json:"enduser_messages.spx.password_not_long_enough.subject"`
	EnduserMessagesSpxPasswordNotPresentedBody     string            `json:"enduser_messages.spx.password_not_presented.body"`
	EnduserMessagesSpxPasswordNotPresentedSubject  string            `json:"enduser_messages.spx.password_not_presented.subject"`
	EnduserMessagesSpxUrlNotFoundMessage           string            `json:"enduser_messages.spx.url_not_found.message"`
	EnduserMessagesSquidCacheAdmin                 string            `json:"enduser_messages.squid.cache_admin"`
	EnduserMessagesSquidCacheAdminMessage          string            `json:"enduser_messages.squid.cache_admin_message"`
	EppAllowedNetworks                             []string          `json:"epp.allowed_networks"`
	EppCertificate                                 string            `json:"epp.certificate"`
	EppCity                                        string            `json:"epp.city"`
	EppCountry                                     string            `json:"epp.country"`
	EppDefaultEndpointsGroup                       string            `json:"epp.default_endpoints_group"`
	EppDevices                                     []interface{}     `json:"epp.devices"`
	EppEmail                                       string            `json:"epp.email"`
	EppEndpoints                                   []interface{}     `json:"epp.endpoints"`
	EppEndpointsGroups                             []string          `json:"epp.endpoints_groups"`
	EppExceptionsAv                                []interface{}     `json:"epp.exceptions.av"`
	EppExceptionsDc                                []interface{}     `json:"epp.exceptions.dc"`
	EppFallbackURL                                 string            `json:"epp.fallback_url"`
	EppMagnetPassword                              string            `json:"epp.magnet_password"`
	EppMagnetUsername                              string            `json:"epp.magnet_username"`
	EppOrganization                                string            `json:"epp.organization"`
	EppParentProxyHost                             string            `json:"epp.parent_proxy_host"`
	EppParentProxyPort                             int64             `json:"epp.parent_proxy_port"`
	EppParentProxyStatus                           bool              `json:"epp.parent_proxy_status"`
	EppPoliciesAv                                  []string          `json:"epp.policies.av"`
	EppPoliciesDc                                  []string          `json:"epp.policies.dc"`
	EppPort                                        int64             `json:"epp.port"`
	EppPrivateKey                                  string            `json:"epp.private_key"`
	EppRegistrationToken                           string            `json:"epp.registration_token"`
	EppStatusAv                                    bool              `json:"epp.status.av"`
	EppStatusBroker                                bool              `json:"epp.status.broker"`
	EppStatusDc                                    bool              `json:"epp.status.dc"`
	EppStatusEpp                                   bool              `json:"epp.status.epp"`
	EppStatusWc                                    bool              `json:"epp.status.wc"`
	EppTamperPassword                              string            `json:"epp.tamper_password"`
	EppVersion                                     string            `json:"epp.version"`
	EppWdxToken                                    string            `json:"epp.wdx_token"`
	ExecutiveReportDailyArchive                    bool              `json:"executive_report.daily.archive"`
	ExecutiveReportDailyKeep                       int64             `json:"executive_report.daily.keep"`
	ExecutiveReportDailyPdfrecipients              []interface{}     `json:"executive_report.daily.pdfrecipients"`
	ExecutiveReportDailyRecipients                 []string          `json:"executive_report.daily.recipients"`
	ExecutiveReportDailyStatus                     bool              `json:"executive_report.daily.status"`
	ExecutiveReportMonthlyArchive                  bool              `json:"executive_report.monthly.archive"`
	ExecutiveReportMonthlyKeep                     int64             `json:"executive_report.monthly.keep"`
	ExecutiveReportMonthlyPdfrecipients            []interface{}     `json:"executive_report.monthly.pdfrecipients"`
	ExecutiveReportMonthlyRecipients               []interface{}     `json:"executive_report.monthly.recipients"`
	ExecutiveReportMonthlyStatus                   bool              `json:"executive_report.monthly.status"`
	ExecutiveReportWeeklyArchive                   bool              `json:"executive_report.weekly.archive"`
	ExecutiveReportWeeklyFirstDayOfWeek            struct{}          `json:"executive_report.weekly.first_day_of_week"`
	ExecutiveReportWeeklyKeep                      int64             `json:"executive_report.weekly.keep"`
	ExecutiveReportWeeklyPdfrecipients             []interface{}     `json:"executive_report.weekly.pdfrecipients"`
	ExecutiveReportWeeklyRecipients                []interface{}     `json:"executive_report.weekly.recipients"`
	ExecutiveReportWeeklyStatus                    bool              `json:"executive_report.weekly.status"`
	FloodProtectionIcmpDstBurst                    int64             `json:"flood_protection.icmp.dst_burst"`
	FloodProtectionIcmpDstExpire                   int64             `json:"flood_protection.icmp.dst_expire"`
	FloodProtectionIcmpDstGcInterval               int64             `json:"flood_protection.icmp.dst_gc_interval"`
	FloodProtectionIcmpDstRate                     int64             `json:"flood_protection.icmp.dst_rate"`
	FloodProtectionIcmpLog                         string            `json:"flood_protection.icmp.log"`
	FloodProtectionIcmpLogLimitBurst               int64             `json:"flood_protection.icmp.log_limit_burst"`
	FloodProtectionIcmpLogLimitRate                int64             `json:"flood_protection.icmp.log_limit_rate"`
	FloodProtectionIcmpMode                        string            `json:"flood_protection.icmp.mode"`
	FloodProtectionIcmpSrcBurst                    int64             `json:"flood_protection.icmp.src_burst"`
	FloodProtectionIcmpSrcExpire                   int64             `json:"flood_protection.icmp.src_expire"`
	FloodProtectionIcmpSrcGcInterval               int64             `json:"flood_protection.icmp.src_gc_interval"`
	FloodProtectionIcmpSrcRate                     int64             `json:"flood_protection.icmp.src_rate"`
	FloodProtectionIcmpStatus                      bool              `json:"flood_protection.icmp.status"`
	FloodProtectionSynDstBurst                     int64             `json:"flood_protection.syn.dst_burst"`
	FloodProtectionSynDstExpire                    int64             `json:"flood_protection.syn.dst_expire"`
	FloodProtectionSynDstGcInterval                int64             `json:"flood_protection.syn.dst_gc_interval"`
	FloodProtectionSynDstRate                      int64             `json:"flood_protection.syn.dst_rate"`
	FloodProtectionSynLog                          string            `json:"flood_protection.syn.log"`
	FloodProtectionSynLogLimitBurst                int64             `json:"flood_protection.syn.log_limit_burst"`
	FloodProtectionSynLogLimitRate                 int64             `json:"flood_protection.syn.log_limit_rate"`
	FloodProtectionSynMode                         string            `json:"flood_protection.syn.mode"`
	FloodProtectionSynSrcBurst                     int64             `json:"flood_protection.syn.src_burst"`
	FloodProtectionSynSrcExpire                    int64             `json:"flood_protection.syn.src_expire"`
	FloodProtectionSynSrcGcInterval                int64             `json:"flood_protection.syn.src_gc_interval"`
	FloodProtectionSynSrcRate                      int64             `json:"flood_protection.syn.src_rate"`
	FloodProtectionSynStatus                       bool              `json:"flood_protection.syn.status"`
	FloodProtectionUdpDstBurst                     int64             `json:"flood_protection.udp.dst_burst"`
	FloodProtectionUdpDstExpire                    int64             `json:"flood_protection.udp.dst_expire"`
	FloodProtectionUdpDstGcInterval                int64             `json:"flood_protection.udp.dst_gc_interval"`
	FloodProtectionUdpDstRate                      int64             `json:"flood_protection.udp.dst_rate"`
	FloodProtectionUdpLog                          string            `json:"flood_protection.udp.log"`
	FloodProtectionUdpLogLimitBurst                int64             `json:"flood_protection.udp.log_limit_burst"`
	FloodProtectionUdpLogLimitRate                 int64             `json:"flood_protection.udp.log_limit_rate"`
	FloodProtectionUdpMode                         string            `json:"flood_protection.udp.mode"`
	FloodProtectionUdpSrcBurst                     int64             `json:"flood_protection.udp.src_burst"`
	FloodProtectionUdpSrcExpire                    int64             `json:"flood_protection.udp.src_expire"`
	FloodProtectionUdpSrcGcInterval                int64             `json:"flood_protection.udp.src_gc_interval"`
	FloodProtectionUdpSrcRate                      int64             `json:"flood_protection.udp.src_rate"`
	FloodProtectionUdpStatus                       bool              `json:"flood_protection.udp.status"`
	FtpAllowedClients                              []interface{}     `json:"ftp.allowed_clients"`
	FtpAllowedServers                              []string          `json:"ftp.allowed_servers"`
	FtpCffAv                                       bool              `json:"ftp.cff_av"`
	FtpCffAvEngines                                string            `json:"ftp.cff_av_engines"`
	FtpCffFileExtensions                           []interface{}     `json:"ftp.cff_file_extensions"`
	FtpExceptions                                  []interface{}     `json:"ftp.exceptions"`
	FtpMaxFileSize                                 int64             `json:"ftp.max_file_size"`
	FtpMsWinMode                                   bool              `json:"ftp.ms_win_mode"`
	FtpOperationMode                               string            `json:"ftp.operation_mode"`
	FtpRestrictedServers                           []string          `json:"ftp.restricted_servers"`
	FtpStatus                                      bool              `json:"ftp.status"`
	FtpTransparentSkip                             []interface{}     `json:"ftp.transparent_skip"`
	FtpTransparentSkipAutoPf                       bool              `json:"ftp.transparent_skip_auto_pf"`
	GenericProxyRules                              []interface{}     `json:"generic_proxy.rules"`
	GeoipCountriesDst                              []string          `json:"geoip.countries_dst"`
	GeoipCountriesSrc                              []string          `json:"geoip.countries_src"`
	GeoipExceptions                                []interface{}     `json:"geoip.exceptions"`
	GeoipLog                                       string            `json:"geoip.log"`
	GeoipStatus                                    bool              `json:"geoip.status"`
	H323AllowedNetworks                            []interface{}     `json:"h323.allowed_networks"`
	H323LogRelated                                 bool              `json:"h323.log_related"`
	H323Servers                                    []interface{}     `json:"h323.servers"`
	H323Status                                     bool              `json:"h323.status"`
	HaAdvancedAutojoin                             bool              `json:"ha.advanced.autojoin"`
	HaAdvancedColdRollback                         bool              `json:"ha.advanced.cold_rollback"`
	HaAdvancedHttpPersistenceTime                  struct{}          `json:"ha.advanced.http_persistence_time"`
	HaAdvancedLoadTakeover                         int64             `json:"ha.advanced.load_takeover"`
	HaAdvancedLoadWarn                             int64             `json:"ha.advanced.load_warn"`
	HaAdvancedMaxNodes                             int64             `json:"ha.advanced.max_nodes"`
	HaAdvancedMtu                                  string            `json:"ha.advanced.mtu"`
	HaAdvancedNetconsole                           bool              `json:"ha.advanced.netconsole"`
	HaAdvancedPreempt                              string            `json:"ha.advanced.preempt"`
	HaAdvancedUniqueID                             int64             `json:"ha.advanced.unique_id"`
	HaAdvancedVirtualMac                           bool              `json:"ha.advanced.virtual_mac"`
	HaAwsCloudwatchProfile                         string            `json:"ha.aws.cloudwatch.profile"`
	HaAwsCloudwatchStatus                          bool              `json:"ha.aws.cloudwatch.status"`
	HaAwsConfdBackup                               bool              `json:"ha.aws.confd.backup"`
	HaAwsConfdBackupInterval                       int64             `json:"ha.aws.confd.backup_interval"`
	HaAwsConfdRestore                              bool              `json:"ha.aws.confd.restore"`
	HaAwsConfdRestoreDone                          bool              `json:"ha.aws.confd.restore_done"`
	HaAwsElasticIP                                 string            `json:"ha.aws.elastic_ip"`
	HaAwsPostgresArchiveTimeout                    int64             `json:"ha.aws.postgres.archive_timeout"`
	HaAwsPostgresBackup                            bool              `json:"ha.aws.postgres.backup"`
	HaAwsPostgresBaseBackupInterval                int64             `json:"ha.aws.postgres.base_backup_interval"`
	HaAwsPostgresRestore                           bool              `json:"ha.aws.postgres.restore"`
	HaAwsS3Bucket                                  string            `json:"ha.aws.s3_bucket"`
	HaAwsStackName                                 string            `json:"ha.aws.stack_name"`
	HaAwsSyslogBackup                              bool              `json:"ha.aws.syslog.backup"`
	HaAwsSyslogRestore                             bool              `json:"ha.aws.syslog.restore"`
	HaAwsSyslogRestorePeriod                       int64             `json:"ha.aws.syslog.restore_period"`
	HaAwsTrustedNetwork                            string            `json:"ha.aws.trusted_network"`
	HaClusterFtp                                   []interface{}     `json:"ha.cluster.ftp"`
	HaClusterHttp                                  []interface{}     `json:"ha.cluster.http"`
	HaClusterIpsec                                 []interface{}     `json:"ha.cluster.ipsec"`
	HaClusterPop3                                  []interface{}     `json:"ha.cluster.pop3"`
	HaClusterSmtp                                  []interface{}     `json:"ha.cluster.smtp"`
	HaClusterSnort                                 []interface{}     `json:"ha.cluster.snort"`
	HaClusterWaf                                   []interface{}     `json:"ha.cluster.waf"`
	HaDeviceName                                   string            `json:"ha.device_name"`
	HaItfhw                                        string            `json:"ha.itfhw"`
	HaItfhwBackup                                  string            `json:"ha.itfhw_backup"`
	HaMasterIP                                     string            `json:"ha.master_ip"`
	HaMode                                         string            `json:"ha.mode"`
	HaNodeID                                       struct{}          `json:"ha.node_id"`
	HaPassword                                     string            `json:"ha.password"`
	HaPostgresSecret                               string            `json:"ha.postgres_secret"`
	HaSlaveIP                                      string            `json:"ha.slave_ip"`
	HaStatus                                       string            `json:"ha.status"`
	HaSyncConntrack                                bool              `json:"ha.sync.conntrack"`
	HaSyncDatabase                                 bool              `json:"ha.sync.database"`
	HaSyncFiles                                    bool              `json:"ha.sync.files"`
	HaSyncIpsec                                    bool              `json:"ha.sync.ipsec"`
	HaSyncSyslog                                   bool              `json:"ha.sync.syslog"`
	HaTimesDeadTime                                int64             `json:"ha.times.dead_time"`
	HaTimesLoadTime                                int64             `json:"ha.times.load_time"`
	HotspotCert                                    string            `json:"hotspot.cert"`
	HotspotDeleteDays                              int64             `json:"hotspot.delete_days"`
	HotspotSslPortal                               bool              `json:"hotspot.ssl_portal"`
	HotspotStatus                                  bool              `json:"hotspot.status"`
	HotspotTransparentSkip                         []interface{}     `json:"hotspot.transparent_skip"`
	HTTPAdSsoInterfaces                            []interface{}     `json:"http.ad_sso_interfaces"`
	HTTPAdssoRedirectUseHostname                   bool              `json:"http.adsso_redirect_use_hostname"`
	HTTPAllowSsl3                                  bool              `json:"http.allow_ssl3"`
	HTTPAllowTLS12                                 bool              `json:"http.allow_tls_1_2"`
	HTTPAllowedPuas                                []interface{}     `json:"http.allowed_puas"`
	HTTPAllowedTargetServices                      []string          `json:"http.allowed_target_services"`
	HTTPAuaMaxconns                                int64             `json:"http.aua_maxconns"`
	HTTPAuaTimeout                                 int64             `json:"http.aua_timeout"`
	HTTPAuthCacheSize                              int64             `json:"http.auth_cache_size"`
	HTTPAuthCacheTTL                               int64             `json:"http.auth_cache_ttl"`
	HTTPAuthRealm                                  string            `json:"http.auth_realm"`
	HTTPAuthUsercacheTTL                           int64             `json:"http.auth_usercache_ttl"`
	HTTPBlockUnscannable                           bool              `json:"http.block_unscannable"`
	HTTPBypassStreaming                            bool              `json:"http.bypass_streaming"`
	HTTPCaList                                     []interface{}     `json:"http.ca_list"`
	HTTPCacheIgnoresCookies                        bool              `json:"http.cache_ignores_cookies"`
	HTTPCachessl                                   bool              `json:"http.cachessl"`
	HTTPCaching                                    bool              `json:"http.caching"`
	HTTPCertcache                                  string            `json:"http.certcache"`
	HTTPCertstore                                  string            `json:"http.certstore"`
	HTTPCffOverrideUsers                           []interface{}     `json:"http.cff_override_users"`
	HTTPClientTimeout                              int64             `json:"http.client_timeout"`
	HTTPConfLockWorkaround                         bool              `json:"http.conf_lock_workaround"`
	HTTPConnectTimeout                             int64             `json:"http.connect_timeout"`
	HTTPConnectV6Timeout                           struct{}          `json:"http.connect_v6_timeout"`
	HTTPConnlimit                                  int64             `json:"http.connlimit"`
	HTTPCtypeInspectBody                           bool              `json:"http.ctype_inspect_body"`
	HTTPCtypeUnpackArchive                         bool              `json:"http.ctype_unpack_archive"`
	HTTPDebug                                      []interface{}     `json:"http.debug"`
	HTTPDefaultblockaction                         string            `json:"http.defaultblockaction"`
	HTTPDeferagents                                []string          `json:"http.deferagents"`
	HTTPDeferlength                                int64             `json:"http.deferlength"`
	HTTPDisplayHTTPBlockpageExplicitMode           bool              `json:"http.display_http_blockpage_explicit_mode"`
	HTTPDisplayIntro                               bool              `json:"http.display_intro"`
	HTTPDownloadManagerDefaultCharset              string            `json:"http.download_manager_default_charset"`
	HTTPEdirDelayBasicAuth                         bool              `json:"http.edir_delay_basic_auth"`
	HTTPEnableOutInterface                         bool              `json:"http.enable_out_interface"`
	HTTPEppQuotaAction                             string            `json:"http.epp_quota_action"`
	HTTPExceptions                                 []string          `json:"http.exceptions"`
	HTTPForcedCachingExtension                     []string          `json:"http.forced_caching_extension"`
	HTTPForcedCachingNeverCachePrefix              []string          `json:"http.forced_caching_never_cache_prefix"`
	HTTPForcedCachingStatus                        bool              `json:"http.forced_caching_status"`
	HTTPForcedCachingTTL                           int64             `json:"http.forced_caching_ttl"`
	HTTPForcedCachingUserAgentPrefix               []string          `json:"http.forced_caching_user_agent_prefix"`
	HTTPHttpLoopbackDetect                         bool              `json:"http.http_loopback_detect"`
	HTTPIeSslBlockpageWorkaround                   bool              `json:"http.ie_ssl_blockpage_workaround"`
	HTTPLimitAdSsoInterfaces                       bool              `json:"http.limit_ad_sso_interfaces"`
	HTTPLocalSiteList                              []interface{}     `json:"http.local_site_list"`
	HTTPMaxContentEncoding                         int64             `json:"http.max_content_encoding"`
	HTTPMaxTempfileSize                            int64             `json:"http.max_tempfile_size"`
	HTTPMaxthreads                                 int64             `json:"http.maxthreads"`
	HTTPMaxthreadsUnused                           int64             `json:"http.maxthreads_unused"`
	HTTPModulepath                                 string            `json:"http.modulepath"`
	HTTPModules                                    []string          `json:"http.modules"`
	HTTPNoscancontent                              []string          `json:"http.noscancontent"`
	HTTPOpendirectoryKeytab                        string            `json:"http.opendirectory_keytab"`
	HTTPPacFile                                    string            `json:"http.pac_file"`
	HTTPParentProxyHost                            string            `json:"http.parent_proxy_host"`
	HTTPParentProxyPort                            int64             `json:"http.parent_proxy_port"`
	HTTPParentProxyStatus                          bool              `json:"http.parent_proxy_status"`
	HTTPPassthroughID                              string            `json:"http.passthrough_id"`
	HTTPPharmingProtection                         bool              `json:"http.pharming_protection"`
	HTTPPort                                       int64             `json:"http.port"`
	HTTPPortalCert                                 string            `json:"http.portal_cert"`
	HTTPPortalCertChain                            []interface{}     `json:"http.portal_cert_chain"`
	HTTPPortalDomain                               string            `json:"http.portal_domain"`
	HTTPPortalHosts                                []interface{}     `json:"http.portal_hosts"`
	HTTPPortalUseCert                              bool              `json:"http.portal_use_cert"`
	HTTPProceedCacheTimeout                        int64             `json:"http.proceed_cache_timeout"`
	HTTPProfiles                                   []string          `json:"http.profiles"`
	HTTPQuotaSliceTime                             int64             `json:"http.quota_slice_time"`
	HTTPRemoveRequest                              []interface{}     `json:"http.remove_request"`
	HTTPRemoveResponse                             []string          `json:"http.remove_response"`
	HTTPResponseTimeout                            int64             `json:"http.response_timeout"`
	HTTPScLocalDB                                  string            `json:"http.sc_local_db"`
	HTTPScanEppTraffic                             bool              `json:"http.scan_epp_traffic"`
	HTTPSearchdomain                               string            `json:"http.searchdomain"`
	HTTPStrictHTTP                                 bool              `json:"http.strict_http"`
	HTTPTlsciphersClient                           string            `json:"http.tlsciphers_client"`
	HTTPTlsciphersServer                           string            `json:"http.tlsciphers_server"`
	HTTPTmpfsUsageMinMemsize                       int64             `json:"http.tmpfs_usage_min_memsize"`
	HTTPTransparentAuthTimeout                     int64             `json:"http.transparent_auth_timeout"`
	HTTPTransparentDstSkip                         []interface{}     `json:"http.transparent_dst_skip"`
	HTTPTransparentSkipAutoPf                      bool              `json:"http.transparent_skip_auto_pf"`
	HTTPTransparentSrcSkip                         []interface{}     `json:"http.transparent_src_skip"`
	HTTPTunnelTimeout                              int64             `json:"http.tunnel_timeout"`
	HTTPTunnelV6Timeout                            struct{}          `json:"http.tunnel_v6_timeout"`
	HTTPUndefercontent                             []string          `json:"http.undefercontent"`
	HTTPUndeferextension                           []string          `json:"http.undeferextension"`
	HTTPUrlFilteringRedirectURL                    string            `json:"http.url_filtering_redirect_url"`
	HTTPUseConnectionInsteadofProxyconnection      bool              `json:"http.use_connection_insteadof_proxyconnection"`
	HTTPUseDstaddrForGeopiplookup                  bool              `json:"http.use_dstaddr_for_geopiplookup"`
	HTTPUseKrb5Adsso                               bool              `json:"http.use_krb5_adsso"`
	HTTPUseSni                                     bool              `json:"http.use_sni"`
	HTTPUseSxlUrid                                 bool              `json:"http.use_sxl_urid"`
	IcmpForward                                    bool              `json:"icmp.forward"`
	IcmpInput                                      bool              `json:"icmp.input"`
	IcmpLogRedirect                                bool              `json:"icmp.log_redirect"`
	IcmpPingForward                                bool              `json:"icmp.ping.forward"`
	IcmpPingInput                                  bool              `json:"icmp.ping.input"`
	IcmpPingOutput                                 bool              `json:"icmp.ping.output"`
	IcmpSecure                                     bool              `json:"icmp.secure"`
	IcmpTracerouteForward                          bool              `json:"icmp.traceroute.forward"`
	IcmpTracerouteInput                            bool              `json:"icmp.traceroute.input"`
	IdentForward                                   bool              `json:"ident.forward"`
	IdentResponse                                  string            `json:"ident.response"`
	IdentStatus                                    bool              `json:"ident.status"`
	InterfacesAdvancedArpAnnounce                  struct{}          `json:"interfaces.advanced.arp_announce"`
	InterfacesAdvancedArpIgnore                    struct{}          `json:"interfaces.advanced.arp_ignore"`
	InterfacesAdvancedDefaultMetric                int64             `json:"interfaces.advanced.default_metric"`
	InterfacesInterfaces                           []string          `json:"interfaces.interfaces"`
	IpsDnsServers                                  []interface{}     `json:"ips.dns_servers"`
	IpsEngine                                      string            `json:"ips.engine"`
	IpsExceptions                                  []string          `json:"ips.exceptions"`
	IpsFailopen                                    bool              `json:"ips.failopen"`
	IpsFileBasedRules                              bool              `json:"ips.file_based_rules"`
	IpsGroups                                      []string          `json:"ips.groups"`
	IpsHttpServers                                 []interface{}     `json:"ips.http_servers"`
	IpsIpsfbAlertInterval                          int64             `json:"ips.ipsfb.alert_interval"`
	IpsIpsfbConfigInterval                         int64             `json:"ips.ipsfb.config_interval"`
	IpsIpsfbDebug                                  bool              `json:"ips.ipsfb.debug"`
	IpsLocalNetworks                               []string          `json:"ips.local_networks"`
	IpsNumInstances                                struct{}          `json:"ips.num_instances"`
	IpsPatternChannel                              string            `json:"ips.pattern_channel"`
	IpsPolicy                                      string            `json:"ips.policy"`
	IpsQueueLength                                 int64             `json:"ips.queue_length"`
	IpsQueueThreshold                              struct{}          `json:"ips.queue_threshold"`
	IpsReloadMethod                                string            `json:"ips.reload_method"`
	IpsRestartPolicy                               string            `json:"ips.restart_policy"`
	IpsRuleModifiers                               []interface{}     `json:"ips.rule_modifiers"`
	IpsRules                                       []interface{}     `json:"ips.rules"`
	IpsSkipAcks                                    bool              `json:"ips.skip_acks"`
	IpsSmtpServers                                 []interface{}     `json:"ips.smtp_servers"`
	IpsSnortsettingsMaxQueuedBytes                 struct{}          `json:"ips.snortsettings.max_queued_bytes"`
	IpsSnortsettingsMaxQueuedSegs                  struct{}          `json:"ips.snortsettings.max_queued_segs"`
	IpsSnortsettingsMaxTcp                         struct{}          `json:"ips.snortsettings.max_tcp"`
	IpsSnortsettingsMaxUdp                         struct{}          `json:"ips.snortsettings.max_udp"`
	IpsSnortsettingsMemcap                         struct{}          `json:"ips.snortsettings.memcap"`
	IpsSnortsettingsSearchMethod                   string            `json:"ips.snortsettings.search_method"`
	IpsSqlServers                                  []interface{}     `json:"ips.sql_servers"`
	IpsStatus                                      bool              `json:"ips.status"`
	IpsecAdvancedCrlAutoFetching                   bool              `json:"ipsec.advanced.crl_auto_fetching"`
	IpsecAdvancedCrlStrictPolicy                   bool              `json:"ipsec.advanced.crl_strict_policy"`
	IpsecAdvancedDeadPeerDetection                 bool              `json:"ipsec.advanced.dead_peer_detection"`
	IpsecAdvancedIkeDebug                          []interface{}     `json:"ipsec.advanced.ike_debug"`
	IpsecAdvancedIkePort                           int64             `json:"ipsec.advanced.ike_port"`
	IpsecAdvancedMetric                            struct{}          `json:"ipsec.advanced.metric"`
	IpsecAdvancedNatTraversal                      bool              `json:"ipsec.advanced.nat_traversal"`
	IpsecAdvancedNatTraversalKeepalive             int64             `json:"ipsec.advanced.nat_traversal_keepalive"`
	IpsecAdvancedProbePsk                          bool              `json:"ipsec.advanced.probe_psk"`
	IpsecAdvancedPskVpnID                          string            `json:"ipsec.advanced.psk_vpn_id"`
	IpsecAdvancedPskVpnIDType                      string            `json:"ipsec.advanced.psk_vpn_id_type"`
	IpsecConnections                               []string          `json:"ipsec.connections"`
	IpsecLocalRsa                                  string            `json:"ipsec.local_rsa"`
	IpsecLocalX509                                 string            `json:"ipsec.local_x509"`
	IpsecStatus                                    bool              `json:"ipsec.status"`
	Ipv6AdvancedHopLimit                           int64             `json:"ipv6.advanced.hop_limit"`
	Ipv6AdvancedMaxInterval                        int64             `json:"ipv6.advanced.max_interval"`
	Ipv6AdvancedMinInterval                        int64             `json:"ipv6.advanced.min_interval"`
	Ipv6AdvancedPreference                         string            `json:"ipv6.advanced.preference"`
	Ipv6AdvancedReachableTime                      struct{}          `json:"ipv6.advanced.reachable_time"`
	Ipv6AdvancedRetransTime                        struct{}          `json:"ipv6.advanced.retrans_time"`
	Ipv6BrokerAuthentication                       string            `json:"ipv6.broker.authentication"`
	Ipv6BrokerInterface                            string            `json:"ipv6.broker.interface"`
	Ipv6BrokerPassword                             string            `json:"ipv6.broker.password"`
	Ipv6BrokerProtocol                             string            `json:"ipv6.broker.protocol"`
	Ipv6BrokerServer                               string            `json:"ipv6.broker.server"`
	Ipv6BrokerStatus                               bool              `json:"ipv6.broker.status"`
	Ipv6BrokerTunnelID                             string            `json:"ipv6.broker.tunnel_id"`
	Ipv6BrokerUsername                             string            `json:"ipv6.broker.username"`
	Ipv6Nat64Address                               string            `json:"ipv6.nat64.address"`
	Ipv6Nat64Dns64V6only                           bool              `json:"ipv6.nat64.dns64_v6only"`
	Ipv6Nat64Prefix                                string            `json:"ipv6.nat64.prefix"`
	Ipv6Nat64Status                                bool              `json:"ipv6.nat64.status"`
	Ipv6Prefer                                     bool              `json:"ipv6.prefer"`
	Ipv6Prefixes                                   []interface{}     `json:"ipv6.prefixes"`
	Ipv6Renumbering                                bool              `json:"ipv6.renumbering"`
	Ipv6Six2FourInterface                          string            `json:"ipv6.six2four.interface"`
	Ipv6Six2FourServer                             string            `json:"ipv6.six2four.server"`
	Ipv6Six2FourStatus                             bool              `json:"ipv6.six2four.status"`
	Ipv6Status                                     bool              `json:"ipv6.status"`
	LicensingActiveIps                             []string          `json:"licensing.active_ips"`
	LicensingLicense                               string            `json:"licensing.license"`
	LicensingUserLimitExceeded                     struct{}          `json:"licensing.user_limit_exceeded"`
	LinkAggregationGroups                          []string          `json:"link_aggregation.groups"`
	LoadbalanceHttpErrorCode                       int64             `json:"loadbalance.http_error_code"`
	LoadbalanceRules                               []interface{}     `json:"loadbalance.rules"`
	LogfilesLocalActionOne                         string            `json:"logfiles.local.action_one"`
	LogfilesLocalActionThree                       string            `json:"logfiles.local.action_three"`
	LogfilesLocalActionTwo                         string            `json:"logfiles.local.action_two"`
	LogfilesLocalDeleteAfterDays                   struct{}          `json:"logfiles.local.delete_after_days"`
	LogfilesLocalPercentageOne                     int64             `json:"logfiles.local.percentage_one"`
	LogfilesLocalPercentageThree                   int64             `json:"logfiles.local.percentage_three"`
	LogfilesLocalPercentageTwo                     int64             `json:"logfiles.local.percentage_two"`
	LogfilesLocalStatus                            bool              `json:"logfiles.local.status"`
	LogfilesRemoteFtpService                       string            `json:"logfiles.remote.ftp_service"`
	LogfilesRemoteHost                             string            `json:"logfiles.remote.host"`
	LogfilesRemotePass                             string            `json:"logfiles.remote.pass"`
	LogfilesRemotePath                             string            `json:"logfiles.remote.path"`
	LogfilesRemoteSmbWorkgroup                     string            `json:"logfiles.remote.smb_workgroup"`
	LogfilesRemoteSmtpAddress                      string            `json:"logfiles.remote.smtp_address"`
	LogfilesRemoteStatus                           bool              `json:"logfiles.remote.status"`
	LogfilesRemoteType                             string            `json:"logfiles.remote.type"`
	LogfilesRemoteUser                             string            `json:"logfiles.remote.user"`
	MasqRules                                      []string          `json:"masq.rules"`
	MigrationAccessToken                           string            `json:"migration.access_token"`
	MigrationLocalOverride                         bool              `json:"migration.local_override"`
	MigrationRefreshToken                          string            `json:"migration.refresh_token"`
	MigrationTabVisibility                         string            `json:"migration.tab_visibility"`
	MigrationToolsetVersion                        string            `json:"migration.toolset_version"`
	MigrationUtmVersion                            string            `json:"migration.utm_version"`
	MobileControlCa                                string            `json:"mobile_control.ca"`
	MobileControlConfigCisco                       bool              `json:"mobile_control.config.cisco"`
	MobileControlConfigEapMethod                   string            `json:"mobile_control.config.eap_method"`
	MobileControlConfigForcePush                   bool              `json:"mobile_control.config.force_push"`
	MobileControlConfigL2Tp                        bool              `json:"mobile_control.config.l2tp"`
	MobileControlConfigWifiNetworks                []interface{}     `json:"mobile_control.config.wifi_networks"`
	MobileControlCustomer                          string            `json:"mobile_control.customer"`
	MobileControlDebug                             bool              `json:"mobile_control.debug"`
	MobileControlNacCisco                          bool              `json:"mobile_control.nac.cisco"`
	MobileControlNacDenyAllVpn                     bool              `json:"mobile_control.nac.deny_all_vpn"`
	MobileControlNacL2Tp                           bool              `json:"mobile_control.nac.l2tp"`
	MobileControlNacMacsAllowed                    string            `json:"mobile_control.nac.macs_allowed"`
	MobileControlNacMacsDenied                     string            `json:"mobile_control.nac.macs_denied"`
	MobileControlNacPollInterval                   int64             `json:"mobile_control.nac.poll_interval"`
	MobileControlNacUsersDenied                    []interface{}     `json:"mobile_control.nac.users_denied"`
	MobileControlNacWifiNetworks                   []interface{}     `json:"mobile_control.nac.wifi_networks"`
	MobileControlPassword                          string            `json:"mobile_control.password"`
	MobileControlServer                            string            `json:"mobile_control.server"`
	MobileControlStatus                            bool              `json:"mobile_control.status"`
	MobileControlUsername                          string            `json:"mobile_control.username"`
	NatRules                                       []string          `json:"nat.rules"`
	NotificationsDeviceInfo                        string            `json:"notifications.device_info"`
	NotificationsLimiting                          bool              `json:"notifications.limiting"`
	NotificationsOverlay                           []interface{}     `json:"notifications.overlay"`
	NotificationsRebootReason                      struct {
		Zero string `json:"0"`
		One  string `json:"1"`
	} `json:"notifications.reboot_reason"`
	NotificationsRecipients                              []string      `json:"notifications.recipients"`
	NotificationsSender                                  string        `json:"notifications.sender"`
	NotificationsSmtpAuthentication                      bool          `json:"notifications.smtp.authentication"`
	NotificationsSmtpPassword                            string        `json:"notifications.smtp.password"`
	NotificationsSmtpPort                                int64         `json:"notifications.smtp.port"`
	NotificationsSmtpServer                              string        `json:"notifications.smtp.server"`
	NotificationsSmtpStatus                              bool          `json:"notifications.smtp.status"`
	NotificationsSmtpTls                                 bool          `json:"notifications.smtp.tls"`
	NotificationsSmtpUsername                            string        `json:"notifications.smtp.username"`
	NTPAllowedNetworks                                   []string      `json:"ntp.allowed_networks"`
	NTPServers                                           []string      `json:"ntp.servers"`
	NTPStatus                                            bool          `json:"ntp.status"`
	PacketfilterAdvancedBlockInvalidCtPackets            bool          `json:"packetfilter.advanced.block_invalid_ct_packets"`
	PacketfilterAdvancedCheckPacketLength                bool          `json:"packetfilter.advanced.check_packet_length"`
	PacketfilterAdvancedConntrackHelpers                 []string      `json:"packetfilter.advanced.conntrack_helpers"`
	PacketfilterAdvancedFtpPorts                         []int64       `json:"packetfilter.advanced.ftp_ports"`
	PacketfilterAdvancedLogBroadcasts                    bool          `json:"packetfilter.advanced.log_broadcasts"`
	PacketfilterAdvancedLogDNSRequests                   bool          `json:"packetfilter.advanced.log_dns_requests"`
	PacketfilterAdvancedLogFtpData                       bool          `json:"packetfilter.advanced.log_ftp_data"`
	PacketfilterAdvancedLogInvalid                       struct{}      `json:"packetfilter.advanced.log_invalid"`
	PacketfilterAdvancedLogMcast                         bool          `json:"packetfilter.advanced.log_mcast"`
	PacketfilterAdvancedLogStrictTcpState                string        `json:"packetfilter.advanced.log_strict_tcp_state"`
	PacketfilterAdvancedNoErrorReplay                    bool          `json:"packetfilter.advanced.no_error_replay"`
	PacketfilterAdvancedOptimizeIpset                    string        `json:"packetfilter.advanced.optimize.ipset"`
	PacketfilterAdvancedOptimizePorts                    bool          `json:"packetfilter.advanced.optimize.ports"`
	PacketfilterAdvancedSpoofProtection                  string        `json:"packetfilter.advanced.spoof_protection"`
	PacketfilterAdvancedStrictTcpState                   bool          `json:"packetfilter.advanced.strict_tcp_state"`
	PacketfilterAdvancedTcpMaxRetrans                    int64         `json:"packetfilter.advanced.tcp_max_retrans"`
	PacketfilterAdvancedTcpWindowScaling                 bool          `json:"packetfilter.advanced.tcp_window_scaling"`
	PacketfilterRules                                    []string      `json:"packetfilter.rules"`
	PacketfilterRulesAuto                                []string      `json:"packetfilter.rules_auto"`
	PacketfilterRulesBack                                string        `json:"packetfilter.rules_back"`
	PacketfilterRulesFront                               string        `json:"packetfilter.rules_front"`
	PacketfilterTimeoutsIpConntrackGenericTimeout        int64         `json:"packetfilter.timeouts.ip_conntrack_generic_timeout"`
	PacketfilterTimeoutsIpConntrackIcmpTimeout           int64         `json:"packetfilter.timeouts.ip_conntrack_icmp_timeout"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutClose       int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_close"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutCloseWait   int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_close_wait"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutEstablished int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_established"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutFinWait     int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_fin_wait"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutLastAck     int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_last_ack"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutMaxRetrans  int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_max_retrans"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutSynRecv     int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_syn_recv"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutSynSent     int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_syn_sent"`
	PacketfilterTimeoutsIpConntrackTcpTimeoutTimeWait    int64         `json:"packetfilter.timeouts.ip_conntrack_tcp_timeout_time_wait"`
	PacketfilterTimeoutsIpConntrackUdpTimeout            int64         `json:"packetfilter.timeouts.ip_conntrack_udp_timeout"`
	PacketfilterTimeoutsIpConntrackUdpTimeoutStream      int64         `json:"packetfilter.timeouts.ip_conntrack_udp_timeout_stream"`
	PasswdLoginuserClearpass                             string        `json:"passwd.loginuser.clearpass"`
	PasswdLoginuserCryptpass                             string        `json:"passwd.loginuser.cryptpass"`
	PasswdRootClearpass                                  string        `json:"passwd.root.clearpass"`
	PasswdRootCryptpass                                  string        `json:"passwd.root.cryptpass"`
	PdfPaper                                             string        `json:"pdf.paper"`
	PimSmAutoPfOut                                       string        `json:"pim_sm.auto_pf_out"`
	PimSmAutoPfrule                                      bool          `json:"pim_sm.auto_pfrule"`
	PimSmDebug                                           bool          `json:"pim_sm.debug"`
	PimSmInterfaces                                      []interface{} `json:"pim_sm.interfaces"`
	PimSmRpRouters                                       []interface{} `json:"pim_sm.rp_routers"`
	PimSmSptSwitchBytes                                  int64         `json:"pim_sm.spt_switch_bytes"`
	PimSmSptSwitchStatus                                 bool          `json:"pim_sm.spt_switch_status"`
	PimSmStatus                                          bool          `json:"pim_sm.status"`
	Pop3AllowedClients                                   []interface{} `json:"pop3.allowed_clients"`
	Pop3AllowedServers                                   []string      `json:"pop3.allowed_servers"`
	Pop3CffAsMarker                                      string        `json:"pop3.cff_as_marker"`
	Pop3CffAv                                            bool          `json:"pop3.cff_av"`
	Pop3CffAvAction                                      string        `json:"pop3.cff_av_action"`
	Pop3CffAvEngines                                     string        `json:"pop3.cff_av_engines"`
	Pop3CffFileExtensions                                []string      `json:"pop3.cff_file_extensions"`
	Pop3DirectlyDeleteQuarantined                        bool          `json:"pop3.directly_delete_quarantined"`
	Pop3Exceptions                                       []interface{} `json:"pop3.exceptions"`
	Pop3KnownServers                                     []interface{} `json:"pop3.known_servers"`
	Pop3MaxMessageSize                                   int64         `json:"pop3.max_message_size"`
	Pop3PrefetchingInterval                              int64         `json:"pop3.prefetching.interval"`
	Pop3PrefetchingOptimizeStorage                       bool          `json:"pop3.prefetching.optimize_storage"`
	Pop3PrefetchingStatus                                bool          `json:"pop3.prefetching.status"`
	Pop3PrefetchingStorageMinHoldDays                    int64         `json:"pop3.prefetching.storage_min_hold_days"`
	Pop3QuarantineUnscannable                            bool          `json:"pop3.quarantine_unscannable"`
	Pop3SandboxMaxFilesizeMb                             int64         `json:"pop3.sandbox_max_filesize_mb"`
	Pop3SandboxScanStatus                                bool          `json:"pop3.sandbox_scan_status"`
	Pop3ScanTLS                                          bool          `json:"pop3.scan_tls"`
	Pop3SenderBlacklist                                  []interface{} `json:"pop3.sender_blacklist"`
	Pop3Spam                                             string        `json:"pop3.spam"`
	Pop3SpamExpressions                                  []interface{} `json:"pop3.spam_expressions"`
	Pop3Spamplus                                         string        `json:"pop3.spamplus"`
	Pop3Spamstatus                                       bool          `json:"pop3.spamstatus"`
	Pop3Status                                           bool          `json:"pop3.status"`
	Pop3TlsCert                                          string        `json:"pop3.tls_cert"`
	Pop3TransparentSkip                                  []interface{} `json:"pop3.transparent_skip"`
	Pop3TransparentSkipAutoPf                            bool          `json:"pop3.transparent_skip_auto_pf"`
	Pop3UserCharset                                      string        `json:"pop3.user_charset"`
	PortalAllowAnyUser                                   bool          `json:"portal.allow_any_user"`
	PortalAllowedNetworks                                []string      `json:"portal.allowed_networks"`
	PortalAllowedUsers                                   []interface{} `json:"portal.allowed_users"`
	PortalHideItems                                      []interface{} `json:"portal.hide_items"`
	PortalHostname                                       string        `json:"portal.hostname"`
	PortalInterfaceAddress                               string        `json:"portal.interface_address"`
	PortalLanguage                                       string        `json:"portal.language"`
	PortalPersistentCookies                              bool          `json:"portal.persistent_cookies"`
	PortalPort                                           int64         `json:"portal.port"`
	PortalStatus                                         bool          `json:"portal.status"`
	PortalWelcomeMsg                                     string        `json:"portal.welcome_msg"`
	PsdAction                                            string        `json:"psd.action"`
	PsdDelayThreshold                                    int64         `json:"psd.delay_threshold"`
	PsdHiPortsWeight                                     int64         `json:"psd.hi_ports_weight"`
	PsdLoPortsWeight                                     int64         `json:"psd.lo_ports_weight"`
	PsdLogLimiterBurst                                   int64         `json:"psd.log_limiter.burst"`
	PsdLogLimiterRate                                    int64         `json:"psd.log_limiter.rate"`
	PsdLogLimiterStatus                                  bool          `json:"psd.log_limiter.status"`
	PsdStatus                                            bool          `json:"psd.status"`
	PsdWeightThreshold                                   int64         `json:"psd.weight_threshold"`
	QosAdvancedEcn                                       int64         `json:"qos.advanced.ecn"`
	QosAdvancedKeepClassAfterEncap                       bool          `json:"qos.advanced.keep_class_after_encap"`
	QosInterfaces                                        []string      `json:"qos.interfaces"`
	QuarantineKeepDBLogDays                              int64         `json:"quarantine.keep_db_log_days"`
	QuarantineKeepQuarantineDays                         int64         `json:"quarantine.keep_quarantine_days"`
	RedActivateProvFw                                    bool          `json:"red.activate_prov_fw"`
	RedAuthorization                                     bool          `json:"red.authorization"`
	RedCaSettingsCity                                    string        `json:"red.ca_settings.city"`
	RedCaSettingsCountry                                 string        `json:"red.ca_settings.country"`
	RedCaSettingsEmail                                   string        `json:"red.ca_settings.email"`
	RedCaSettingsOrganization                            string        `json:"red.ca_settings.organization"`
	RedClients                                           []interface{} `json:"red.clients"`
	RedDeauthTimeout                                     string        `json:"red.deauth_timeout"`
	RedOverlayFwEnabled                                  bool          `json:"red.overlay_fw_enabled"`
	RedRegistryCert                                      string        `json:"red.registry_cert"`
	RedRegistryID                                        string        `json:"red.registry_id"`
	RedRegistryKey                                       string        `json:"red.registry_key"`
	RedServerCert                                        string        `json:"red.server_cert"`
	RedServers                                           []interface{} `json:"red.servers"`
	RedStatus                                            bool          `json:"red.status"`
	RedTls12Only                                         bool          `json:"red.tls_1_2_only"`
	RemoteAccessAdvancedMsdns1                           string        `json:"remote_access.advanced.msdns1"`
	RemoteAccessAdvancedMsdns2                           string        `json:"remote_access.advanced.msdns2"`
	RemoteAccessAdvancedMsdomain                         string        `json:"remote_access.advanced.msdomain"`
	RemoteAccessAdvancedMswins1                          string        `json:"remote_access.advanced.mswins1"`
	RemoteAccessAdvancedMswins2                          string        `json:"remote_access.advanced.mswins2"`
	RemoteAccessCisco                                    string        `json:"remote_access.cisco"`
	RemoteAccessClientlessVpnDebug                       bool          `json:"remote_access.clientless_vpn.debug"`
	RemoteAccessClientlessVpnStatus                      bool          `json:"remote_access.clientless_vpn.status"`
	RemoteAccessL2Tp                                     string        `json:"remote_access.l2tp"`
	RemoteAccessPptpAaa                                  []string      `json:"remote_access.pptp.aaa"`
	RemoteAccessPptpAuthentication                       string        `json:"remote_access.pptp.authentication"`
	RemoteAccessPptpDebug                                bool          `json:"remote_access.pptp.debug"`
	RemoteAccessPptpEncryption                           string        `json:"remote_access.pptp.encryption"`
	RemoteAccessPptpIpAssignmentDhcp                     string        `json:"remote_access.pptp.ip_assignment_dhcp"`
	RemoteAccessPptpIpAssignmentDhcpInterface            string        `json:"remote_access.pptp.ip_assignment_dhcp_interface"`
	RemoteAccessPptpIpAssignmentMode                     string        `json:"remote_access.pptp.ip_assignment_mode"`
	RemoteAccessPptpIpAssignmentPool                     string        `json:"remote_access.pptp.ip_assignment_pool"`
	RemoteAccessPptpIphoneConnectionName                 string        `json:"remote_access.pptp.iphone_connection_name"`
	RemoteAccessPptpIphoneHostname                       string        `json:"remote_access.pptp.iphone_hostname"`
	RemoteAccessPptpIphoneStatus                         bool          `json:"remote_access.pptp.iphone_status"`
	RemoteAccessPptpMtu                                  int64         `json:"remote_access.pptp.mtu"`
	RemoteAccessPptpStatus                               bool          `json:"remote_access.pptp.status"`
	RemoteSyslogBuffer                                   int64         `json:"remote_syslog.buffer"`
	RemoteSyslogLogs                                     []interface{} `json:"remote_syslog.logs"`
	RemoteSyslogStatus                                   bool          `json:"remote_syslog.status"`
	RemoteSyslogTarget                                   []interface{} `json:"remote_syslog.target"`
	ReportingAccountingKeepdays                          int64         `json:"reporting.accounting_keepdays"`
	ReportingAccountingStatus                            bool          `json:"reporting.accounting_status"`
	ReportingAnonymizing                                 bool          `json:"reporting.anonymizing"`
	ReportingAppctrlKeepdays                             int64         `json:"reporting.appctrl_keepdays"`
	ReportingAppctrlStatus                               bool          `json:"reporting.appctrl_status"`
	ReportingAtpKeepdays                                 int64         `json:"reporting.atp_keepdays"`
	ReportingAtpReset                                    struct{}      `json:"reporting.atp_reset"`
	ReportingAtpStatus                                   bool          `json:"reporting.atp_status"`
	ReportingAuthenticationKeepdays                      int64         `json:"reporting.authentication_keepdays"`
	ReportingAuthenticationStatus                        bool          `json:"reporting.authentication_status"`
	ReportingCsvSeparator                                string        `json:"reporting.csv_separator"`
	ReportingEmailsecurityImport                         []interface{} `json:"reporting.emailsecurity_import"`
	ReportingEmailsecurityKeepdays                       int64         `json:"reporting.emailsecurity_keepdays"`
	ReportingEmailsecurityStatus                         bool          `json:"reporting.emailsecurity_status"`
	ReportingEnableVpnAccounting                         bool          `json:"reporting.enable_vpn_accounting"`
	ReportingHideAccountingips                           []interface{} `json:"reporting.hide_accountingips"`
	ReportingHideMailaddresses                           []interface{} `json:"reporting.hide_mailaddresses"`
	ReportingHideMaildomains                             []interface{} `json:"reporting.hide_maildomains"`
	ReportingHideNetsecips                               []interface{} `json:"reporting.hide_netsecips"`
	ReportingHideWebdomains                              []interface{} `json:"reporting.hide_webdomains"`
	ReportingIpsImport                                   []interface{} `json:"reporting.ips_import"`
	ReportingIpsKeepdays                                 int64         `json:"reporting.ips_keepdays"`
	ReportingIpsStatus                                   bool          `json:"reporting.ips_status"`
	ReportingPacketfilterImport                          []interface{} `json:"reporting.packetfilter_import"`
	ReportingPacketfilterKeepdays                        int64         `json:"reporting.packetfilter_keepdays"`
	ReportingPacketfilterStatus                          bool          `json:"reporting.packetfilter_status"`
	ReportingPassword1                                   string        `json:"reporting.password1"`
	ReportingPassword2                                   string        `json:"reporting.password2"`
	ReportingSandboxKeepdays                             int64         `json:"reporting.sandbox_keepdays"`
	ReportingUserlogFromLogs                             bool          `json:"reporting.userlog_from_logs"`
	ReportingVpnKeepdays                                 int64         `json:"reporting.vpn_keepdays"`
	ReportingVpnStatus                                   bool          `json:"reporting.vpn_status"`
	ReportingWafKeepdays                                 int64         `json:"reporting.waf_keepdays"`
	ReportingWafStatus                                   bool          `json:"reporting.waf_status"`
	ReportingWebsecurityDetail                           struct{}      `json:"reporting.websecurity_detail"`
	ReportingWebsecurityImport                           []interface{} `json:"reporting.websecurity_import"`
	ReportingWebsecurityKeepdays                         int64         `json:"reporting.websecurity_keepdays"`
	ReportingWebsecurityStatus                           bool          `json:"reporting.websecurity_status"`
	ReverseProxyAuaRefreshEnabled                        bool          `json:"reverse_proxy.aua_refresh_enabled"`
	ReverseProxyAuaRefreshInterval                       int64         `json:"reverse_proxy.aua_refresh_interval"`
	ReverseProxyBlacklistDnsrblZones                     []string      `json:"reverse_proxy.blacklist.dnsrbl_zones"`
	ReverseProxyBlacklistGeoipCodes                      []string      `json:"reverse_proxy.blacklist.geoip_codes"`
	ReverseProxyCookiesignkey                            string        `json:"reverse_proxy.cookiesignkey"`
	ReverseProxyCssdHostname                             string        `json:"reverse_proxy.cssd_hostname"`
	ReverseProxyCssdPort                                 struct{}      `json:"reverse_proxy.cssd_port"`
	ReverseProxyCustomThreatFiltersEnabled               bool          `json:"reverse_proxy.custom_threat_filters_enabled"`
	ReverseProxyFormhardeningSecret                      string        `json:"reverse_proxy.formhardening_secret"`
	ReverseProxyKeepalive                                bool          `json:"reverse_proxy.keepalive"`
	ReverseProxyManualmode                               bool          `json:"reverse_proxy.manualmode"`
	ReverseProxyMaxConnectionsPerChild                   struct{}      `json:"reverse_proxy.max_connections_per_child"`
	ReverseProxyMaxPreforkProcesses                      int64         `json:"reverse_proxy.max_prefork_processes"`
	ReverseProxyMaxProcesses                             int64         `json:"reverse_proxy.max_processes"`
	ReverseProxyMaxSessionFiles                          int64         `json:"reverse_proxy.max_session_files"`
	ReverseProxyMaxSpareProcesses                        int64         `json:"reverse_proxy.max_spare_processes"`
	ReverseProxyMaxSpareThreads                          int64         `json:"reverse_proxy.max_spare_threads"`
	ReverseProxyMaxThreadsPerProcess                     int64         `json:"reverse_proxy.max_threads_per_process"`
	ReverseProxyMinSpareProcesses                        int64         `json:"reverse_proxy.min_spare_processes"`
	ReverseProxyMinSpareThreads                          int64         `json:"reverse_proxy.min_spare_threads"`
	ReverseProxyMinTLS                                   string        `json:"reverse_proxy.min_tls"`
	ReverseProxyModsecurityBeta                          bool          `json:"reverse_proxy.modsecurity_beta"`
	ReverseProxyMpmMode                                  string        `json:"reverse_proxy.mpm_mode"`
	ReverseProxyPatternversion                           string        `json:"reverse_proxy.patternversion"`
	ReverseProxyPort                                     int64         `json:"reverse_proxy.port"`
	ReverseProxyProxyprotocol                            bool          `json:"reverse_proxy.proxyprotocol"`
	ReverseProxyRequestLineLimit                         struct{}      `json:"reverse_proxy.request_line_limit"`
	ReverseProxySlowhttpExceptions                       []interface{} `json:"reverse_proxy.slowhttp_exceptions"`
	ReverseProxySlowhttpRequestHeaderTimeoutBase         int64         `json:"reverse_proxy.slowhttp_request_header_timeout_base"`
	ReverseProxySlowhttpRequestHeaderTimeoutEnabled      bool          `json:"reverse_proxy.slowhttp_request_header_timeout_enabled"`
	ReverseProxySlowhttpRequestHeaderTimeoutMax          int64         `json:"reverse_proxy.slowhttp_request_header_timeout_max"`
	ReverseProxySlowhttpRequestHeaderTimeoutRate         int64         `json:"reverse_proxy.slowhttp_request_header_timeout_rate"`
	ReverseProxyStatus                                   bool          `json:"reverse_proxy.status"`
	ReverseProxyTraceEnabled                             bool          `json:"reverse_proxy.trace_enabled"`
	ReverseProxyUrlhardeningsignkey                      string        `json:"reverse_proxy.urlhardeningsignkey"`
	ReverseProxyWhatkilledus                             bool          `json:"reverse_proxy.whatkilledus"`
	RoutesPolicy                                         []interface{} `json:"routes.policy"`
	RoutesStatic                                         []string      `json:"routes.static"`
	RoutingBgpMaximumPaths                               struct{}      `json:"routing.bgp.maximum_paths"`
	RoutingBgpMaximumPathsIbgp                           struct{}      `json:"routing.bgp.maximum_paths_ibgp"`
	RoutingBgpMultipleAs                                 bool          `json:"routing.bgp.multiple_as"`
	RoutingBgpStatus                                     bool          `json:"routing.bgp.status"`
	RoutingBgpStrictMatch                                bool          `json:"routing.bgp.strict_match"`
	RoutingBgpSystems                                    []interface{} `json:"routing.bgp.systems"`
	RoutingOspfAbrType                                   string        `json:"routing.ospf.abr_type"`
	RoutingOspfAreas                                     []interface{} `json:"routing.ospf.areas"`
	RoutingOspfDefaultInformation                        string        `json:"routing.ospf.default_information"`
	RoutingOspfDefaultRouteMetric                        int64         `json:"routing.ospf.default_route_metric"`
	RoutingOspfRedistributeBgpMetric                     int64         `json:"routing.ospf.redistribute.bgp.metric"`
	RoutingOspfRedistributeBgpStatus                     bool          `json:"routing.ospf.redistribute.bgp.status"`
	RoutingOspfRedistributeConnectedMetric               int64         `json:"routing.ospf.redistribute.connected.metric"`
	RoutingOspfRedistributeConnectedStatus               bool          `json:"routing.ospf.redistribute.connected.status"`
	RoutingOspfRedistributeIpsecStatus                   bool          `json:"routing.ospf.redistribute.ipsec.status"`
	RoutingOspfRedistributeSslVpnStatus                  bool          `json:"routing.ospf.redistribute.ssl_vpn.status"`
	RoutingOspfRedistributeStaticMetric                  int64         `json:"routing.ospf.redistribute.static.metric"`
	RoutingOspfRedistributeStaticStatus                  bool          `json:"routing.ospf.redistribute.static.status"`
	RoutingOspfReferenceBandwidth                        struct{}      `json:"routing.ospf.reference_bandwidth"`
	RoutingOspfRouterID                                  string        `json:"routing.ospf.router_id"`
	RoutingOspfStatus                                    bool          `json:"routing.ospf.status"`
	RoutingQuaggaAllowedNetworks                         []interface{} `json:"routing.quagga.allowed_networks"`
	RoutingQuaggaEnablePassword                          string        `json:"routing.quagga.enable_password"`
	RoutingQuaggaLinkDetect                              bool          `json:"routing.quagga.link_detect"`
	RoutingQuaggaPassword                                string        `json:"routing.quagga.password"`
	SandboxReportdDebug                                  string        `json:"sandbox_reportd.debug"`
	SandboxReportdPollInterval                           int64         `json:"sandbox_reportd.poll_interval"`
	SandboxReportdRequestTimeout                         int64         `json:"sandbox_reportd.request_timeout"`
	SandboxReportdRetryTimes                             int64         `json:"sandbox_reportd.retry_times"`
	SandboxdBypassSandboxLimit                           int64         `json:"sandboxd.bypass_sandbox_limit"`
	SandboxdCacheExpire                                  int64         `json:"sandboxd.cache_expire"`
	SandboxdCertstore                                    string        `json:"sandboxd.certstore"`
	SandboxdClientTimeout                                int64         `json:"sandboxd.client_timeout"`
	SandboxdCloudPollInterval                            int64         `json:"sandboxd.cloud_poll_interval"`
	SandboxdCloudPollRequestMaximum                      int64         `json:"sandboxd.cloud_poll_request_maximum"`
	SandboxdCloudPollTimeout                             int64         `json:"sandboxd.cloud_poll_timeout"`
	SandboxdConnectTimeout                               int64         `json:"sandboxd.connect_timeout"`
	SandboxdDebug                                        struct{}      `json:"sandboxd.debug"`
	SandboxdDhparams2048                                 string        `json:"sandboxd.dhparams_2048"`
	SandboxdEdgeServerCertValidation                     bool          `json:"sandboxd.edge_server_cert_validation"`
	SandboxdEdgeServerHost                               string        `json:"sandboxd.edge_server_host"`
	SandboxdEdgeServerPort                               int64         `json:"sandboxd.edge_server_port"`
	SandboxdFiletypeSkiplist                             []interface{} `json:"sandboxd.filetype_skiplist"`
	SandboxdNumOfEventThreads                            int64         `json:"sandboxd.num_of_event_threads"`
	SandboxdNumOfWorkerThreads                           int64         `json:"sandboxd.num_of_worker_threads"`
	SandboxdResponseTimeout                              int64         `json:"sandboxd.response_timeout"`
	SandboxdRetryIntervals                               string        `json:"sandboxd.retry_intervals"`
	SandboxdSandboxEnabled                               bool          `json:"sandboxd.sandbox_enabled"`
	SandboxdSandboxdScoreThreshold                       int64         `json:"sandboxd.sandboxd_score_threshold"`
	SandboxdSbxVersion                                   int64         `json:"sandboxd.sbx_version"`
	SandboxdSqliteBusyTimeout                            int64         `json:"sandboxd.sqlite_busy_timeout"`
	SandboxdSslCertFile                                  string        `json:"sandboxd.ssl_cert_file"`
	SandboxdSslKeyFile                                   string        `json:"sandboxd.ssl_key_file"`
	SandboxdSslciphers                                   string        `json:"sandboxd.sslciphers"`
	SettingsAdminEmail                                   string        `json:"settings.admin_email"`
	SettingsBasicSetup                                   bool          `json:"settings.basic_setup"`
	SettingsCcMode                                       bool          `json:"settings.cc_mode"`
	SettingsCity                                         string        `json:"settings.city"`
	SettingsCountry                                      string        `json:"settings.country"`
	SettingsExtraSwap                                    struct{}      `json:"settings.extra_swap"`
	SettingsHostname                                     string        `json:"settings.hostname"`
	SettingsIcsaMode                                     bool          `json:"settings.icsa_mode"`
	SettingsOrganization                                 string        `json:"settings.organization"`
	SettingsPasswordComplexityMinDigits                  int64         `json:"settings.password_complexity.min_digits"`
	SettingsPasswordComplexityMinLength                  int64         `json:"settings.password_complexity.min_length"`
	SettingsPasswordComplexityMinLowerChars              int64         `json:"settings.password_complexity.min_lower_chars"`
	SettingsPasswordComplexityMinSpecialChars            int64         `json:"settings.password_complexity.min_special_chars"`
	SettingsPasswordComplexityMinUpperChars              int64         `json:"settings.password_complexity.min_upper_chars"`
	SettingsPasswordComplexityStatus                     bool          `json:"settings.password_complexity.status"`
	SettingsPopularity                                   string        `json:"settings.popularity"`
	SettingsRasUpdate                                    string        `json:"settings.ras_update"`
	SettingsSystemID                                     string        `json:"settings.system_id"`
	SettingsTimezone                                     string        `json:"settings.timezone"`
	SipAllowedNetworks                                   []string      `json:"sip.allowed_networks"`
	SipExpectMode                                        string        `json:"sip.expect_mode"`
	SipLogRelated                                        bool          `json:"sip.log_related"`
	SipServers                                           []string      `json:"sip.servers"`
	SipStatus                                            bool          `json:"sip.status"`
	SmsClientHostname                                    string        `json:"sms_client.hostname"`
	SmsClientName                                        string        `json:"sms_client.name"`
	SmsClientPassword                                    string        `json:"sms_client.password"`
	SmsClientPort                                        struct{}      `json:"sms_client.port"`
	SmsClientStatus                                      bool          `json:"sms_client.status"`
	SmsClientUsername                                    string        `json:"sms_client.username"`
	SMTPAuthAaa                                          []interface{} `json:"smtp.auth_aaa"`
	SMTPAuthStatus                                       bool          `json:"smtp.auth_status"`
	SMTPAvFooter                                         string        `json:"smtp.av_footer"`
	SMTPAvFooterStatus                                   bool          `json:"smtp.av_footer_status"`
	SMTPBatvSecret                                       string        `json:"smtp.batv_secret"`
	SMTPBlockerService                                   string        `json:"smtp.blocker_service"`
	SMTPCffAsMarker                                      string        `json:"smtp.cff_as_marker"`
	SMTPDkimDomains                                      []interface{} `json:"smtp.dkim_domains"`
	SMTPDkimPrivateKey                                   string        `json:"smtp.dkim_private_key"`
	SMTPDkimSelector                                     string        `json:"smtp.dkim_selector"`
	SMTPEnableOldExpressionFilter                        bool          `json:"smtp.enable_old_expression_filter"`
	SMTPEncryptionUtility                                string        `json:"smtp.encryption_utility"`
	SMTPExceptions                                       []interface{} `json:"smtp.exceptions"`
	SMTPFootersMode                                      string        `json:"smtp.footers_mode"`
	SMTPGlobalAsReject                                   string        `json:"smtp.global_as_reject"`
	SMTPGlobalAvReject                                   bool          `json:"smtp.global_av_reject"`
	SMTPGlobalProfile                                    string        `json:"smtp.global_profile"`
	SMTPHostBlacklist                                    []interface{} `json:"smtp.host_blacklist"`
	SMTPHostname                                         string        `json:"smtp.hostname"`
	SMTPMaxMessageSize                                   int64         `json:"smtp.max_message_size"`
	SMTPMode                                             string        `json:"smtp.mode"`
	SMTPParentProxyAuthPass                              string        `json:"smtp.parent_proxy_auth_pass"`
	SMTPParentProxyAuthStatus                            bool          `json:"smtp.parent_proxy_auth_status"`
	SMTPParentProxyAuthUser                              string        `json:"smtp.parent_proxy_auth_user"`
	SMTPParentProxyHost                                  string        `json:"smtp.parent_proxy_host"`
	SMTPParentProxyPort                                  int64         `json:"smtp.parent_proxy_port"`
	SMTPParentProxyStatus                                bool          `json:"smtp.parent_proxy_status"`
	SMTPPostmaster                                       string        `json:"smtp.postmaster"`
	SMTPProfiles                                         []interface{} `json:"smtp.profiles"`
	SMTPRecipientsMax                                    int64         `json:"smtp.recipients_max"`
	SMTPRelays                                           []interface{} `json:"smtp.relays"`
	SMTPScanOutgoingEmails                               bool          `json:"smtp.scan_outgoing_emails"`
	SMTPScannerPoolMaxPool                               int64         `json:"smtp.scanner_pool.max_pool"`
	SMTPScannerPoolThresholds                            []int64       `json:"smtp.scanner_pool.thresholds"`
	SMTPScannerTimeout                                   int64         `json:"smtp.scanner_timeout"`
	SMTPSmarthostAuth                                    bool          `json:"smtp.smarthost_auth"`
	SMTPSmarthostHostname                                string        `json:"smtp.smarthost_hostname"`
	SMTPSmarthostPass                                    string        `json:"smtp.smarthost_pass"`
	SMTPSmarthostPort                                    int64         `json:"smtp.smarthost_port"`
	SMTPSmarthostStatus                                  bool          `json:"smtp.smarthost_status"`
	SMTPSmarthostUser                                    string        `json:"smtp.smarthost_user"`
	SMTPSmtpAcceptMax                                    int64         `json:"smtp.smtp_accept_max"`
	SMTPSmtpAcceptPerConnectionMax                       int64         `json:"smtp.smtp_accept_per_connection_max"`
	SMTPSmtpAcceptPerHostMax                             int64         `json:"smtp.smtp_accept_per_host_max"`
	SMTPStatus                                           bool          `json:"smtp.status"`
	SMTPTlsAvoid                                         []interface{} `json:"smtp.tls_avoid"`
	SMTPTlsCert                                          string        `json:"smtp.tls_cert"`
	SMTPTlsRequire                                       []interface{} `json:"smtp.tls_require"`
	SMTPTlsRequireSenderDomains                          []interface{} `json:"smtp.tls_require_sender_domains"`
	SMTPTlsVersion                                       string        `json:"smtp.tls_version"`
	SMTPTransparent                                      bool          `json:"smtp.transparent"`
	SMTPTransparentSkip                                  []interface{} `json:"smtp.transparent_skip"`
	SMTPTransparentSkipAutoPf                            bool          `json:"smtp.transparent_skip_auto_pf"`
	SMTPUpstreamHosts                                    []interface{} `json:"smtp.upstream_hosts"`
	SMTPUpstreamHostsOnly                                bool          `json:"smtp.upstream_hosts_only"`
	SnmpAllowedNetworks                                  []interface{} `json:"snmp.allowed_networks"`
	SnmpAuthPassword                                     string        `json:"snmp.auth_password"`
	SnmpAuthType                                         string        `json:"snmp.auth_type"`
	SnmpCommunity                                        string        `json:"snmp.community"`
	SnmpDeviceAdmin                                      string        `json:"snmp.device_admin"`
	SnmpDeviceLocation                                   string        `json:"snmp.device_location"`
	SnmpDeviceName                                       string        `json:"snmp.device_name"`
	SnmpEncryptPassword                                  string        `json:"snmp.encrypt_password"`
	SnmpEncryptType                                      string        `json:"snmp.encrypt_type"`
	SnmpStatus                                           bool          `json:"snmp.status"`
	SnmpTraps                                            []interface{} `json:"snmp.traps"`
	SnmpTrapsUseOldOids                                  bool          `json:"snmp.traps_use_old_oids"`
	SnmpUsername                                         string        `json:"snmp.username"`
	SnmpVersion                                          string        `json:"snmp.version"`
	SocksAaa                                             []string      `json:"socks.aaa"`
	SocksAllowedNetworks                                 []string      `json:"socks.allowed_networks"`
	SocksAuthentication                                  bool          `json:"socks.authentication"`
	SocksStatus                                          bool          `json:"socks.status"`
	SpxGlobalErrorNotificationTarget                     string        `json:"spx.global.error_notification_target"`
	SpxGlobalExpirySettingsAllowSecureReplyDays          int64         `json:"spx.global.expiry_settings.allow_secure_reply_days"`
	SpxGlobalExpirySettingsKeepDelayedMailDays           int64         `json:"spx.global.expiry_settings.keep_delayed_mail_days"`
	SpxGlobalExpirySettingsKeepUnusedPwdDays             int64         `json:"spx.global.expiry_settings.keep_unused_pwd_days"`
	SpxGlobalExpirySettingsRegistrationReminderDays      int64         `json:"spx.global.expiry_settings.registration_reminder_days"`
	SpxGlobalPasswordStrengthMinLength                   int64         `json:"spx.global.password_strength.min_length"`
	SpxGlobalPasswordStrengthRequireSpecChars            bool          `json:"spx.global.password_strength.require_spec_chars"`
	SpxGlobalPortalSettingsAllowedNetworks               []interface{} `json:"spx.global.portal_settings.allowed_networks"`
	SpxGlobalPortalSettingsHostname                      string        `json:"spx.global.portal_settings.hostname"`
	SpxGlobalPortalSettingsInterfaceAddress              string        `json:"spx.global.portal_settings.interface_address"`
	SpxGlobalPortalSettingsPort                          int64         `json:"spx.global.portal_settings.port"`
	SpxGlobalSpxPriority                                 bool          `json:"spx.global.spx_priority"`
	SpxGlobalStatus                                      bool          `json:"spx.global.status"`
	SpxSpxAuthPassword                                   string        `json:"spx.spx_auth.password"`
	SpxSpxAuthPort                                       int64         `json:"spx.spx_auth.port"`
	SpxSpxAuthServer                                     string        `json:"spx.spx_auth.server"`
	SpxSpxAuthUrl                                        string        `json:"spx.spx_auth.url"`
	SpxTemplates                                         []string      `json:"spx.templates"`
	SSHAllowedNetworks                                   []string      `json:"ssh.allowed_networks"`
	SSHLoginKeys                                         []string      `json:"ssh.login_keys"`
	SSHPasswordAuth                                      bool          `json:"ssh.password_auth"`
	SSHPort                                              int64         `json:"ssh.port"`
	SSHPubkeyAuth                                        bool          `json:"ssh.pubkey_auth"`
	SSHRootKeys                                          []string      `json:"ssh.root_keys"`
	SSHRootLogin                                         string        `json:"ssh.root_login"`
	SSHStatus                                            bool          `json:"ssh.status"`
	SslVpnAuthenticationAlgorithm                        string        `json:"ssl_vpn.authentication_algorithm"`
	SslVpnCertificate                                    string        `json:"ssl_vpn.certificate"`
	SslVpnCompression                                    bool          `json:"ssl_vpn.compression"`
	SslVpnDatachannelKeyLifetime                         int64         `json:"ssl_vpn.datachannel_key_lifetime"`
	SslVpnDebug                                          bool          `json:"ssl_vpn.debug"`
	SslVpnDhKeySize                                      string        `json:"ssl_vpn.dh_key_size"`
	SslVpnDuplicateCn                                    bool          `json:"ssl_vpn.duplicate_cn"`
	SslVpnEncryptionAlgorithm                            string        `json:"ssl_vpn.encryption_algorithm"`
	SslVpnHostname                                       string        `json:"ssl_vpn.hostname"`
	SslVpnInterface                                      string        `json:"ssl_vpn.interface"`
	SslVpnInterfaceAddress                               string        `json:"ssl_vpn.interface_address"`
	SslVpnIpAssignmentPool                               string        `json:"ssl_vpn.ip_assignment_pool"`
	SslVpnPort                                           int64         `json:"ssl_vpn.port"`
	SslVpnProtocol                                       string        `json:"ssl_vpn.protocol"`
	SslVpnUserAuthOptional                               bool          `json:"ssl_vpn.user_auth_optional"`
	SupportAccessAccessID                                string        `json:"support_access.access_id"`
	SupportAccessApuServer                               string        `json:"support_access.apu_server"`
	SupportAccessLifetimeDuration                        string        `json:"support_access.lifetime_duration"`
	SupportAccessLifetimeEnd                             struct{}      `json:"support_access.lifetime_end"`
	SupportAccessSshKeys                                 []interface{} `json:"support_access.ssh_keys"`
	SupportAccessStatus                                  bool          `json:"support_access.status"`
	U2DcacheAllowedNetworks                              []interface{} `json:"u2dcache.allowed_networks"`
	U2DcachePort                                         int64         `json:"u2dcache.port"`
	U2DcacheStatus                                       bool          `json:"u2dcache.status"`
	Up2DateCacheHost                                     string        `json:"up2date.cache_host"`
	Up2DateCachePort                                     int64         `json:"up2date.cache_port"`
	Up2DateCacheStatus                                   bool          `json:"up2date.cache_status"`
	Up2DateCacheUseAcc                                   bool          `json:"up2date.cache_use_acc"`
	Up2DateParentProxyAuthPass                           string        `json:"up2date.parent_proxy_auth_pass"`
	Up2DateParentProxyAuthStatus                         bool          `json:"up2date.parent_proxy_auth_status"`
	Up2DateParentProxyAuthUser                           string        `json:"up2date.parent_proxy_auth_user"`
	Up2DateParentProxyHost                               string        `json:"up2date.parent_proxy_host"`
	Up2DateParentProxyPort                               int64         `json:"up2date.parent_proxy_port"`
	Up2DateParentProxyStatus                             bool          `json:"up2date.parent_proxy_status"`
	Up2DatePatternDownloadInterval                       struct{}      `json:"up2date.pattern_download_interval"`
	Up2DatePatternDownloadStatus                         bool          `json:"up2date.pattern_download_status"`
	Up2DateScheduledUp2Date                              []interface{} `json:"up2date.scheduled_up2date"`
	Up2DateServers                                       []string      `json:"up2date.servers"`
	Up2DateStatus                                        bool          `json:"up2date.status"`
	Up2DateSystemAutoinstallTime                         string        `json:"up2date.system_autoinstall_time"`
	Up2DateSystemDownloadInterval                        int64         `json:"up2date.system_download_interval"`
	Up2DateSystemDownloadStatus                          bool          `json:"up2date.system_download_status"`
	UplinkActions                                        []interface{} `json:"uplink.actions"`
	UplinkActive                                         string        `json:"uplink.active"`
	UplinkCondition                                      string        `json:"uplink.condition"`
	UplinkInterfaces                                     string        `json:"uplink.interfaces"`
	UplinkMonitoring                                     bool          `json:"uplink.monitoring"`
	UplinkPassive                                        string        `json:"uplink.passive"`
	UplinkPrimary                                        string        `json:"uplink.primary"`
	UplinkRules                                          []string      `json:"uplink.rules"`
	UplinkScheduler                                      string        `json:"uplink.scheduler"`
	UplinkStatus                                         bool          `json:"uplink.status"`
	WebadminAllowedNetworks                              []string      `json:"webadmin.allowed_networks"`
	WebadminCa                                           string        `json:"webadmin.ca"`
	WebadminCert                                         string        `json:"webadmin.cert"`
	WebadminDashboardRefresh                             string        `json:"webadmin.dashboard_refresh"`
	WebadminLanguage                                     string        `json:"webadmin.language"`
	WebadminLogAdminConnect                              bool          `json:"webadmin.log_admin_connect"`
	WebadminOfferWizard                                  bool          `json:"webadmin.offer_wizard"`
	WebadminPort                                         int64         `json:"webadmin.port"`
	WebadminRestAPI                                      bool          `json:"webadmin.rest_api"`
	WebadminTermsOfUseStatus                             bool          `json:"webadmin.terms_of_use.status"`
	WebadminTermsOfUseText                               string        `json:"webadmin.terms_of_use.text"`
	WebadminTimeout                                      int64         `json:"webadmin.timeout"`
	WebadminTimeoutOnDashboard                           bool          `json:"webadmin.timeout_on_dashboard"`
	WebadminTlsCiphers                                   string        `json:"webadmin.tls_ciphers"`
	WebadminTlsProtocols                                 string        `json:"webadmin.tls_protocols"`
}

Nodes is a generated struct representing the Sophos Nodes Endpoint GET /api/nodes

func (Nodes) ApiRoutes

func (Nodes) ApiRoutes() []string

ApiRoutes returns all known Nodes Paths

func (Nodes) Definition

func (Nodes) Definition() sophos.Definition

Definition returns the /api/definitions struct of Nodes

func (*Nodes) GetPath

func (*Nodes) GetPath() string

GetPath implements sophos.RestGetter

func (*Nodes) RefRequired

func (*Nodes) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Nodes) References

func (Nodes) References() []string

References returns the Nodes's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Nodes) RestObjects

func (Nodes) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Nodes's Objects

type Notification

type Notification struct {
	NotificationGroup        NotificationGroup        `json:"notification_group"`
	NotificationNotification NotificationNotification `json:"notification_notification"`
}

Notification is a generated struct representing the Sophos Notification Endpoint GET /api/nodes/notification

func (Notification) ApiRoutes

func (Notification) ApiRoutes() []string

ApiRoutes returns all known Notification Paths

func (Notification) Definition

func (Notification) Definition() sophos.Definition

Definition returns the /api/definitions struct of Notification

func (*Notification) GetPath

func (*Notification) GetPath() string

GetPath implements sophos.RestGetter

func (*Notification) RefRequired

func (*Notification) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Notification) References

func (Notification) References() []string

References returns the Notification's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Notification) RestObjects

func (Notification) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Notification's Objects

type NotificationGroup

type NotificationGroup []interface{}

NotificationGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*NotificationGroup) DeletePath

func (*NotificationGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NotificationGroup DELETE path Creates or updates the complete object group

func (*NotificationGroup) GetPath

func (*NotificationGroup) GetPath() string

GetPath implements sophos.RestObject and returns the NotificationGroup GET path Returns all available notification/group objects

func (*NotificationGroup) PatchPath

func (*NotificationGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NotificationGroup PATCH path Changes to parts of the object group types

func (*NotificationGroup) PostPath

func (*NotificationGroup) PostPath() string

PostPath implements sophos.RestObject and returns the NotificationGroup POST path Create a new notification/group object

func (*NotificationGroup) PutPath

func (*NotificationGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NotificationGroup PUT path Creates or updates the complete object group

func (*NotificationGroup) RefRequired

func (*NotificationGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NotificationGroup) UsedByPath

func (*NotificationGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type NotificationNotification

type NotificationNotification []interface{}

NotificationNotification is an Sophos Endpoint subType and implements sophos.RestObject

func (*NotificationNotification) DeletePath

func (*NotificationNotification) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the NotificationNotification DELETE path Creates or updates the complete object notification

func (*NotificationNotification) GetPath

func (*NotificationNotification) GetPath() string

GetPath implements sophos.RestObject and returns the NotificationNotification GET path Returns all available notification/notification objects

func (*NotificationNotification) PatchPath

func (*NotificationNotification) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the NotificationNotification PATCH path Changes to parts of the object notification types

func (*NotificationNotification) PostPath

func (*NotificationNotification) PostPath() string

PostPath implements sophos.RestObject and returns the NotificationNotification POST path Create a new notification/notification object

func (*NotificationNotification) PutPath

func (*NotificationNotification) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the NotificationNotification PUT path Creates or updates the complete object notification

func (*NotificationNotification) RefRequired

func (*NotificationNotification) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*NotificationNotification) UsedByPath

func (*NotificationNotification) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Ospf

type Ospf struct {
	OspfArea             OspfArea             `json:"ospf_area"`
	OspfGroup            OspfGroup            `json:"ospf_group"`
	OspfInterface        OspfInterface        `json:"ospf_interface"`
	OspfMessageDigestKey OspfMessageDigestKey `json:"ospf_message_digest_key"`
}

Ospf is a generated struct representing the Sophos Ospf Endpoint GET /api/nodes/ospf

func (Ospf) ApiRoutes

func (Ospf) ApiRoutes() []string

ApiRoutes returns all known Ospf Paths

func (Ospf) Definition

func (Ospf) Definition() sophos.Definition

Definition returns the /api/definitions struct of Ospf

func (*Ospf) GetPath

func (*Ospf) GetPath() string

GetPath implements sophos.RestGetter

func (*Ospf) RefRequired

func (*Ospf) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Ospf) References

func (Ospf) References() []string

References returns the Ospf's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Ospf) RestObjects

func (Ospf) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Ospf's Objects

type OspfArea

type OspfArea []interface{}

OspfArea is an Sophos Endpoint subType and implements sophos.RestObject

func (*OspfArea) DeletePath

func (*OspfArea) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OspfArea DELETE path Creates or updates the complete object area

func (*OspfArea) GetPath

func (*OspfArea) GetPath() string

GetPath implements sophos.RestObject and returns the OspfArea GET path Returns all available ospf/area objects

func (*OspfArea) PatchPath

func (*OspfArea) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OspfArea PATCH path Changes to parts of the object area types

func (*OspfArea) PostPath

func (*OspfArea) PostPath() string

PostPath implements sophos.RestObject and returns the OspfArea POST path Create a new ospf/area object

func (*OspfArea) PutPath

func (*OspfArea) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OspfArea PUT path Creates or updates the complete object area

func (*OspfArea) RefRequired

func (*OspfArea) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OspfArea) UsedByPath

func (*OspfArea) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OspfGroup

type OspfGroup []interface{}

OspfGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*OspfGroup) DeletePath

func (*OspfGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OspfGroup DELETE path Creates or updates the complete object group

func (*OspfGroup) GetPath

func (*OspfGroup) GetPath() string

GetPath implements sophos.RestObject and returns the OspfGroup GET path Returns all available ospf/group objects

func (*OspfGroup) PatchPath

func (*OspfGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OspfGroup PATCH path Changes to parts of the object group types

func (*OspfGroup) PostPath

func (*OspfGroup) PostPath() string

PostPath implements sophos.RestObject and returns the OspfGroup POST path Create a new ospf/group object

func (*OspfGroup) PutPath

func (*OspfGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OspfGroup PUT path Creates or updates the complete object group

func (*OspfGroup) RefRequired

func (*OspfGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OspfGroup) UsedByPath

func (*OspfGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OspfInterface

type OspfInterface []interface{}

OspfInterface is an Sophos Endpoint subType and implements sophos.RestObject

func (*OspfInterface) DeletePath

func (*OspfInterface) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OspfInterface DELETE path Creates or updates the complete object interface

func (*OspfInterface) GetPath

func (*OspfInterface) GetPath() string

GetPath implements sophos.RestObject and returns the OspfInterface GET path Returns all available ospf/interface objects

func (*OspfInterface) PatchPath

func (*OspfInterface) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OspfInterface PATCH path Changes to parts of the object interface types

func (*OspfInterface) PostPath

func (*OspfInterface) PostPath() string

PostPath implements sophos.RestObject and returns the OspfInterface POST path Create a new ospf/interface object

func (*OspfInterface) PutPath

func (*OspfInterface) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OspfInterface PUT path Creates or updates the complete object interface

func (*OspfInterface) RefRequired

func (*OspfInterface) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OspfInterface) UsedByPath

func (*OspfInterface) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OspfMessageDigestKey

type OspfMessageDigestKey []interface{}

OspfMessageDigestKey is an Sophos Endpoint subType and implements sophos.RestObject

func (*OspfMessageDigestKey) DeletePath

func (*OspfMessageDigestKey) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OspfMessageDigestKey DELETE path Creates or updates the complete object message_digest_key

func (*OspfMessageDigestKey) GetPath

func (*OspfMessageDigestKey) GetPath() string

GetPath implements sophos.RestObject and returns the OspfMessageDigestKey GET path Returns all available ospf/message_digest_key objects

func (*OspfMessageDigestKey) PatchPath

func (*OspfMessageDigestKey) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OspfMessageDigestKey PATCH path Changes to parts of the object message_digest_key types

func (*OspfMessageDigestKey) PostPath

func (*OspfMessageDigestKey) PostPath() string

PostPath implements sophos.RestObject and returns the OspfMessageDigestKey POST path Create a new ospf/message_digest_key object

func (*OspfMessageDigestKey) PutPath

func (*OspfMessageDigestKey) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OspfMessageDigestKey PUT path Creates or updates the complete object message_digest_key

func (*OspfMessageDigestKey) RefRequired

func (*OspfMessageDigestKey) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OspfMessageDigestKey) UsedByPath

func (*OspfMessageDigestKey) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Override

type Override struct {
	OverrideGroup  OverrideGroup  `json:"override_group"`
	OverrideObjref OverrideObjref `json:"override_objref"`
}

Override is a generated struct representing the Sophos Override Endpoint GET /api/nodes/override

func (Override) ApiRoutes

func (Override) ApiRoutes() []string

ApiRoutes returns all known Override Paths

func (Override) Definition

func (Override) Definition() sophos.Definition

Definition returns the /api/definitions struct of Override

func (*Override) GetPath

func (*Override) GetPath() string

GetPath implements sophos.RestGetter

func (*Override) RefRequired

func (*Override) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Override) References

func (Override) References() []string

References returns the Override's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Override) RestObjects

func (Override) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Override's Objects

type OverrideGroup

type OverrideGroup []interface{}

OverrideGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*OverrideGroup) DeletePath

func (*OverrideGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OverrideGroup DELETE path Creates or updates the complete object group

func (*OverrideGroup) GetPath

func (*OverrideGroup) GetPath() string

GetPath implements sophos.RestObject and returns the OverrideGroup GET path Returns all available override/group objects

func (*OverrideGroup) PatchPath

func (*OverrideGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OverrideGroup PATCH path Changes to parts of the object group types

func (*OverrideGroup) PostPath

func (*OverrideGroup) PostPath() string

PostPath implements sophos.RestObject and returns the OverrideGroup POST path Create a new override/group object

func (*OverrideGroup) PutPath

func (*OverrideGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OverrideGroup PUT path Creates or updates the complete object group

func (*OverrideGroup) RefRequired

func (*OverrideGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OverrideGroup) UsedByPath

func (*OverrideGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type OverrideObjref

type OverrideObjref []interface{}

OverrideObjref is an Sophos Endpoint subType and implements sophos.RestObject

func (*OverrideObjref) DeletePath

func (*OverrideObjref) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the OverrideObjref DELETE path Creates or updates the complete object objref

func (*OverrideObjref) GetPath

func (*OverrideObjref) GetPath() string

GetPath implements sophos.RestObject and returns the OverrideObjref GET path Returns all available override/objref objects

func (*OverrideObjref) PatchPath

func (*OverrideObjref) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the OverrideObjref PATCH path Changes to parts of the object objref types

func (*OverrideObjref) PostPath

func (*OverrideObjref) PostPath() string

PostPath implements sophos.RestObject and returns the OverrideObjref POST path Create a new override/objref object

func (*OverrideObjref) PutPath

func (*OverrideObjref) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the OverrideObjref PUT path Creates or updates the complete object objref

func (*OverrideObjref) RefRequired

func (*OverrideObjref) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*OverrideObjref) UsedByPath

func (*OverrideObjref) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Packetfilter

type Packetfilter struct {
	Advanced struct {
		BlockInvalidCtPackets int64    `json:"block_invalid_ct_packets"`
		CheckPacketLength     int64    `json:"check_packet_length"`
		ConntrackHelpers      []string `json:"conntrack_helpers"`
		FtpPorts              []int64  `json:"ftp_ports"`
		LogBroadcasts         int64    `json:"log_broadcasts"`
		LogDNSRequests        int64    `json:"log_dns_requests"`
		LogFtpData            int64    `json:"log_ftp_data"`
		LogInvalid            int64    `json:"log_invalid"`
		LogMcast              int64    `json:"log_mcast"`
		LogStrictTcpState     string   `json:"log_strict_tcp_state"`
		NoErrorReplay         int64    `json:"no_error_replay"`
		Optimize              struct {
			Ipset string `json:"ipset"`
			Ports int64  `json:"ports"`
		} `json:"optimize"`
		SpoofProtection  string `json:"spoof_protection"`
		StrictTcpState   int64  `json:"strict_tcp_state"`
		TcpMaxRetrans    int64  `json:"tcp_max_retrans"`
		TcpWindowScaling int64  `json:"tcp_window_scaling"`
	} `json:"advanced"`
	Rules      []string `json:"rules"`
	RulesAuto  []string `json:"rules_auto"`
	RulesBack  string   `json:"rules_back"`
	RulesFront string   `json:"rules_front"`
	Timeouts   struct {
		IPConntrackGenericTimeout        int64 `json:"ip_conntrack_generic_timeout"`
		IPConntrackIcmpTimeout           int64 `json:"ip_conntrack_icmp_timeout"`
		IPConntrackTcpTimeoutClose       int64 `json:"ip_conntrack_tcp_timeout_close"`
		IPConntrackTcpTimeoutCloseWait   int64 `json:"ip_conntrack_tcp_timeout_close_wait"`
		IPConntrackTcpTimeoutEstablished int64 `json:"ip_conntrack_tcp_timeout_established"`
		IPConntrackTcpTimeoutFinWait     int64 `json:"ip_conntrack_tcp_timeout_fin_wait"`
		IPConntrackTcpTimeoutLastAck     int64 `json:"ip_conntrack_tcp_timeout_last_ack"`
		IPConntrackTcpTimeoutMaxRetrans  int64 `json:"ip_conntrack_tcp_timeout_max_retrans"`
		IPConntrackTcpTimeoutSynRecv     int64 `json:"ip_conntrack_tcp_timeout_syn_recv"`
		IPConntrackTcpTimeoutSynSent     int64 `json:"ip_conntrack_tcp_timeout_syn_sent"`
		IPConntrackTcpTimeoutTimeWait    int64 `json:"ip_conntrack_tcp_timeout_time_wait"`
		IPConntrackUdpTimeout            int64 `json:"ip_conntrack_udp_timeout"`
		IPConntrackUdpTimeoutStream      int64 `json:"ip_conntrack_udp_timeout_stream"`
	} `json:"timeouts"`
}

Packetfilter is a generated struct representing the Sophos Packetfilter Endpoint GET /api/nodes/packetfilter

func (Packetfilter) ApiRoutes

func (Packetfilter) ApiRoutes() []string

ApiRoutes returns all known Packetfilter Paths

func (Packetfilter) Definition

func (Packetfilter) Definition() sophos.Definition

Definition returns the /api/definitions struct of Packetfilter

func (*Packetfilter) GetPath

func (*Packetfilter) GetPath() string

GetPath implements sophos.RestGetter

func (*Packetfilter) RefRequired

func (*Packetfilter) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Packetfilter) References

func (Packetfilter) References() []string

References returns the Packetfilter's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Packetfilter) RestObjects

func (Packetfilter) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Packetfilter's Objects

type Packetfilter1to1Nat

type Packetfilter1to1Nat []interface{}

Packetfilter1to1Nat is an Sophos Endpoint subType and implements sophos.RestObject

func (*Packetfilter1to1Nat) DeletePath

func (*Packetfilter1to1Nat) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Packetfilter1to1Nat DELETE path Creates or updates the complete object 1to1nat

func (*Packetfilter1to1Nat) GetPath

func (*Packetfilter1to1Nat) GetPath() string

GetPath implements sophos.RestObject and returns the Packetfilter1to1Nat GET path Returns all available packetfilter/1to1nat objects

func (*Packetfilter1to1Nat) PatchPath

func (*Packetfilter1to1Nat) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Packetfilter1to1Nat PATCH path Changes to parts of the object 1to1nat types

func (*Packetfilter1to1Nat) PostPath

func (*Packetfilter1to1Nat) PostPath() string

PostPath implements sophos.RestObject and returns the Packetfilter1to1Nat POST path Create a new packetfilter/1to1nat object

func (*Packetfilter1to1Nat) PutPath

func (*Packetfilter1to1Nat) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Packetfilter1to1Nat PUT path Creates or updates the complete object 1to1nat

func (*Packetfilter1to1Nat) RefRequired

func (*Packetfilter1to1Nat) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Packetfilter1to1Nat) UsedByPath

func (*Packetfilter1to1Nat) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterGenericProxy

type PacketfilterGenericProxy []interface{}

PacketfilterGenericProxy is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterGenericProxy) DeletePath

func (*PacketfilterGenericProxy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterGenericProxy DELETE path Creates or updates the complete object generic_proxy

func (*PacketfilterGenericProxy) GetPath

func (*PacketfilterGenericProxy) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterGenericProxy GET path Returns all available packetfilter/generic_proxy objects

func (*PacketfilterGenericProxy) PatchPath

func (*PacketfilterGenericProxy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterGenericProxy PATCH path Changes to parts of the object generic_proxy types

func (*PacketfilterGenericProxy) PostPath

func (*PacketfilterGenericProxy) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterGenericProxy POST path Create a new packetfilter/generic_proxy object

func (*PacketfilterGenericProxy) PutPath

func (*PacketfilterGenericProxy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterGenericProxy PUT path Creates or updates the complete object generic_proxy

func (*PacketfilterGenericProxy) RefRequired

func (*PacketfilterGenericProxy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterGenericProxy) UsedByPath

func (*PacketfilterGenericProxy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterGroup

type PacketfilterGroup []interface{}

PacketfilterGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterGroup) DeletePath

func (*PacketfilterGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterGroup DELETE path Creates or updates the complete object group

func (*PacketfilterGroup) GetPath

func (*PacketfilterGroup) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterGroup GET path Returns all available packetfilter/group objects

func (*PacketfilterGroup) PatchPath

func (*PacketfilterGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterGroup PATCH path Changes to parts of the object group types

func (*PacketfilterGroup) PostPath

func (*PacketfilterGroup) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterGroup POST path Create a new packetfilter/group object

func (*PacketfilterGroup) PutPath

func (*PacketfilterGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterGroup PUT path Creates or updates the complete object group

func (*PacketfilterGroup) RefRequired

func (*PacketfilterGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterGroup) UsedByPath

func (*PacketfilterGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterLoadbalance

type PacketfilterLoadbalance []interface{}

PacketfilterLoadbalance is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterLoadbalance) DeletePath

func (*PacketfilterLoadbalance) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterLoadbalance DELETE path Creates or updates the complete object loadbalance

func (*PacketfilterLoadbalance) GetPath

func (*PacketfilterLoadbalance) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterLoadbalance GET path Returns all available packetfilter/loadbalance objects

func (*PacketfilterLoadbalance) PatchPath

func (*PacketfilterLoadbalance) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterLoadbalance PATCH path Changes to parts of the object loadbalance types

func (*PacketfilterLoadbalance) PostPath

func (*PacketfilterLoadbalance) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterLoadbalance POST path Create a new packetfilter/loadbalance object

func (*PacketfilterLoadbalance) PutPath

func (*PacketfilterLoadbalance) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterLoadbalance PUT path Creates or updates the complete object loadbalance

func (*PacketfilterLoadbalance) RefRequired

func (*PacketfilterLoadbalance) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterLoadbalance) UsedByPath

func (*PacketfilterLoadbalance) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterMangle

type PacketfilterMangle []interface{}

PacketfilterMangle is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterMangle) DeletePath

func (*PacketfilterMangle) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterMangle DELETE path Creates or updates the complete object mangle

func (*PacketfilterMangle) GetPath

func (*PacketfilterMangle) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterMangle GET path Returns all available packetfilter/mangle objects

func (*PacketfilterMangle) PatchPath

func (*PacketfilterMangle) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterMangle PATCH path Changes to parts of the object mangle types

func (*PacketfilterMangle) PostPath

func (*PacketfilterMangle) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterMangle POST path Create a new packetfilter/mangle object

func (*PacketfilterMangle) PutPath

func (*PacketfilterMangle) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterMangle PUT path Creates or updates the complete object mangle

func (*PacketfilterMangle) RefRequired

func (*PacketfilterMangle) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterMangle) UsedByPath

func (*PacketfilterMangle) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterMasq

type PacketfilterMasq struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AdditionalAddress        string `json:"additional_address"`
	AdditionalAddressRestore string `json:"additional_address_restore"`
	Comment                  string `json:"comment"`
	Name                     string `json:"name"`
	Source                   string `json:"source"`
	SourceNatInterface       string `json:"source_nat_interface"`
	Status                   bool   `json:"status"`
	// contains filtered or unexported fields
}

PacketfilterMasq is a generated Sophos object

func (*PacketfilterMasq) DeletePath

func (*PacketfilterMasq) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterMasq DELETE path Creates or updates the complete object masq

func (*PacketfilterMasq) GetPath

func (p *PacketfilterMasq) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterMasqs GET path Returns all available masq types

func (*PacketfilterMasq) GetType

func (p *PacketfilterMasq) GetType() string

GetType implements sophos.Object

func (*PacketfilterMasq) PatchPath

func (*PacketfilterMasq) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterMasq PATCH path Changes to parts of the object masq types

func (*PacketfilterMasq) PostPath

func (*PacketfilterMasq) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterMasq POST path Create a new packetfilter/masq object

func (*PacketfilterMasq) PutPath

func (*PacketfilterMasq) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterMasq PUT path Creates or updates the complete object masq

func (*PacketfilterMasq) RefRequired

func (p *PacketfilterMasq) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterMasq) UsedByPath

func (*PacketfilterMasq) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterMasqs

type PacketfilterMasqs []PacketfilterMasq

PacketfilterMasqs is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterMasqs) GetPath

func (*PacketfilterMasqs) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterMasqs GET path Returns all available packetfilter/masq objects

func (*PacketfilterMasqs) RefRequired

func (*PacketfilterMasqs) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterNat

type PacketfilterNat struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AutoPfIn              string `json:"auto_pf_in"`
	AutoPfrule            bool   `json:"auto_pfrule"`
	Comment               string `json:"comment"`
	Destination           string `json:"destination"`
	DestinationNatAddress string `json:"destination_nat_address"`
	DestinationNatService string `json:"destination_nat_service"`
	Group                 string `json:"group"`
	Ipsec                 bool   `json:"ipsec"`
	Log                   bool   `json:"log"`
	Mode                  string `json:"mode"`
	Name                  string `json:"name"`
	Service               string `json:"service"`
	Source                string `json:"source"`
	SourceNatAddress      string `json:"source_nat_address"`
	SourceNatService      string `json:"source_nat_service"`
	Status                bool   `json:"status"`
	// contains filtered or unexported fields
}

PacketfilterNat is a generated Sophos object

func (*PacketfilterNat) DeletePath

func (*PacketfilterNat) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterNat DELETE path Creates or updates the complete object nat

func (*PacketfilterNat) GetPath

func (p *PacketfilterNat) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterNats GET path Returns all available nat types

func (*PacketfilterNat) GetType

func (p *PacketfilterNat) GetType() string

GetType implements sophos.Object

func (*PacketfilterNat) PatchPath

func (*PacketfilterNat) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterNat PATCH path Changes to parts of the object nat types

func (*PacketfilterNat) PostPath

func (*PacketfilterNat) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterNat POST path Create a new packetfilter/nat object

func (*PacketfilterNat) PutPath

func (*PacketfilterNat) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterNat PUT path Creates or updates the complete object nat

func (*PacketfilterNat) RefRequired

func (p *PacketfilterNat) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterNat) UsedByPath

func (*PacketfilterNat) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterNats

type PacketfilterNats []PacketfilterNat

PacketfilterNats is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterNats) GetPath

func (*PacketfilterNats) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterNats GET path Returns all available packetfilter/nat objects

func (*PacketfilterNats) RefRequired

func (*PacketfilterNats) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterPacketfilter

type PacketfilterPacketfilter struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Action             string   `json:"action"`
	Auto               bool     `json:"auto"`
	AutoType           string   `json:"auto_type"`
	Comment            string   `json:"comment"`
	Destinations       []string `json:"destinations"`
	Direction          string   `json:"direction"`
	Group              string   `json:"group"`
	Interface          string   `json:"interface"`
	Log                bool     `json:"log"`
	Name               string   `json:"name"`
	Services           []string `json:"services"`
	SourceMacAddresses string   `json:"source_mac_addresses"`
	Sources            []string `json:"sources"`
	Status             bool     `json:"status"`
	Time               string   `json:"time"`
	// contains filtered or unexported fields
}

PacketfilterPacketfilter is a generated Sophos object

func (*PacketfilterPacketfilter) DeletePath

func (*PacketfilterPacketfilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterPacketfilter DELETE path Creates or updates the complete object packetfilter

func (*PacketfilterPacketfilter) GetPath

func (p *PacketfilterPacketfilter) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterPacketfilters GET path Returns all available packetfilter types

func (*PacketfilterPacketfilter) GetType

func (p *PacketfilterPacketfilter) GetType() string

GetType implements sophos.Object

func (*PacketfilterPacketfilter) PatchPath

func (*PacketfilterPacketfilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterPacketfilter PATCH path Changes to parts of the object packetfilter types

func (*PacketfilterPacketfilter) PostPath

func (*PacketfilterPacketfilter) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterPacketfilter POST path Create a new packetfilter/packetfilter object

func (*PacketfilterPacketfilter) PutPath

func (*PacketfilterPacketfilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterPacketfilter PUT path Creates or updates the complete object packetfilter

func (*PacketfilterPacketfilter) RefRequired

func (p *PacketfilterPacketfilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterPacketfilter) UsedByPath

func (*PacketfilterPacketfilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PacketfilterPacketfilters

type PacketfilterPacketfilters []PacketfilterPacketfilter

PacketfilterPacketfilters is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterPacketfilters) GetPath

func (*PacketfilterPacketfilters) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterPacketfilters GET path Returns all available packetfilter/packetfilter objects

func (*PacketfilterPacketfilters) RefRequired

func (*PacketfilterPacketfilters) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type PacketfilterRuleset

type PacketfilterRuleset []interface{}

PacketfilterRuleset is an Sophos Endpoint subType and implements sophos.RestObject

func (*PacketfilterRuleset) DeletePath

func (*PacketfilterRuleset) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PacketfilterRuleset DELETE path Creates or updates the complete object ruleset

func (*PacketfilterRuleset) GetPath

func (*PacketfilterRuleset) GetPath() string

GetPath implements sophos.RestObject and returns the PacketfilterRuleset GET path Returns all available packetfilter/ruleset objects

func (*PacketfilterRuleset) PatchPath

func (*PacketfilterRuleset) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PacketfilterRuleset PATCH path Changes to parts of the object ruleset types

func (*PacketfilterRuleset) PostPath

func (*PacketfilterRuleset) PostPath() string

PostPath implements sophos.RestObject and returns the PacketfilterRuleset POST path Create a new packetfilter/ruleset object

func (*PacketfilterRuleset) PutPath

func (*PacketfilterRuleset) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PacketfilterRuleset PUT path Creates or updates the complete object ruleset

func (*PacketfilterRuleset) RefRequired

func (*PacketfilterRuleset) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PacketfilterRuleset) UsedByPath

func (*PacketfilterRuleset) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PimSm

type PimSm struct {
	AutoPfOut       string        `json:"auto_pf_out"`
	AutoPfrule      int64         `json:"auto_pfrule"`
	Debug           int64         `json:"debug"`
	Interfaces      []interface{} `json:"interfaces"`
	RpRouters       []interface{} `json:"rp_routers"`
	SptSwitchBytes  int64         `json:"spt_switch_bytes"`
	SptSwitchStatus int64         `json:"spt_switch_status"`
	Status          int64         `json:"status"`
}

PimSm is a generated struct representing the Sophos PimSm Endpoint GET /api/nodes/pim_sm

func (PimSm) ApiRoutes

func (PimSm) ApiRoutes() []string

ApiRoutes returns all known PimSm Paths

func (PimSm) Definition

func (PimSm) Definition() sophos.Definition

Definition returns the /api/definitions struct of PimSm

func (*PimSm) GetPath

func (*PimSm) GetPath() string

GetPath implements sophos.RestGetter

func (*PimSm) RefRequired

func (*PimSm) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (PimSm) References

func (PimSm) References() []string

References returns the PimSm's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (PimSm) RestObjects

func (PimSm) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of PimSm's Objects

type PimSmGroup

type PimSmGroup []interface{}

PimSmGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*PimSmGroup) DeletePath

func (*PimSmGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PimSmGroup DELETE path Creates or updates the complete object group

func (*PimSmGroup) GetPath

func (*PimSmGroup) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmGroup GET path Returns all available pim_sm/group objects

func (*PimSmGroup) PatchPath

func (*PimSmGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PimSmGroup PATCH path Changes to parts of the object group types

func (*PimSmGroup) PostPath

func (*PimSmGroup) PostPath() string

PostPath implements sophos.RestObject and returns the PimSmGroup POST path Create a new pim_sm/group object

func (*PimSmGroup) PutPath

func (*PimSmGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PimSmGroup PUT path Creates or updates the complete object group

func (*PimSmGroup) RefRequired

func (*PimSmGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PimSmGroup) UsedByPath

func (*PimSmGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PimSmInterface

type PimSmInterface []interface{}

PimSmInterface is an Sophos Endpoint subType and implements sophos.RestObject

func (*PimSmInterface) DeletePath

func (*PimSmInterface) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PimSmInterface DELETE path Creates or updates the complete object interface

func (*PimSmInterface) GetPath

func (*PimSmInterface) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmInterface GET path Returns all available pim_sm/interface objects

func (*PimSmInterface) PatchPath

func (*PimSmInterface) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PimSmInterface PATCH path Changes to parts of the object interface types

func (*PimSmInterface) PostPath

func (*PimSmInterface) PostPath() string

PostPath implements sophos.RestObject and returns the PimSmInterface POST path Create a new pim_sm/interface object

func (*PimSmInterface) PutPath

func (*PimSmInterface) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PimSmInterface PUT path Creates or updates the complete object interface

func (*PimSmInterface) RefRequired

func (*PimSmInterface) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PimSmInterface) UsedByPath

func (*PimSmInterface) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PimSmRoute

type PimSmRoute []interface{}

PimSmRoute is an Sophos Endpoint subType and implements sophos.RestObject

func (*PimSmRoute) DeletePath

func (*PimSmRoute) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PimSmRoute DELETE path Creates or updates the complete object route

func (*PimSmRoute) GetPath

func (*PimSmRoute) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmRoute GET path Returns all available pim_sm/route objects

func (*PimSmRoute) PatchPath

func (*PimSmRoute) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PimSmRoute PATCH path Changes to parts of the object route types

func (*PimSmRoute) PostPath

func (*PimSmRoute) PostPath() string

PostPath implements sophos.RestObject and returns the PimSmRoute POST path Create a new pim_sm/route object

func (*PimSmRoute) PutPath

func (*PimSmRoute) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PimSmRoute PUT path Creates or updates the complete object route

func (*PimSmRoute) RefRequired

func (*PimSmRoute) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PimSmRoute) UsedByPath

func (*PimSmRoute) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type PimSmRpRouter

type PimSmRpRouter []interface{}

PimSmRpRouter is an Sophos Endpoint subType and implements sophos.RestObject

func (*PimSmRpRouter) DeletePath

func (*PimSmRpRouter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the PimSmRpRouter DELETE path Creates or updates the complete object rp_router

func (*PimSmRpRouter) GetPath

func (*PimSmRpRouter) GetPath() string

GetPath implements sophos.RestObject and returns the PimSmRpRouter GET path Returns all available pim_sm/rp_router objects

func (*PimSmRpRouter) PatchPath

func (*PimSmRpRouter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the PimSmRpRouter PATCH path Changes to parts of the object rp_router types

func (*PimSmRpRouter) PostPath

func (*PimSmRpRouter) PostPath() string

PostPath implements sophos.RestObject and returns the PimSmRpRouter POST path Create a new pim_sm/rp_router object

func (*PimSmRpRouter) PutPath

func (*PimSmRpRouter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the PimSmRpRouter PUT path Creates or updates the complete object rp_router

func (*PimSmRpRouter) RefRequired

func (*PimSmRpRouter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*PimSmRpRouter) UsedByPath

func (*PimSmRpRouter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Pop3

type Pop3 struct {
	AllowedClients            []interface{} `json:"allowed_clients"`
	AllowedServers            []string      `json:"allowed_servers"`
	CffAsMarker               string        `json:"cff_as_marker"`
	CffAv                     int64         `json:"cff_av"`
	CffAvAction               string        `json:"cff_av_action"`
	CffAvEngines              string        `json:"cff_av_engines"`
	CffFileExtensions         []string      `json:"cff_file_extensions"`
	DirectlyDeleteQuarantined int64         `json:"directly_delete_quarantined"`
	Exceptions                []interface{} `json:"exceptions"`
	KnownServers              []interface{} `json:"known_servers"`
	MaxMessageSize            int64         `json:"max_message_size"`
	Prefetching               struct {
		Interval           int64 `json:"interval"`
		OptimizeStorage    int64 `json:"optimize_storage"`
		Status             int64 `json:"status"`
		StorageMinHoldDays int64 `json:"storage_min_hold_days"`
	} `json:"prefetching"`
	QuarantineUnscannable int64         `json:"quarantine_unscannable"`
	SandboxMaxFilesizeMb  int64         `json:"sandbox_max_filesize_mb"`
	SandboxScanStatus     int64         `json:"sandbox_scan_status"`
	ScanTLS               int64         `json:"scan_tls"`
	SenderBlacklist       []interface{} `json:"sender_blacklist"`
	Spam                  string        `json:"spam"`
	SpamExpressions       []interface{} `json:"spam_expressions"`
	Spamplus              string        `json:"spamplus"`
	Spamstatus            int64         `json:"spamstatus"`
	Status                int64         `json:"status"`
	TLSCert               string        `json:"tls_cert"`
	TransparentSkip       []interface{} `json:"transparent_skip"`
	TransparentSkipAutoPf int64         `json:"transparent_skip_auto_pf"`
	UserCharset           string        `json:"user_charset"`
}

Pop3 is a generated struct representing the Sophos Pop3 Endpoint GET /api/nodes/pop3

func (Pop3) ApiRoutes

func (Pop3) ApiRoutes() []string

ApiRoutes returns all known Pop3 Paths

func (Pop3) Definition

func (Pop3) Definition() sophos.Definition

Definition returns the /api/definitions struct of Pop3

func (*Pop3) GetPath

func (*Pop3) GetPath() string

GetPath implements sophos.RestGetter

func (*Pop3) RefRequired

func (*Pop3) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Pop3) References

func (Pop3) References() []string

References returns the Pop3's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Pop3) RestObjects

func (Pop3) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Pop3's Objects

type Pop3Account

type Pop3Account []interface{}

Pop3Account is an Sophos Endpoint subType and implements sophos.RestObject

func (*Pop3Account) DeletePath

func (*Pop3Account) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Pop3Account DELETE path Creates or updates the complete object account

func (*Pop3Account) GetPath

func (*Pop3Account) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Account GET path Returns all available pop3/account objects

func (*Pop3Account) PatchPath

func (*Pop3Account) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Pop3Account PATCH path Changes to parts of the object account types

func (*Pop3Account) PostPath

func (*Pop3Account) PostPath() string

PostPath implements sophos.RestObject and returns the Pop3Account POST path Create a new pop3/account object

func (*Pop3Account) PutPath

func (*Pop3Account) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Pop3Account PUT path Creates or updates the complete object account

func (*Pop3Account) RefRequired

func (*Pop3Account) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Pop3Account) UsedByPath

func (*Pop3Account) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Pop3Exception

type Pop3Exception []interface{}

Pop3Exception is an Sophos Endpoint subType and implements sophos.RestObject

func (*Pop3Exception) DeletePath

func (*Pop3Exception) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Pop3Exception DELETE path Creates or updates the complete object exception

func (*Pop3Exception) GetPath

func (*Pop3Exception) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Exception GET path Returns all available pop3/exception objects

func (*Pop3Exception) PatchPath

func (*Pop3Exception) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Pop3Exception PATCH path Changes to parts of the object exception types

func (*Pop3Exception) PostPath

func (*Pop3Exception) PostPath() string

PostPath implements sophos.RestObject and returns the Pop3Exception POST path Create a new pop3/exception object

func (*Pop3Exception) PutPath

func (*Pop3Exception) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Pop3Exception PUT path Creates or updates the complete object exception

func (*Pop3Exception) RefRequired

func (*Pop3Exception) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Pop3Exception) UsedByPath

func (*Pop3Exception) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Pop3Group

type Pop3Group []interface{}

Pop3Group is an Sophos Endpoint subType and implements sophos.RestObject

func (*Pop3Group) DeletePath

func (*Pop3Group) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Pop3Group DELETE path Creates or updates the complete object group

func (*Pop3Group) GetPath

func (*Pop3Group) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Group GET path Returns all available pop3/group objects

func (*Pop3Group) PatchPath

func (*Pop3Group) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Pop3Group PATCH path Changes to parts of the object group types

func (*Pop3Group) PostPath

func (*Pop3Group) PostPath() string

PostPath implements sophos.RestObject and returns the Pop3Group POST path Create a new pop3/group object

func (*Pop3Group) PutPath

func (*Pop3Group) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Pop3Group PUT path Creates or updates the complete object group

func (*Pop3Group) RefRequired

func (*Pop3Group) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Pop3Group) UsedByPath

func (*Pop3Group) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Pop3Server

type Pop3Server []interface{}

Pop3Server is an Sophos Endpoint subType and implements sophos.RestObject

func (*Pop3Server) DeletePath

func (*Pop3Server) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the Pop3Server DELETE path Creates or updates the complete object server

func (*Pop3Server) GetPath

func (*Pop3Server) GetPath() string

GetPath implements sophos.RestObject and returns the Pop3Server GET path Returns all available pop3/server objects

func (*Pop3Server) PatchPath

func (*Pop3Server) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the Pop3Server PATCH path Changes to parts of the object server types

func (*Pop3Server) PostPath

func (*Pop3Server) PostPath() string

PostPath implements sophos.RestObject and returns the Pop3Server POST path Create a new pop3/server object

func (*Pop3Server) PutPath

func (*Pop3Server) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the Pop3Server PUT path Creates or updates the complete object server

func (*Pop3Server) RefRequired

func (*Pop3Server) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*Pop3Server) UsedByPath

func (*Pop3Server) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Qos

type Qos struct {
	Advanced struct {
		Ecn                 int64 `json:"ecn"`
		KeepClassAfterEncap int64 `json:"keep_class_after_encap"`
	} `json:"advanced"`
	Interfaces []string `json:"interfaces"`
}

Qos is a generated struct representing the Sophos Qos Endpoint GET /api/nodes/qos

func (Qos) ApiRoutes

func (Qos) ApiRoutes() []string

ApiRoutes returns all known Qos Paths

func (Qos) Definition

func (Qos) Definition() sophos.Definition

Definition returns the /api/definitions struct of Qos

func (*Qos) GetPath

func (*Qos) GetPath() string

GetPath implements sophos.RestGetter

func (*Qos) RefRequired

func (*Qos) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Qos) References

func (Qos) References() []string

References returns the Qos's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Qos) RestObjects

func (Qos) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Qos's Objects

type QosApplicationSelector

type QosApplicationSelector []interface{}

QosApplicationSelector is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosApplicationSelector) DeletePath

func (*QosApplicationSelector) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosApplicationSelector DELETE path Creates or updates the complete object application_selector

func (*QosApplicationSelector) GetPath

func (*QosApplicationSelector) GetPath() string

GetPath implements sophos.RestObject and returns the QosApplicationSelector GET path Returns all available qos/application_selector objects

func (*QosApplicationSelector) PatchPath

func (*QosApplicationSelector) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosApplicationSelector PATCH path Changes to parts of the object application_selector types

func (*QosApplicationSelector) PostPath

func (*QosApplicationSelector) PostPath() string

PostPath implements sophos.RestObject and returns the QosApplicationSelector POST path Create a new qos/application_selector object

func (*QosApplicationSelector) PutPath

func (*QosApplicationSelector) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosApplicationSelector PUT path Creates or updates the complete object application_selector

func (*QosApplicationSelector) RefRequired

func (*QosApplicationSelector) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosApplicationSelector) UsedByPath

func (*QosApplicationSelector) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosGroup

type QosGroup []interface{}

QosGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosGroup) DeletePath

func (*QosGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosGroup DELETE path Creates or updates the complete object group

func (*QosGroup) GetPath

func (*QosGroup) GetPath() string

GetPath implements sophos.RestObject and returns the QosGroup GET path Returns all available qos/group objects

func (*QosGroup) PatchPath

func (*QosGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosGroup PATCH path Changes to parts of the object group types

func (*QosGroup) PostPath

func (*QosGroup) PostPath() string

PostPath implements sophos.RestObject and returns the QosGroup POST path Create a new qos/group object

func (*QosGroup) PutPath

func (*QosGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosGroup PUT path Creates or updates the complete object group

func (*QosGroup) RefRequired

func (*QosGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosGroup) UsedByPath

func (*QosGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosIngressRule

type QosIngressRule []interface{}

QosIngressRule is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosIngressRule) DeletePath

func (*QosIngressRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosIngressRule DELETE path Creates or updates the complete object ingress_rule

func (*QosIngressRule) GetPath

func (*QosIngressRule) GetPath() string

GetPath implements sophos.RestObject and returns the QosIngressRule GET path Returns all available qos/ingress_rule objects

func (*QosIngressRule) PatchPath

func (*QosIngressRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosIngressRule PATCH path Changes to parts of the object ingress_rule types

func (*QosIngressRule) PostPath

func (*QosIngressRule) PostPath() string

PostPath implements sophos.RestObject and returns the QosIngressRule POST path Create a new qos/ingress_rule object

func (*QosIngressRule) PutPath

func (*QosIngressRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosIngressRule PUT path Creates or updates the complete object ingress_rule

func (*QosIngressRule) RefRequired

func (*QosIngressRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosIngressRule) UsedByPath

func (*QosIngressRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosInterface

type QosInterface struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment           string        `json:"comment"`
	Downlink          int64         `json:"downlink"`
	DownlinkOptimizer bool          `json:"downlink_optimizer"`
	IngressRules      []interface{} `json:"ingress_rules"`
	Interface         string        `json:"interface"`
	Name              string        `json:"name"`
	Rules             []interface{} `json:"rules"`
	Status            bool          `json:"status"`
	Uplink            int64         `json:"uplink"`
	UplinkLimit       bool          `json:"uplink_limit"`
	UplinkOptimizer   bool          `json:"uplink_optimizer"`
	// contains filtered or unexported fields
}

QosInterface is a generated Sophos object

func (*QosInterface) DeletePath

func (*QosInterface) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosInterface DELETE path Creates or updates the complete object interface

func (*QosInterface) GetPath

func (q *QosInterface) GetPath() string

GetPath implements sophos.RestObject and returns the QosInterfaces GET path Returns all available interface types

func (*QosInterface) GetType

func (q *QosInterface) GetType() string

GetType implements sophos.Object

func (*QosInterface) PatchPath

func (*QosInterface) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosInterface PATCH path Changes to parts of the object interface types

func (*QosInterface) PostPath

func (*QosInterface) PostPath() string

PostPath implements sophos.RestObject and returns the QosInterface POST path Create a new qos/interface object

func (*QosInterface) PutPath

func (*QosInterface) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosInterface PUT path Creates or updates the complete object interface

func (*QosInterface) RefRequired

func (q *QosInterface) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosInterface) UsedByPath

func (*QosInterface) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosInterfaces

type QosInterfaces []QosInterface

QosInterfaces is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosInterfaces) GetPath

func (*QosInterfaces) GetPath() string

GetPath implements sophos.RestObject and returns the QosInterfaces GET path Returns all available qos/interface objects

func (*QosInterfaces) RefRequired

func (*QosInterfaces) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type QosRule

type QosRule []interface{}

QosRule is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosRule) DeletePath

func (*QosRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosRule DELETE path Creates or updates the complete object rule

func (*QosRule) GetPath

func (*QosRule) GetPath() string

GetPath implements sophos.RestObject and returns the QosRule GET path Returns all available qos/rule objects

func (*QosRule) PatchPath

func (*QosRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosRule PATCH path Changes to parts of the object rule types

func (*QosRule) PostPath

func (*QosRule) PostPath() string

PostPath implements sophos.RestObject and returns the QosRule POST path Create a new qos/rule object

func (*QosRule) PutPath

func (*QosRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosRule PUT path Creates or updates the complete object rule

func (*QosRule) RefRequired

func (*QosRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosRule) UsedByPath

func (*QosRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosTrafficSelector

type QosTrafficSelector []interface{}

QosTrafficSelector is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosTrafficSelector) DeletePath

func (*QosTrafficSelector) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosTrafficSelector DELETE path Creates or updates the complete object traffic_selector

func (*QosTrafficSelector) GetPath

func (*QosTrafficSelector) GetPath() string

GetPath implements sophos.RestObject and returns the QosTrafficSelector GET path Returns all available qos/traffic_selector objects

func (*QosTrafficSelector) PatchPath

func (*QosTrafficSelector) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosTrafficSelector PATCH path Changes to parts of the object traffic_selector types

func (*QosTrafficSelector) PostPath

func (*QosTrafficSelector) PostPath() string

PostPath implements sophos.RestObject and returns the QosTrafficSelector POST path Create a new qos/traffic_selector object

func (*QosTrafficSelector) PutPath

func (*QosTrafficSelector) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosTrafficSelector PUT path Creates or updates the complete object traffic_selector

func (*QosTrafficSelector) RefRequired

func (*QosTrafficSelector) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosTrafficSelector) UsedByPath

func (*QosTrafficSelector) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type QosTrafficSelectorGroup

type QosTrafficSelectorGroup []interface{}

QosTrafficSelectorGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*QosTrafficSelectorGroup) DeletePath

func (*QosTrafficSelectorGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the QosTrafficSelectorGroup DELETE path Creates or updates the complete object traffic_selector_group

func (*QosTrafficSelectorGroup) GetPath

func (*QosTrafficSelectorGroup) GetPath() string

GetPath implements sophos.RestObject and returns the QosTrafficSelectorGroup GET path Returns all available qos/traffic_selector_group objects

func (*QosTrafficSelectorGroup) PatchPath

func (*QosTrafficSelectorGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the QosTrafficSelectorGroup PATCH path Changes to parts of the object traffic_selector_group types

func (*QosTrafficSelectorGroup) PostPath

func (*QosTrafficSelectorGroup) PostPath() string

PostPath implements sophos.RestObject and returns the QosTrafficSelectorGroup POST path Create a new qos/traffic_selector_group object

func (*QosTrafficSelectorGroup) PutPath

func (*QosTrafficSelectorGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the QosTrafficSelectorGroup PUT path Creates or updates the complete object traffic_selector_group

func (*QosTrafficSelectorGroup) RefRequired

func (*QosTrafficSelectorGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*QosTrafficSelectorGroup) UsedByPath

func (*QosTrafficSelectorGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RemoteSyslog

type RemoteSyslog struct {
	Buffer int64         `json:"buffer"`
	Logs   []interface{} `json:"logs"`
	Status int64         `json:"status"`
	Target []interface{} `json:"target"`
}

RemoteSyslog is a generated struct representing the Sophos RemoteSyslog Endpoint GET /api/nodes/remote_syslog

func (RemoteSyslog) ApiRoutes

func (RemoteSyslog) ApiRoutes() []string

ApiRoutes returns all known RemoteSyslog Paths

func (RemoteSyslog) Definition

func (RemoteSyslog) Definition() sophos.Definition

Definition returns the /api/definitions struct of RemoteSyslog

func (*RemoteSyslog) GetPath

func (*RemoteSyslog) GetPath() string

GetPath implements sophos.RestGetter

func (*RemoteSyslog) RefRequired

func (*RemoteSyslog) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (RemoteSyslog) References

func (RemoteSyslog) References() []string

References returns the RemoteSyslog's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (RemoteSyslog) RestObjects

func (RemoteSyslog) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of RemoteSyslog's Objects

type RemoteSyslogGroup

type RemoteSyslogGroup []interface{}

RemoteSyslogGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*RemoteSyslogGroup) DeletePath

func (*RemoteSyslogGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RemoteSyslogGroup DELETE path Creates or updates the complete object group

func (*RemoteSyslogGroup) GetPath

func (*RemoteSyslogGroup) GetPath() string

GetPath implements sophos.RestObject and returns the RemoteSyslogGroup GET path Returns all available remote_syslog/group objects

func (*RemoteSyslogGroup) PatchPath

func (*RemoteSyslogGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RemoteSyslogGroup PATCH path Changes to parts of the object group types

func (*RemoteSyslogGroup) PostPath

func (*RemoteSyslogGroup) PostPath() string

PostPath implements sophos.RestObject and returns the RemoteSyslogGroup POST path Create a new remote_syslog/group object

func (*RemoteSyslogGroup) PutPath

func (*RemoteSyslogGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RemoteSyslogGroup PUT path Creates or updates the complete object group

func (*RemoteSyslogGroup) RefRequired

func (*RemoteSyslogGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RemoteSyslogGroup) UsedByPath

func (*RemoteSyslogGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RemoteSyslogServer

type RemoteSyslogServer []interface{}

RemoteSyslogServer is an Sophos Endpoint subType and implements sophos.RestObject

func (*RemoteSyslogServer) DeletePath

func (*RemoteSyslogServer) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RemoteSyslogServer DELETE path Creates or updates the complete object server

func (*RemoteSyslogServer) GetPath

func (*RemoteSyslogServer) GetPath() string

GetPath implements sophos.RestObject and returns the RemoteSyslogServer GET path Returns all available remote_syslog/server objects

func (*RemoteSyslogServer) PatchPath

func (*RemoteSyslogServer) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RemoteSyslogServer PATCH path Changes to parts of the object server types

func (*RemoteSyslogServer) PostPath

func (*RemoteSyslogServer) PostPath() string

PostPath implements sophos.RestObject and returns the RemoteSyslogServer POST path Create a new remote_syslog/server object

func (*RemoteSyslogServer) PutPath

func (*RemoteSyslogServer) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RemoteSyslogServer PUT path Creates or updates the complete object server

func (*RemoteSyslogServer) RefRequired

func (*RemoteSyslogServer) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RemoteSyslogServer) UsedByPath

func (*RemoteSyslogServer) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Reporting

type Reporting struct {
	AccountingKeepdays     int64         `json:"accounting_keepdays"`
	AccountingStatus       int64         `json:"accounting_status"`
	Anonymizing            int64         `json:"anonymizing"`
	AppctrlKeepdays        int64         `json:"appctrl_keepdays"`
	AppctrlStatus          int64         `json:"appctrl_status"`
	AtpKeepdays            int64         `json:"atp_keepdays"`
	AtpReset               int64         `json:"atp_reset"`
	AtpStatus              int64         `json:"atp_status"`
	AuthenticationKeepdays int64         `json:"authentication_keepdays"`
	AuthenticationStatus   int64         `json:"authentication_status"`
	CsvSeparator           string        `json:"csv_separator"`
	EmailsecurityImport    []interface{} `json:"emailsecurity_import"`
	EmailsecurityKeepdays  int64         `json:"emailsecurity_keepdays"`
	EmailsecurityStatus    int64         `json:"emailsecurity_status"`
	EnableVpnAccounting    int64         `json:"enable_vpn_accounting"`
	HideAccountingips      []interface{} `json:"hide_accountingips"`
	HideMailaddresses      []interface{} `json:"hide_mailaddresses"`
	HideMaildomains        []interface{} `json:"hide_maildomains"`
	HideNetsecips          []interface{} `json:"hide_netsecips"`
	HideWebdomains         []interface{} `json:"hide_webdomains"`
	IpsImport              []interface{} `json:"ips_import"`
	IpsKeepdays            int64         `json:"ips_keepdays"`
	IpsStatus              int64         `json:"ips_status"`
	PacketfilterImport     []interface{} `json:"packetfilter_import"`
	PacketfilterKeepdays   int64         `json:"packetfilter_keepdays"`
	PacketfilterStatus     int64         `json:"packetfilter_status"`
	Password1              string        `json:"password1"`
	Password2              string        `json:"password2"`
	SandboxKeepdays        int64         `json:"sandbox_keepdays"`
	UserlogFromLogs        int64         `json:"userlog_from_logs"`
	VpnKeepdays            int64         `json:"vpn_keepdays"`
	VpnStatus              int64         `json:"vpn_status"`
	WafKeepdays            int64         `json:"waf_keepdays"`
	WafStatus              int64         `json:"waf_status"`
	WebsecurityDetail      int64         `json:"websecurity_detail"`
	WebsecurityImport      []interface{} `json:"websecurity_import"`
	WebsecurityKeepdays    int64         `json:"websecurity_keepdays"`
	WebsecurityStatus      int64         `json:"websecurity_status"`
}

Reporting is a generated struct representing the Sophos Reporting Endpoint GET /api/nodes/reporting

func (Reporting) ApiRoutes

func (Reporting) ApiRoutes() []string

ApiRoutes returns all known Reporting Paths

func (Reporting) Definition

func (Reporting) Definition() sophos.Definition

Definition returns the /api/definitions struct of Reporting

func (*Reporting) GetPath

func (*Reporting) GetPath() string

GetPath implements sophos.RestGetter

func (*Reporting) RefRequired

func (*Reporting) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Reporting) References

func (Reporting) References() []string

References returns the Reporting's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Reporting) RestObjects

func (Reporting) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Reporting's Objects

type ReportingDepartment

type ReportingDepartment []interface{}

ReportingDepartment is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReportingDepartment) DeletePath

func (*ReportingDepartment) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReportingDepartment DELETE path Creates or updates the complete object department

func (*ReportingDepartment) GetPath

func (*ReportingDepartment) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingDepartment GET path Returns all available reporting/department objects

func (*ReportingDepartment) PatchPath

func (*ReportingDepartment) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReportingDepartment PATCH path Changes to parts of the object department types

func (*ReportingDepartment) PostPath

func (*ReportingDepartment) PostPath() string

PostPath implements sophos.RestObject and returns the ReportingDepartment POST path Create a new reporting/department object

func (*ReportingDepartment) PutPath

func (*ReportingDepartment) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReportingDepartment PUT path Creates or updates the complete object department

func (*ReportingDepartment) RefRequired

func (*ReportingDepartment) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReportingDepartment) UsedByPath

func (*ReportingDepartment) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReportingFilter

type ReportingFilter struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Callname   string `json:"callname"`
	Comment    string `json:"comment"`
	Department string `json:"department"`
	Filter     struct {
		Action string `json:"action"`
		Info   string `json:"info"`
	} `json:"filter"`
	Name      string `json:"name"`
	SortBy    string `json:"sort_by"`
	SortDir   string `json:"sort_dir"`
	Subsystem string `json:"subsystem"`
	Timeframe string `json:"timeframe"`
	Top       int64  `json:"top"`
	// contains filtered or unexported fields
}

ReportingFilter is a generated Sophos object

func (*ReportingFilter) DeletePath

func (*ReportingFilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReportingFilter DELETE path Creates or updates the complete object filter

func (*ReportingFilter) GetPath

func (r *ReportingFilter) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingFilters GET path Returns all available filter types

func (*ReportingFilter) GetType

func (r *ReportingFilter) GetType() string

GetType implements sophos.Object

func (*ReportingFilter) PatchPath

func (*ReportingFilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReportingFilter PATCH path Changes to parts of the object filter types

func (*ReportingFilter) PostPath

func (*ReportingFilter) PostPath() string

PostPath implements sophos.RestObject and returns the ReportingFilter POST path Create a new reporting/filter object

func (*ReportingFilter) PutPath

func (*ReportingFilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReportingFilter PUT path Creates or updates the complete object filter

func (*ReportingFilter) RefRequired

func (r *ReportingFilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReportingFilter) UsedByPath

func (*ReportingFilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReportingFilters

type ReportingFilters []ReportingFilter

ReportingFilters is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReportingFilters) GetPath

func (*ReportingFilters) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingFilters GET path Returns all available reporting/filter objects

func (*ReportingFilters) RefRequired

func (*ReportingFilters) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReportingGroup

type ReportingGroup []interface{}

ReportingGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReportingGroup) DeletePath

func (*ReportingGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReportingGroup DELETE path Creates or updates the complete object group

func (*ReportingGroup) GetPath

func (*ReportingGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingGroup GET path Returns all available reporting/group objects

func (*ReportingGroup) PatchPath

func (*ReportingGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReportingGroup PATCH path Changes to parts of the object group types

func (*ReportingGroup) PostPath

func (*ReportingGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ReportingGroup POST path Create a new reporting/group object

func (*ReportingGroup) PutPath

func (*ReportingGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReportingGroup PUT path Creates or updates the complete object group

func (*ReportingGroup) RefRequired

func (*ReportingGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReportingGroup) UsedByPath

func (*ReportingGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReportingMail

type ReportingMail []interface{}

ReportingMail is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReportingMail) DeletePath

func (*ReportingMail) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReportingMail DELETE path Creates or updates the complete object mail

func (*ReportingMail) GetPath

func (*ReportingMail) GetPath() string

GetPath implements sophos.RestObject and returns the ReportingMail GET path Returns all available reporting/mail objects

func (*ReportingMail) PatchPath

func (*ReportingMail) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReportingMail PATCH path Changes to parts of the object mail types

func (*ReportingMail) PostPath

func (*ReportingMail) PostPath() string

PostPath implements sophos.RestObject and returns the ReportingMail POST path Create a new reporting/mail object

func (*ReportingMail) PutPath

func (*ReportingMail) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReportingMail PUT path Creates or updates the complete object mail

func (*ReportingMail) RefRequired

func (*ReportingMail) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReportingMail) UsedByPath

func (*ReportingMail) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxy

type ReverseProxy struct {
	AuaRefreshEnabled  int64 `json:"aua_refresh_enabled"`
	AuaRefreshInterval int64 `json:"aua_refresh_interval"`
	Blacklist          struct {
		DnsrblZones []string `json:"dnsrbl_zones"`
		GeoipCodes  []string `json:"geoip_codes"`
	} `json:"blacklist"`
	Cookiesignkey                       string        `json:"cookiesignkey"`
	CssdHostname                        string        `json:"cssd_hostname"`
	CssdPort                            int64         `json:"cssd_port"`
	CustomThreatFiltersEnabled          int64         `json:"custom_threat_filters_enabled"`
	FormhardeningSecret                 string        `json:"formhardening_secret"`
	Keepalive                           int64         `json:"keepalive"`
	Manualmode                          int64         `json:"manualmode"`
	MaxConnectionsPerChild              int64         `json:"max_connections_per_child"`
	MaxPreforkProcesses                 int64         `json:"max_prefork_processes"`
	MaxProcesses                        int64         `json:"max_processes"`
	MaxSessionFiles                     int64         `json:"max_session_files"`
	MaxSpareProcesses                   int64         `json:"max_spare_processes"`
	MaxSpareThreads                     int64         `json:"max_spare_threads"`
	MaxThreadsPerProcess                int64         `json:"max_threads_per_process"`
	MinSpareProcesses                   int64         `json:"min_spare_processes"`
	MinSpareThreads                     int64         `json:"min_spare_threads"`
	MinTLS                              string        `json:"min_tls"`
	ModsecurityBeta                     int64         `json:"modsecurity_beta"`
	MpmMode                             string        `json:"mpm_mode"`
	Patternversion                      string        `json:"patternversion"`
	Port                                int64         `json:"port"`
	Proxyprotocol                       int64         `json:"proxyprotocol"`
	RequestLineLimit                    int64         `json:"request_line_limit"`
	SlowhttpExceptions                  []interface{} `json:"slowhttp_exceptions"`
	SlowhttpRequestHeaderTimeoutBase    int64         `json:"slowhttp_request_header_timeout_base"`
	SlowhttpRequestHeaderTimeoutEnabled int64         `json:"slowhttp_request_header_timeout_enabled"`
	SlowhttpRequestHeaderTimeoutMax     int64         `json:"slowhttp_request_header_timeout_max"`
	SlowhttpRequestHeaderTimeoutRate    int64         `json:"slowhttp_request_header_timeout_rate"`
	Status                              int64         `json:"status"`
	TraceEnabled                        int64         `json:"trace_enabled"`
	Urlhardeningsignkey                 string        `json:"urlhardeningsignkey"`
	Whatkilledus                        int64         `json:"whatkilledus"`
}

ReverseProxy is a generated struct representing the Sophos ReverseProxy Endpoint GET /api/nodes/reverse_proxy

func (ReverseProxy) ApiRoutes

func (ReverseProxy) ApiRoutes() []string

ApiRoutes returns all known ReverseProxy Paths

func (ReverseProxy) Definition

func (ReverseProxy) Definition() sophos.Definition

Definition returns the /api/definitions struct of ReverseProxy

func (*ReverseProxy) GetPath

func (*ReverseProxy) GetPath() string

GetPath implements sophos.RestGetter

func (*ReverseProxy) RefRequired

func (*ReverseProxy) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (ReverseProxy) References

func (ReverseProxy) References() []string

References returns the ReverseProxy's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (ReverseProxy) RestObjects

func (ReverseProxy) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of ReverseProxy's Objects

type ReverseProxyAuthProfile

type ReverseProxyAuthProfile struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Aaa                             []string      `json:"aaa"`
	BackendMode                     string        `json:"backend_mode"`
	BackendStripBasicAuth           bool          `json:"backend_strip_basic_auth"`
	BackendUserPrefix               string        `json:"backend_user_prefix"`
	BackendUserSuffix               string        `json:"backend_user_suffix"`
	BasicPrompt                     string        `json:"basic_prompt"`
	Comment                         string        `json:"comment"`
	FrontendCookie                  string        `json:"frontend_cookie"`
	FrontendCookieSecret            string        `json:"frontend_cookie_secret"`
	FrontendForm                    string        `json:"frontend_form"`
	FrontendFormTemplate            string        `json:"frontend_form_template"`
	FrontendLogin                   string        `json:"frontend_login"`
	FrontendLogout                  string        `json:"frontend_logout"`
	FrontendMode                    string        `json:"frontend_mode"`
	FrontendRealm                   string        `json:"frontend_realm"`
	FrontendSessionAllowPersistency bool          `json:"frontend_session_allow_persistency"`
	FrontendSessionLifetime         int64         `json:"frontend_session_lifetime"`
	FrontendSessionLifetimeLimited  bool          `json:"frontend_session_lifetime_limited"`
	FrontendSessionLifetimeScope    string        `json:"frontend_session_lifetime_scope"`
	FrontendSessionTimeout          int64         `json:"frontend_session_timeout"`
	FrontendSessionTimeoutEnabled   bool          `json:"frontend_session_timeout_enabled"`
	FrontendSessionTimeoutScope     string        `json:"frontend_session_timeout_scope"`
	LogoutDelegationUrls            []interface{} `json:"logout_delegation_urls"`
	LogoutMode                      string        `json:"logout_mode"`
	Name                            string        `json:"name"`
	RedirectToRequestedURL          bool          `json:"redirect_to_requested_url"`
	// contains filtered or unexported fields
}

ReverseProxyAuthProfile is a generated Sophos object

func (*ReverseProxyAuthProfile) DeletePath

func (*ReverseProxyAuthProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyAuthProfile DELETE path Creates or updates the complete object auth_profile

func (*ReverseProxyAuthProfile) GetPath

func (r *ReverseProxyAuthProfile) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyAuthProfiles GET path Returns all available auth_profile types

func (*ReverseProxyAuthProfile) GetType

func (r *ReverseProxyAuthProfile) GetType() string

GetType implements sophos.Object

func (*ReverseProxyAuthProfile) PatchPath

func (*ReverseProxyAuthProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyAuthProfile PATCH path Changes to parts of the object auth_profile types

func (*ReverseProxyAuthProfile) PostPath

func (*ReverseProxyAuthProfile) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyAuthProfile POST path Create a new reverse_proxy/auth_profile object

func (*ReverseProxyAuthProfile) PutPath

func (*ReverseProxyAuthProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyAuthProfile PUT path Creates or updates the complete object auth_profile

func (*ReverseProxyAuthProfile) RefRequired

func (r *ReverseProxyAuthProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyAuthProfile) UsedByPath

func (*ReverseProxyAuthProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyAuthProfiles

type ReverseProxyAuthProfiles []ReverseProxyAuthProfile

ReverseProxyAuthProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyAuthProfiles) GetPath

func (*ReverseProxyAuthProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyAuthProfiles GET path Returns all available reverse_proxy/auth_profile objects

func (*ReverseProxyAuthProfiles) RefRequired

func (*ReverseProxyAuthProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyBackend

type ReverseProxyBackend struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment                         string `json:"comment"`
	DisableBackendConnectionPooling bool   `json:"disable_backend_connection_pooling"`
	Host                            string `json:"host"`
	Keepalive                       bool   `json:"keepalive"`
	Name                            string `json:"name"`
	Path                            string `json:"path"`
	Port                            int64  `json:"port"`
	Ssl                             bool   `json:"ssl"`
	Status                          bool   `json:"status"`
	Timeout                         int64  `json:"timeout"`
	// contains filtered or unexported fields
}

ReverseProxyBackend is a generated Sophos object

func (*ReverseProxyBackend) DeletePath

func (*ReverseProxyBackend) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyBackend DELETE path Creates or updates the complete object backend

func (*ReverseProxyBackend) GetPath

func (r *ReverseProxyBackend) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyBackends GET path Returns all available backend types

func (*ReverseProxyBackend) GetType

func (r *ReverseProxyBackend) GetType() string

GetType implements sophos.Object

func (*ReverseProxyBackend) PatchPath

func (*ReverseProxyBackend) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyBackend PATCH path Changes to parts of the object backend types

func (*ReverseProxyBackend) PostPath

func (*ReverseProxyBackend) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyBackend POST path Create a new reverse_proxy/backend object

func (*ReverseProxyBackend) PutPath

func (*ReverseProxyBackend) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyBackend PUT path Creates or updates the complete object backend

func (*ReverseProxyBackend) RefRequired

func (r *ReverseProxyBackend) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyBackend) UsedByPath

func (*ReverseProxyBackend) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyBackends

type ReverseProxyBackends []ReverseProxyBackend

ReverseProxyBackends is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyBackends) GetPath

func (*ReverseProxyBackends) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyBackends GET path Returns all available reverse_proxy/backend objects

func (*ReverseProxyBackends) RefRequired

func (*ReverseProxyBackends) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyException

type ReverseProxyException []interface{}

ReverseProxyException is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyException) DeletePath

func (*ReverseProxyException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyException DELETE path Creates or updates the complete object exception

func (*ReverseProxyException) GetPath

func (*ReverseProxyException) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyException GET path Returns all available reverse_proxy/exception objects

func (*ReverseProxyException) PatchPath

func (*ReverseProxyException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyException PATCH path Changes to parts of the object exception types

func (*ReverseProxyException) PostPath

func (*ReverseProxyException) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyException POST path Create a new reverse_proxy/exception object

func (*ReverseProxyException) PutPath

func (*ReverseProxyException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyException PUT path Creates or updates the complete object exception

func (*ReverseProxyException) RefRequired

func (*ReverseProxyException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyException) UsedByPath

func (*ReverseProxyException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyFilter

type ReverseProxyFilter []interface{}

ReverseProxyFilter is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyFilter) DeletePath

func (*ReverseProxyFilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyFilter DELETE path Creates or updates the complete object filter

func (*ReverseProxyFilter) GetPath

func (*ReverseProxyFilter) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFilter GET path Returns all available reverse_proxy/filter objects

func (*ReverseProxyFilter) PatchPath

func (*ReverseProxyFilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyFilter PATCH path Changes to parts of the object filter types

func (*ReverseProxyFilter) PostPath

func (*ReverseProxyFilter) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyFilter POST path Create a new reverse_proxy/filter object

func (*ReverseProxyFilter) PutPath

func (*ReverseProxyFilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyFilter PUT path Creates or updates the complete object filter

func (*ReverseProxyFilter) RefRequired

func (*ReverseProxyFilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyFilter) UsedByPath

func (*ReverseProxyFilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyFormTemplate

type ReverseProxyFormTemplate struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Assets struct {
		DefaultStylesheet_css string `json:"default_stylesheet.css"`
	} `json:"assets"`
	Comment  string `json:"comment"`
	Filename string `json:"filename"`
	Name     string `json:"name"`
	Template string `json:"template"`
	// contains filtered or unexported fields
}

ReverseProxyFormTemplate is a generated Sophos object

func (*ReverseProxyFormTemplate) DeletePath

func (*ReverseProxyFormTemplate) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyFormTemplate DELETE path Creates or updates the complete object form_template

func (*ReverseProxyFormTemplate) GetPath

func (r *ReverseProxyFormTemplate) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFormTemplates GET path Returns all available form_template types

func (*ReverseProxyFormTemplate) GetType

func (r *ReverseProxyFormTemplate) GetType() string

GetType implements sophos.Object

func (*ReverseProxyFormTemplate) PatchPath

func (*ReverseProxyFormTemplate) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyFormTemplate PATCH path Changes to parts of the object form_template types

func (*ReverseProxyFormTemplate) PostPath

func (*ReverseProxyFormTemplate) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyFormTemplate POST path Create a new reverse_proxy/form_template object

func (*ReverseProxyFormTemplate) PutPath

func (*ReverseProxyFormTemplate) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyFormTemplate PUT path Creates or updates the complete object form_template

func (*ReverseProxyFormTemplate) RefRequired

func (r *ReverseProxyFormTemplate) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyFormTemplate) UsedByPath

func (*ReverseProxyFormTemplate) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyFormTemplates

type ReverseProxyFormTemplates []ReverseProxyFormTemplate

ReverseProxyFormTemplates is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyFormTemplates) GetPath

func (*ReverseProxyFormTemplates) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFormTemplates GET path Returns all available reverse_proxy/form_template objects

func (*ReverseProxyFormTemplates) RefRequired

func (*ReverseProxyFormTemplates) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyFrontend

type ReverseProxyFrontend struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AddContentTypeHeader bool          `json:"add_content_type_header"`
	Address              string        `json:"address"`
	AllowedNetworks      []string      `json:"allowed_networks"`
	Certificate          string        `json:"certificate"`
	Comment              string        `json:"comment"`
	DisableCompression   bool          `json:"disable_compression"`
	Domain               []string      `json:"domain"`
	Exceptions           []interface{} `json:"exceptions"`
	Htmlrewrite          bool          `json:"htmlrewrite"`
	HtmlrewriteCookies   bool          `json:"htmlrewrite_cookies"`
	Implicitredirect     bool          `json:"implicitredirect"`
	Lbmethod             string        `json:"lbmethod"`
	Locations            []string      `json:"locations"`
	Name                 string        `json:"name"`
	Port                 int64         `json:"port"`
	Preservehost         bool          `json:"preservehost"`
	Profile              string        `json:"profile"`
	Status               bool          `json:"status"`
	Type                 string        `json:"type"`
	Xheaders             bool          `json:"xheaders"`
	// contains filtered or unexported fields
}

ReverseProxyFrontend is a generated Sophos object

func (*ReverseProxyFrontend) DeletePath

func (*ReverseProxyFrontend) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyFrontend DELETE path Creates or updates the complete object frontend

func (*ReverseProxyFrontend) GetPath

func (r *ReverseProxyFrontend) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFrontends GET path Returns all available frontend types

func (*ReverseProxyFrontend) GetType

func (r *ReverseProxyFrontend) GetType() string

GetType implements sophos.Object

func (*ReverseProxyFrontend) PatchPath

func (*ReverseProxyFrontend) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyFrontend PATCH path Changes to parts of the object frontend types

func (*ReverseProxyFrontend) PostPath

func (*ReverseProxyFrontend) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyFrontend POST path Create a new reverse_proxy/frontend object

func (*ReverseProxyFrontend) PutPath

func (*ReverseProxyFrontend) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyFrontend PUT path Creates or updates the complete object frontend

func (*ReverseProxyFrontend) RefRequired

func (r *ReverseProxyFrontend) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyFrontend) UsedByPath

func (*ReverseProxyFrontend) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyFrontends

type ReverseProxyFrontends []ReverseProxyFrontend

ReverseProxyFrontends is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyFrontends) GetPath

func (*ReverseProxyFrontends) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyFrontends GET path Returns all available reverse_proxy/frontend objects

func (*ReverseProxyFrontends) RefRequired

func (*ReverseProxyFrontends) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyGroup

type ReverseProxyGroup []interface{}

ReverseProxyGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyGroup) DeletePath

func (*ReverseProxyGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyGroup DELETE path Creates or updates the complete object group

func (*ReverseProxyGroup) GetPath

func (*ReverseProxyGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyGroup GET path Returns all available reverse_proxy/group objects

func (*ReverseProxyGroup) PatchPath

func (*ReverseProxyGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyGroup PATCH path Changes to parts of the object group types

func (*ReverseProxyGroup) PostPath

func (*ReverseProxyGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyGroup POST path Create a new reverse_proxy/group object

func (*ReverseProxyGroup) PutPath

func (*ReverseProxyGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyGroup PUT path Creates or updates the complete object group

func (*ReverseProxyGroup) RefRequired

func (*ReverseProxyGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyGroup) UsedByPath

func (*ReverseProxyGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyLocation

type ReverseProxyLocation struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AccessControl        string        `json:"access_control"`
	AllowedNetworks      []string      `json:"allowed_networks"`
	AuthProfile          string        `json:"auth_profile"`
	Backend              []string      `json:"backend"`
	BePath               string        `json:"be_path"`
	Comment              string        `json:"comment"`
	DeniedNetworks       []interface{} `json:"denied_networks"`
	HotStandby           bool          `json:"hot_standby"`
	Name                 string        `json:"name"`
	Path                 string        `json:"path"`
	Status               bool          `json:"status"`
	StickysessionID      string        `json:"stickysession_id"`
	StickysessionStatus  bool          `json:"stickysession_status"`
	WebsocketPassthrough bool          `json:"websocket_passthrough"`
	// contains filtered or unexported fields
}

ReverseProxyLocation is a generated Sophos object

func (*ReverseProxyLocation) DeletePath

func (*ReverseProxyLocation) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyLocation DELETE path Creates or updates the complete object location

func (*ReverseProxyLocation) GetPath

func (r *ReverseProxyLocation) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyLocations GET path Returns all available location types

func (*ReverseProxyLocation) GetType

func (r *ReverseProxyLocation) GetType() string

GetType implements sophos.Object

func (*ReverseProxyLocation) PatchPath

func (*ReverseProxyLocation) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyLocation PATCH path Changes to parts of the object location types

func (*ReverseProxyLocation) PostPath

func (*ReverseProxyLocation) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyLocation POST path Create a new reverse_proxy/location object

func (*ReverseProxyLocation) PutPath

func (*ReverseProxyLocation) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyLocation PUT path Creates or updates the complete object location

func (*ReverseProxyLocation) RefRequired

func (r *ReverseProxyLocation) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyLocation) UsedByPath

func (*ReverseProxyLocation) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyLocations

type ReverseProxyLocations []ReverseProxyLocation

ReverseProxyLocations is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyLocations) GetPath

func (*ReverseProxyLocations) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyLocations GET path Returns all available reverse_proxy/location objects

func (*ReverseProxyLocations) RefRequired

func (*ReverseProxyLocations) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyProfile

type ReverseProxyProfile struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Av                           bool          `json:"av"`
	AvBlockUnscannable           bool          `json:"av_block_unscannable"`
	AvDirections                 string        `json:"av_directions"`
	AvEngines                    string        `json:"av_engines"`
	AvSizeLimit                  int64         `json:"av_size_limit"`
	AvTimeout                    int64         `json:"av_timeout"`
	BadClients                   bool          `json:"bad_clients"`
	BadClientsNoDnslookup        bool          `json:"bad_clients_no_dnslookup"`
	Comment                      string        `json:"comment"`
	Cookiesign                   bool          `json:"cookiesign"`
	CookiesignDropUnsigned       bool          `json:"cookiesign_drop_unsigned"`
	CustomThreatsFilters         []interface{} `json:"custom_threats_filters"`
	Extensions                   []interface{} `json:"extensions"`
	Filter                       []interface{} `json:"filter"`
	FilterMode                   string        `json:"filter_mode"`
	Formhardening                bool          `json:"formhardening"`
	Name                         string        `json:"name"`
	Outlookanywhere              bool          `json:"outlookanywhere"`
	SecRequestBodyNoFilesLimit   int64         `json:"sec_request_body_no_files_limit"`
	Skipwafrules                 []int64       `json:"skipwafrules"`
	Tft                          bool          `json:"tft"`
	TftBlockUnscannable          bool          `json:"tft_block_unscannable"`
	TftBlockedMimeTypes          []interface{} `json:"tft_blocked_mime_types"`
	ThreatsFilter                bool          `json:"threats_filter"`
	ThreatsFilterCategories      []string      `json:"threats_filter_categories"`
	ThreatsFilterRigid           bool          `json:"threats_filter_rigid"`
	Urlhardening                 bool          `json:"urlhardening"`
	UrlhardeningEntrypages       []string      `json:"urlhardening_entrypages"`
	UrlhardeningEntrypagesSource string        `json:"urlhardening_entrypages_source"`
	UrlhardeningSitemapUpdate    int64         `json:"urlhardening_sitemap_update"`
	UrlhardeningSitemapURL       string        `json:"urlhardening_sitemap_url"`
	Waf                          bool          `json:"waf"`
	Wafmode                      string        `json:"wafmode"`
	Wafparanoia                  bool          `json:"wafparanoia"`
	// contains filtered or unexported fields
}

ReverseProxyProfile is a generated Sophos object

func (*ReverseProxyProfile) DeletePath

func (*ReverseProxyProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyProfile DELETE path Creates or updates the complete object profile

func (*ReverseProxyProfile) GetPath

func (r *ReverseProxyProfile) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyProfiles GET path Returns all available profile types

func (*ReverseProxyProfile) GetType

func (r *ReverseProxyProfile) GetType() string

GetType implements sophos.Object

func (*ReverseProxyProfile) PatchPath

func (*ReverseProxyProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyProfile PATCH path Changes to parts of the object profile types

func (*ReverseProxyProfile) PostPath

func (*ReverseProxyProfile) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyProfile POST path Create a new reverse_proxy/profile object

func (*ReverseProxyProfile) PutPath

func (*ReverseProxyProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyProfile PUT path Creates or updates the complete object profile

func (*ReverseProxyProfile) RefRequired

func (r *ReverseProxyProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyProfile) UsedByPath

func (*ReverseProxyProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyProfiles

type ReverseProxyProfiles []ReverseProxyProfile

ReverseProxyProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyProfiles) GetPath

func (*ReverseProxyProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyProfiles GET path Returns all available reverse_proxy/profile objects

func (*ReverseProxyProfiles) RefRequired

func (*ReverseProxyProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ReverseProxyRedirection

type ReverseProxyRedirection []interface{}

ReverseProxyRedirection is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyRedirection) DeletePath

func (*ReverseProxyRedirection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyRedirection DELETE path Creates or updates the complete object redirection

func (*ReverseProxyRedirection) GetPath

func (*ReverseProxyRedirection) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyRedirection GET path Returns all available reverse_proxy/redirection objects

func (*ReverseProxyRedirection) PatchPath

func (*ReverseProxyRedirection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyRedirection PATCH path Changes to parts of the object redirection types

func (*ReverseProxyRedirection) PostPath

func (*ReverseProxyRedirection) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyRedirection POST path Create a new reverse_proxy/redirection object

func (*ReverseProxyRedirection) PutPath

func (*ReverseProxyRedirection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyRedirection PUT path Creates or updates the complete object redirection

func (*ReverseProxyRedirection) RefRequired

func (*ReverseProxyRedirection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyRedirection) UsedByPath

func (*ReverseProxyRedirection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ReverseProxyThreatsFilter

type ReverseProxyThreatsFilter []interface{}

ReverseProxyThreatsFilter is an Sophos Endpoint subType and implements sophos.RestObject

func (*ReverseProxyThreatsFilter) DeletePath

func (*ReverseProxyThreatsFilter) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ReverseProxyThreatsFilter DELETE path Creates or updates the complete object threats_filter

func (*ReverseProxyThreatsFilter) GetPath

func (*ReverseProxyThreatsFilter) GetPath() string

GetPath implements sophos.RestObject and returns the ReverseProxyThreatsFilter GET path Returns all available reverse_proxy/threats_filter objects

func (*ReverseProxyThreatsFilter) PatchPath

func (*ReverseProxyThreatsFilter) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ReverseProxyThreatsFilter PATCH path Changes to parts of the object threats_filter types

func (*ReverseProxyThreatsFilter) PostPath

func (*ReverseProxyThreatsFilter) PostPath() string

PostPath implements sophos.RestObject and returns the ReverseProxyThreatsFilter POST path Create a new reverse_proxy/threats_filter object

func (*ReverseProxyThreatsFilter) PutPath

func (*ReverseProxyThreatsFilter) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ReverseProxyThreatsFilter PUT path Creates or updates the complete object threats_filter

func (*ReverseProxyThreatsFilter) RefRequired

func (*ReverseProxyThreatsFilter) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ReverseProxyThreatsFilter) UsedByPath

func (*ReverseProxyThreatsFilter) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Right struct {
	RightGroup RightGroup `json:"right_group"`
	RightRight RightRight `json:"right_right"`
}

Right is a generated struct representing the Sophos Right Endpoint GET /api/nodes/right

func (Right) ApiRoutes

func (Right) ApiRoutes() []string

ApiRoutes returns all known Right Paths

func (Right) Definition

func (Right) Definition() sophos.Definition

Definition returns the /api/definitions struct of Right

func (*Right) GetPath

func (*Right) GetPath() string

GetPath implements sophos.RestGetter

func (*Right) RefRequired

func (*Right) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Right) References

func (Right) References() []string

References returns the Right's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Right) RestObjects

func (Right) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Right's Objects

type RightGroup

type RightGroup []interface{}

RightGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*RightGroup) DeletePath

func (*RightGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RightGroup DELETE path Creates or updates the complete object group

func (*RightGroup) GetPath

func (*RightGroup) GetPath() string

GetPath implements sophos.RestObject and returns the RightGroup GET path Returns all available right/group objects

func (*RightGroup) PatchPath

func (*RightGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RightGroup PATCH path Changes to parts of the object group types

func (*RightGroup) PostPath

func (*RightGroup) PostPath() string

PostPath implements sophos.RestObject and returns the RightGroup POST path Create a new right/group object

func (*RightGroup) PutPath

func (*RightGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RightGroup PUT path Creates or updates the complete object group

func (*RightGroup) RefRequired

func (*RightGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RightGroup) UsedByPath

func (*RightGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RightRight

type RightRight struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string `json:"comment"`
	Name    string `json:"name"`
	// contains filtered or unexported fields
}

RightRight is a generated Sophos object

func (*RightRight) DeletePath

func (*RightRight) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RightRight DELETE path Creates or updates the complete object right

func (*RightRight) GetPath

func (r *RightRight) GetPath() string

GetPath implements sophos.RestObject and returns the RightRights GET path Returns all available right types

func (*RightRight) GetType

func (r *RightRight) GetType() string

GetType implements sophos.Object

func (*RightRight) PatchPath

func (*RightRight) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RightRight PATCH path Changes to parts of the object right types

func (*RightRight) PostPath

func (*RightRight) PostPath() string

PostPath implements sophos.RestObject and returns the RightRight POST path Create a new right/right object

func (*RightRight) PutPath

func (*RightRight) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RightRight PUT path Creates or updates the complete object right

func (*RightRight) RefRequired

func (r *RightRight) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RightRight) UsedByPath

func (*RightRight) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RightRights

type RightRights []RightRight

RightRights is an Sophos Endpoint subType and implements sophos.RestObject

func (*RightRights) GetPath

func (*RightRights) GetPath() string

GetPath implements sophos.RestObject and returns the RightRights GET path Returns all available right/right objects

func (*RightRights) RefRequired

func (*RightRights) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Role

type Role struct {
	RoleGroup RoleGroup `json:"role_group"`
	RoleRole  RoleRole  `json:"role_role"`
}

Role is a generated struct representing the Sophos Role Endpoint GET /api/nodes/role

func (Role) ApiRoutes

func (Role) ApiRoutes() []string

ApiRoutes returns all known Role Paths

func (Role) Definition

func (Role) Definition() sophos.Definition

Definition returns the /api/definitions struct of Role

func (*Role) GetPath

func (*Role) GetPath() string

GetPath implements sophos.RestGetter

func (*Role) RefRequired

func (*Role) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Role) References

func (Role) References() []string

References returns the Role's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Role) RestObjects

func (Role) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Role's Objects

type RoleGroup

type RoleGroup []interface{}

RoleGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*RoleGroup) DeletePath

func (*RoleGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RoleGroup DELETE path Creates or updates the complete object group

func (*RoleGroup) GetPath

func (*RoleGroup) GetPath() string

GetPath implements sophos.RestObject and returns the RoleGroup GET path Returns all available role/group objects

func (*RoleGroup) PatchPath

func (*RoleGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RoleGroup PATCH path Changes to parts of the object group types

func (*RoleGroup) PostPath

func (*RoleGroup) PostPath() string

PostPath implements sophos.RestObject and returns the RoleGroup POST path Create a new role/group object

func (*RoleGroup) PutPath

func (*RoleGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RoleGroup PUT path Creates or updates the complete object group

func (*RoleGroup) RefRequired

func (*RoleGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RoleGroup) UsedByPath

func (*RoleGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RoleRole

type RoleRole struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment        string   `json:"comment"`
	Members        []string `json:"members"`
	Name           string   `json:"name"`
	Rights         []string `json:"rights"`
	WebadminAccess bool     `json:"webadmin_access"`
	// contains filtered or unexported fields
}

RoleRole is a generated Sophos object

func (*RoleRole) DeletePath

func (*RoleRole) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RoleRole DELETE path Creates or updates the complete object role

func (*RoleRole) GetPath

func (r *RoleRole) GetPath() string

GetPath implements sophos.RestObject and returns the RoleRoles GET path Returns all available role types

func (*RoleRole) GetType

func (r *RoleRole) GetType() string

GetType implements sophos.Object

func (*RoleRole) PatchPath

func (*RoleRole) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RoleRole PATCH path Changes to parts of the object role types

func (*RoleRole) PostPath

func (*RoleRole) PostPath() string

PostPath implements sophos.RestObject and returns the RoleRole POST path Create a new role/role object

func (*RoleRole) PutPath

func (*RoleRole) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RoleRole PUT path Creates or updates the complete object role

func (*RoleRole) RefRequired

func (r *RoleRole) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RoleRole) UsedByPath

func (*RoleRole) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RoleRoles

type RoleRoles []RoleRole

RoleRoles is an Sophos Endpoint subType and implements sophos.RestObject

func (*RoleRoles) GetPath

func (*RoleRoles) GetPath() string

GetPath implements sophos.RestObject and returns the RoleRoles GET path Returns all available role/role objects

func (*RoleRoles) RefRequired

func (*RoleRoles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Route

type Route struct {
	RouteGroup  RouteGroup  `json:"route_group"`
	RoutePolicy RoutePolicy `json:"route_policy"`
	RouteStatic RouteStatic `json:"route_static"`
}

Route is a generated struct representing the Sophos Route Endpoint GET /api/nodes/route

func (Route) ApiRoutes

func (Route) ApiRoutes() []string

ApiRoutes returns all known Route Paths

func (Route) Definition

func (Route) Definition() sophos.Definition

Definition returns the /api/definitions struct of Route

func (*Route) GetPath

func (*Route) GetPath() string

GetPath implements sophos.RestGetter

func (*Route) RefRequired

func (*Route) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Route) References

func (Route) References() []string

References returns the Route's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Route) RestObjects

func (Route) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Route's Objects

type RouteGroup

type RouteGroup []interface{}

RouteGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*RouteGroup) DeletePath

func (*RouteGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RouteGroup DELETE path Creates or updates the complete object group

func (*RouteGroup) GetPath

func (*RouteGroup) GetPath() string

GetPath implements sophos.RestObject and returns the RouteGroup GET path Returns all available route/group objects

func (*RouteGroup) PatchPath

func (*RouteGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RouteGroup PATCH path Changes to parts of the object group types

func (*RouteGroup) PostPath

func (*RouteGroup) PostPath() string

PostPath implements sophos.RestObject and returns the RouteGroup POST path Create a new route/group object

func (*RouteGroup) PutPath

func (*RouteGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RouteGroup PUT path Creates or updates the complete object group

func (*RouteGroup) RefRequired

func (*RouteGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RouteGroup) UsedByPath

func (*RouteGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RoutePolicy

type RoutePolicy []interface{}

RoutePolicy is an Sophos Endpoint subType and implements sophos.RestObject

func (*RoutePolicy) DeletePath

func (*RoutePolicy) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RoutePolicy DELETE path Creates or updates the complete object policy

func (*RoutePolicy) GetPath

func (*RoutePolicy) GetPath() string

GetPath implements sophos.RestObject and returns the RoutePolicy GET path Returns all available route/policy objects

func (*RoutePolicy) PatchPath

func (*RoutePolicy) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RoutePolicy PATCH path Changes to parts of the object policy types

func (*RoutePolicy) PostPath

func (*RoutePolicy) PostPath() string

PostPath implements sophos.RestObject and returns the RoutePolicy POST path Create a new route/policy object

func (*RoutePolicy) PutPath

func (*RoutePolicy) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RoutePolicy PUT path Creates or updates the complete object policy

func (*RoutePolicy) RefRequired

func (*RoutePolicy) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RoutePolicy) UsedByPath

func (*RoutePolicy) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RouteStatic

type RouteStatic struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string `json:"comment"`
	Metric  int64  `json:"metric"`
	Name    string `json:"name"`
	Network string `json:"network"`
	Status  bool   `json:"status"`
	Target  string `json:"target"`
	Type    string `json:"type"`
	// contains filtered or unexported fields
}

RouteStatic is a generated Sophos object

func (*RouteStatic) DeletePath

func (*RouteStatic) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the RouteStatic DELETE path Creates or updates the complete object static

func (*RouteStatic) GetPath

func (r *RouteStatic) GetPath() string

GetPath implements sophos.RestObject and returns the RouteStatics GET path Returns all available static types

func (*RouteStatic) GetType

func (r *RouteStatic) GetType() string

GetType implements sophos.Object

func (*RouteStatic) PatchPath

func (*RouteStatic) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the RouteStatic PATCH path Changes to parts of the object static types

func (*RouteStatic) PostPath

func (*RouteStatic) PostPath() string

PostPath implements sophos.RestObject and returns the RouteStatic POST path Create a new route/static object

func (*RouteStatic) PutPath

func (*RouteStatic) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the RouteStatic PUT path Creates or updates the complete object static

func (*RouteStatic) RefRequired

func (r *RouteStatic) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*RouteStatic) UsedByPath

func (*RouteStatic) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type RouteStatics

type RouteStatics []RouteStatic

RouteStatics is an Sophos Endpoint subType and implements sophos.RestObject

func (*RouteStatics) GetPath

func (*RouteStatics) GetPath() string

GetPath implements sophos.RestObject and returns the RouteStatics GET path Returns all available route/static objects

func (*RouteStatics) RefRequired

func (*RouteStatics) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Scheduler

type Scheduler struct {
	SchedulerGroup       SchedulerGroup       `json:"scheduler_group"`
	SchedulerLoadbalance SchedulerLoadbalance `json:"scheduler_loadbalance"`
	SchedulerRule        SchedulerRule        `json:"scheduler_rule"`
}

Scheduler is a generated struct representing the Sophos Scheduler Endpoint GET /api/nodes/scheduler

func (Scheduler) ApiRoutes

func (Scheduler) ApiRoutes() []string

ApiRoutes returns all known Scheduler Paths

func (Scheduler) Definition

func (Scheduler) Definition() sophos.Definition

Definition returns the /api/definitions struct of Scheduler

func (*Scheduler) GetPath

func (*Scheduler) GetPath() string

GetPath implements sophos.RestGetter

func (*Scheduler) RefRequired

func (*Scheduler) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Scheduler) References

func (Scheduler) References() []string

References returns the Scheduler's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Scheduler) RestObjects

func (Scheduler) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Scheduler's Objects

type SchedulerGroup

type SchedulerGroup []interface{}

SchedulerGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*SchedulerGroup) DeletePath

func (*SchedulerGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SchedulerGroup DELETE path Creates or updates the complete object group

func (*SchedulerGroup) GetPath

func (*SchedulerGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerGroup GET path Returns all available scheduler/group objects

func (*SchedulerGroup) PatchPath

func (*SchedulerGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SchedulerGroup PATCH path Changes to parts of the object group types

func (*SchedulerGroup) PostPath

func (*SchedulerGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SchedulerGroup POST path Create a new scheduler/group object

func (*SchedulerGroup) PutPath

func (*SchedulerGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SchedulerGroup PUT path Creates or updates the complete object group

func (*SchedulerGroup) RefRequired

func (*SchedulerGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SchedulerGroup) UsedByPath

func (*SchedulerGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SchedulerLoadbalance

type SchedulerLoadbalance struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Algorithm       string        `json:"algorithm"`
	CheckData       string        `json:"check_data"`
	CheckHosts      []interface{} `json:"check_hosts"`
	CheckInterval   int64         `json:"check_interval"`
	CheckPort       int64         `json:"check_port"`
	CheckTimeout    int64         `json:"check_timeout"`
	CheckType       string        `json:"check_type"`
	Comment         string        `json:"comment"`
	Name            string        `json:"name"`
	Persistence     bool          `json:"persistence"`
	PersistenceHash string        `json:"persistence_hash"`
	PersistenceSize int64         `json:"persistence_size"`
	PersistenceTime int64         `json:"persistence_time"`
	Weight          struct{}      `json:"weight"`
	// contains filtered or unexported fields
}

SchedulerLoadbalance is a generated Sophos object

func (*SchedulerLoadbalance) DeletePath

func (*SchedulerLoadbalance) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SchedulerLoadbalance DELETE path Creates or updates the complete object loadbalance

func (*SchedulerLoadbalance) GetPath

func (s *SchedulerLoadbalance) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerLoadbalances GET path Returns all available loadbalance types

func (*SchedulerLoadbalance) GetType

func (s *SchedulerLoadbalance) GetType() string

GetType implements sophos.Object

func (*SchedulerLoadbalance) PatchPath

func (*SchedulerLoadbalance) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SchedulerLoadbalance PATCH path Changes to parts of the object loadbalance types

func (*SchedulerLoadbalance) PostPath

func (*SchedulerLoadbalance) PostPath() string

PostPath implements sophos.RestObject and returns the SchedulerLoadbalance POST path Create a new scheduler/loadbalance object

func (*SchedulerLoadbalance) PutPath

func (*SchedulerLoadbalance) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SchedulerLoadbalance PUT path Creates or updates the complete object loadbalance

func (*SchedulerLoadbalance) RefRequired

func (s *SchedulerLoadbalance) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SchedulerLoadbalance) UsedByPath

func (*SchedulerLoadbalance) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SchedulerLoadbalances

type SchedulerLoadbalances []SchedulerLoadbalance

SchedulerLoadbalances is an Sophos Endpoint subType and implements sophos.RestObject

func (*SchedulerLoadbalances) GetPath

func (*SchedulerLoadbalances) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerLoadbalances GET path Returns all available scheduler/loadbalance objects

func (*SchedulerLoadbalances) RefRequired

func (*SchedulerLoadbalances) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SchedulerRule

type SchedulerRule struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment         string `json:"comment"`
	Destination     string `json:"destination"`
	Interface       string `json:"interface"`
	InterfaceGroup  string `json:"interface_group"`
	Name            string `json:"name"`
	Persistence     bool   `json:"persistence"`
	PersistenceHash string `json:"persistence_hash"`
	Service         string `json:"service"`
	SkipOnError     bool   `json:"skip_on_error"`
	Source          string `json:"source"`
	Status          bool   `json:"status"`
	// contains filtered or unexported fields
}

SchedulerRule is a generated Sophos object

func (*SchedulerRule) DeletePath

func (*SchedulerRule) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SchedulerRule DELETE path Creates or updates the complete object rule

func (*SchedulerRule) GetPath

func (s *SchedulerRule) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerRules GET path Returns all available rule types

func (*SchedulerRule) GetType

func (s *SchedulerRule) GetType() string

GetType implements sophos.Object

func (*SchedulerRule) PatchPath

func (*SchedulerRule) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SchedulerRule PATCH path Changes to parts of the object rule types

func (*SchedulerRule) PostPath

func (*SchedulerRule) PostPath() string

PostPath implements sophos.RestObject and returns the SchedulerRule POST path Create a new scheduler/rule object

func (*SchedulerRule) PutPath

func (*SchedulerRule) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SchedulerRule PUT path Creates or updates the complete object rule

func (*SchedulerRule) RefRequired

func (s *SchedulerRule) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SchedulerRule) UsedByPath

func (*SchedulerRule) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SchedulerRules

type SchedulerRules []SchedulerRule

SchedulerRules is an Sophos Endpoint subType and implements sophos.RestObject

func (*SchedulerRules) GetPath

func (*SchedulerRules) GetPath() string

GetPath implements sophos.RestObject and returns the SchedulerRules GET path Returns all available scheduler/rule objects

func (*SchedulerRules) RefRequired

func (*SchedulerRules) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Service

type Service struct {
	ServiceAh     ServiceAh     `json:"service_ah"`
	ServiceAny    ServiceAny    `json:"service_any"`
	ServiceEsp    ServiceEsp    `json:"service_esp"`
	ServiceGroup  ServiceGroup  `json:"service_group"`
	ServiceIcmp   ServiceIcmp   `json:"service_icmp"`
	ServiceIcmpv6 ServiceIcmpv6 `json:"service_icmpv6"`
	ServiceIp     ServiceIp     `json:"service_ip"`
	ServiceTcp    ServiceTcp    `json:"service_tcp"`
	ServiceTcpudp ServiceTcpudp `json:"service_tcpudp"`
	ServiceUdp    ServiceUdp    `json:"service_udp"`
}

Service is a generated struct representing the Sophos Service Endpoint GET /api/nodes/service

func (Service) ApiRoutes

func (Service) ApiRoutes() []string

ApiRoutes returns all known Service Paths

func (Service) Definition

func (Service) Definition() sophos.Definition

Definition returns the /api/definitions struct of Service

func (*Service) GetPath

func (*Service) GetPath() string

GetPath implements sophos.RestGetter

func (*Service) RefRequired

func (*Service) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Service) References

func (Service) References() []string

References returns the Service's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Service) RestObjects

func (Service) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Service's Objects

type ServiceAh

type ServiceAh []interface{}

ServiceAh is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceAh) DeletePath

func (*ServiceAh) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceAh DELETE path Creates or updates the complete object ah

func (*ServiceAh) GetPath

func (*ServiceAh) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceAh GET path Returns all available service/ah objects

func (*ServiceAh) PatchPath

func (*ServiceAh) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceAh PATCH path Changes to parts of the object ah types

func (*ServiceAh) PostPath

func (*ServiceAh) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceAh POST path Create a new service/ah object

func (*ServiceAh) PutPath

func (*ServiceAh) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceAh PUT path Creates or updates the complete object ah

func (*ServiceAh) RefRequired

func (*ServiceAh) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceAh) UsedByPath

func (*ServiceAh) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceAny

type ServiceAny struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string `json:"comment"`
	Name    string `json:"name"`
	// contains filtered or unexported fields
}

ServiceAny is a generated Sophos object

func (*ServiceAny) DeletePath

func (*ServiceAny) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceAny DELETE path Creates or updates the complete object any

func (*ServiceAny) GetPath

func (s *ServiceAny) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceAnys GET path Returns all available any types

func (*ServiceAny) GetType

func (s *ServiceAny) GetType() string

GetType implements sophos.Object

func (*ServiceAny) PatchPath

func (*ServiceAny) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceAny PATCH path Changes to parts of the object any types

func (*ServiceAny) PostPath

func (*ServiceAny) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceAny POST path Create a new service/any object

func (*ServiceAny) PutPath

func (*ServiceAny) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceAny PUT path Creates or updates the complete object any

func (*ServiceAny) RefRequired

func (s *ServiceAny) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceAny) UsedByPath

func (*ServiceAny) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceAnys

type ServiceAnys []ServiceAny

ServiceAnys is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceAnys) GetPath

func (*ServiceAnys) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceAnys GET path Returns all available service/any objects

func (*ServiceAnys) RefRequired

func (*ServiceAnys) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceEsp

type ServiceEsp []interface{}

ServiceEsp is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceEsp) DeletePath

func (*ServiceEsp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceEsp DELETE path Creates or updates the complete object esp

func (*ServiceEsp) GetPath

func (*ServiceEsp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceEsp GET path Returns all available service/esp objects

func (*ServiceEsp) PatchPath

func (*ServiceEsp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceEsp PATCH path Changes to parts of the object esp types

func (*ServiceEsp) PostPath

func (*ServiceEsp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceEsp POST path Create a new service/esp object

func (*ServiceEsp) PutPath

func (*ServiceEsp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceEsp PUT path Creates or updates the complete object esp

func (*ServiceEsp) RefRequired

func (*ServiceEsp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceEsp) UsedByPath

func (*ServiceEsp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceGroup

type ServiceGroup struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string   `json:"comment"`
	Members []string `json:"members"`
	Name    string   `json:"name"`
	Types   []string `json:"types"`
	// contains filtered or unexported fields
}

ServiceGroup is a generated Sophos object

func (*ServiceGroup) DeletePath

func (*ServiceGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceGroup DELETE path Creates or updates the complete object group

func (*ServiceGroup) GetPath

func (s *ServiceGroup) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceGroups GET path Returns all available group types

func (*ServiceGroup) GetType

func (s *ServiceGroup) GetType() string

GetType implements sophos.Object

func (*ServiceGroup) PatchPath

func (*ServiceGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceGroup PATCH path Changes to parts of the object group types

func (*ServiceGroup) PostPath

func (*ServiceGroup) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceGroup POST path Create a new service/group object

func (*ServiceGroup) PutPath

func (*ServiceGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceGroup PUT path Creates or updates the complete object group

func (*ServiceGroup) RefRequired

func (s *ServiceGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceGroup) UsedByPath

func (*ServiceGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceGroups

type ServiceGroups []ServiceGroup

ServiceGroups is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceGroups) GetPath

func (*ServiceGroups) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceGroups GET path Returns all available service/group objects

func (*ServiceGroups) RefRequired

func (*ServiceGroups) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceIcmp

type ServiceIcmp struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Code    int64  `json:"code"`
	Comment string `json:"comment"`
	Name    string `json:"name"`
	Type    int64  `json:"type"`
	// contains filtered or unexported fields
}

ServiceIcmp is a generated Sophos object

func (*ServiceIcmp) DeletePath

func (*ServiceIcmp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceIcmp DELETE path Creates or updates the complete object icmp

func (*ServiceIcmp) GetPath

func (s *ServiceIcmp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIcmps GET path Returns all available icmp types

func (*ServiceIcmp) GetType

func (s *ServiceIcmp) GetType() string

GetType implements sophos.Object

func (*ServiceIcmp) PatchPath

func (*ServiceIcmp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceIcmp PATCH path Changes to parts of the object icmp types

func (*ServiceIcmp) PostPath

func (*ServiceIcmp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceIcmp POST path Create a new service/icmp object

func (*ServiceIcmp) PutPath

func (*ServiceIcmp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceIcmp PUT path Creates or updates the complete object icmp

func (*ServiceIcmp) RefRequired

func (s *ServiceIcmp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceIcmp) UsedByPath

func (*ServiceIcmp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceIcmps

type ServiceIcmps []ServiceIcmp

ServiceIcmps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceIcmps) GetPath

func (*ServiceIcmps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIcmps GET path Returns all available service/icmp objects

func (*ServiceIcmps) RefRequired

func (*ServiceIcmps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceIcmpv6

type ServiceIcmpv6 []interface{}

ServiceIcmpv6 is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceIcmpv6) DeletePath

func (*ServiceIcmpv6) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceIcmpv6 DELETE path Creates or updates the complete object icmpv6

func (*ServiceIcmpv6) GetPath

func (*ServiceIcmpv6) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIcmpv6 GET path Returns all available service/icmpv6 objects

func (*ServiceIcmpv6) PatchPath

func (*ServiceIcmpv6) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceIcmpv6 PATCH path Changes to parts of the object icmpv6 types

func (*ServiceIcmpv6) PostPath

func (*ServiceIcmpv6) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceIcmpv6 POST path Create a new service/icmpv6 object

func (*ServiceIcmpv6) PutPath

func (*ServiceIcmpv6) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceIcmpv6 PUT path Creates or updates the complete object icmpv6

func (*ServiceIcmpv6) RefRequired

func (*ServiceIcmpv6) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceIcmpv6) UsedByPath

func (*ServiceIcmpv6) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceIp

type ServiceIp struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment string `json:"comment"`
	Name    string `json:"name"`
	Proto   int64  `json:"proto"`
	// contains filtered or unexported fields
}

ServiceIp is a generated Sophos object

func (*ServiceIp) DeletePath

func (*ServiceIp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceIp DELETE path Creates or updates the complete object ip

func (*ServiceIp) GetPath

func (s *ServiceIp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIps GET path Returns all available ip types

func (*ServiceIp) GetType

func (s *ServiceIp) GetType() string

GetType implements sophos.Object

func (*ServiceIp) PatchPath

func (*ServiceIp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceIp PATCH path Changes to parts of the object ip types

func (*ServiceIp) PostPath

func (*ServiceIp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceIp POST path Create a new service/ip object

func (*ServiceIp) PutPath

func (*ServiceIp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceIp PUT path Creates or updates the complete object ip

func (*ServiceIp) RefRequired

func (s *ServiceIp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceIp) UsedByPath

func (*ServiceIp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceIps

type ServiceIps []ServiceIp

ServiceIps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceIps) GetPath

func (*ServiceIps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceIps GET path Returns all available service/ip objects

func (*ServiceIps) RefRequired

func (*ServiceIps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceTcp

type ServiceTcp struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AutoPfSvcDst string `json:"auto_pf_svc_dst"`
	AutoPfSvcSrc string `json:"auto_pf_svc_src"`
	Comment      string `json:"comment"`
	DstHigh      int64  `json:"dst_high"`
	DstLow       int64  `json:"dst_low"`
	Name         string `json:"name"`
	SrcHigh      int64  `json:"src_high"`
	SrcLow       int64  `json:"src_low"`
	// contains filtered or unexported fields
}

ServiceTcp is a generated Sophos object

func (*ServiceTcp) DeletePath

func (*ServiceTcp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceTcp DELETE path Creates or updates the complete object tcp

func (*ServiceTcp) GetPath

func (s *ServiceTcp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceTcps GET path Returns all available tcp types

func (*ServiceTcp) GetType

func (s *ServiceTcp) GetType() string

GetType implements sophos.Object

func (*ServiceTcp) PatchPath

func (*ServiceTcp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceTcp PATCH path Changes to parts of the object tcp types

func (*ServiceTcp) PostPath

func (*ServiceTcp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceTcp POST path Create a new service/tcp object

func (*ServiceTcp) PutPath

func (*ServiceTcp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceTcp PUT path Creates or updates the complete object tcp

func (*ServiceTcp) RefRequired

func (s *ServiceTcp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceTcp) UsedByPath

func (*ServiceTcp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceTcps

type ServiceTcps []ServiceTcp

ServiceTcps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceTcps) GetPath

func (*ServiceTcps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceTcps GET path Returns all available service/tcp objects

func (*ServiceTcps) RefRequired

func (*ServiceTcps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceTcpudp

type ServiceTcpudp struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AutoPfSvcDst string `json:"auto_pf_svc_dst"`
	AutoPfSvcSrc string `json:"auto_pf_svc_src"`
	Comment      string `json:"comment"`
	DstHigh      int64  `json:"dst_high"`
	DstLow       int64  `json:"dst_low"`
	Name         string `json:"name"`
	SrcHigh      int64  `json:"src_high"`
	SrcLow       int64  `json:"src_low"`
	// contains filtered or unexported fields
}

ServiceTcpudp is a generated Sophos object

func (*ServiceTcpudp) DeletePath

func (*ServiceTcpudp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceTcpudp DELETE path Creates or updates the complete object tcpudp

func (*ServiceTcpudp) GetPath

func (s *ServiceTcpudp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceTcpudps GET path Returns all available tcpudp types

func (*ServiceTcpudp) GetType

func (s *ServiceTcpudp) GetType() string

GetType implements sophos.Object

func (*ServiceTcpudp) PatchPath

func (*ServiceTcpudp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceTcpudp PATCH path Changes to parts of the object tcpudp types

func (*ServiceTcpudp) PostPath

func (*ServiceTcpudp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceTcpudp POST path Create a new service/tcpudp object

func (*ServiceTcpudp) PutPath

func (*ServiceTcpudp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceTcpudp PUT path Creates or updates the complete object tcpudp

func (*ServiceTcpudp) RefRequired

func (s *ServiceTcpudp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceTcpudp) UsedByPath

func (*ServiceTcpudp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceTcpudps

type ServiceTcpudps []ServiceTcpudp

ServiceTcpudps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceTcpudps) GetPath

func (*ServiceTcpudps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceTcpudps GET path Returns all available service/tcpudp objects

func (*ServiceTcpudps) RefRequired

func (*ServiceTcpudps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type ServiceUdp

type ServiceUdp struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AutoPfSvcDst string `json:"auto_pf_svc_dst"`
	AutoPfSvcSrc string `json:"auto_pf_svc_src"`
	Comment      string `json:"comment"`
	DstHigh      int64  `json:"dst_high"`
	DstLow       int64  `json:"dst_low"`
	Name         string `json:"name"`
	SrcHigh      int64  `json:"src_high"`
	SrcLow       int64  `json:"src_low"`
	// contains filtered or unexported fields
}

ServiceUdp is a generated Sophos object

func (*ServiceUdp) DeletePath

func (*ServiceUdp) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the ServiceUdp DELETE path Creates or updates the complete object udp

func (*ServiceUdp) GetPath

func (s *ServiceUdp) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceUdps GET path Returns all available udp types

func (*ServiceUdp) GetType

func (s *ServiceUdp) GetType() string

GetType implements sophos.Object

func (*ServiceUdp) PatchPath

func (*ServiceUdp) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the ServiceUdp PATCH path Changes to parts of the object udp types

func (*ServiceUdp) PostPath

func (*ServiceUdp) PostPath() string

PostPath implements sophos.RestObject and returns the ServiceUdp POST path Create a new service/udp object

func (*ServiceUdp) PutPath

func (*ServiceUdp) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the ServiceUdp PUT path Creates or updates the complete object udp

func (*ServiceUdp) RefRequired

func (s *ServiceUdp) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*ServiceUdp) UsedByPath

func (*ServiceUdp) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type ServiceUdps

type ServiceUdps []ServiceUdp

ServiceUdps is an Sophos Endpoint subType and implements sophos.RestObject

func (*ServiceUdps) GetPath

func (*ServiceUdps) GetPath() string

GetPath implements sophos.RestObject and returns the ServiceUdps GET path Returns all available service/udp objects

func (*ServiceUdps) RefRequired

func (*ServiceUdps) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Smtp

type Smtp struct {
	AuthAaa                   []interface{} `json:"auth_aaa"`
	AuthStatus                int64         `json:"auth_status"`
	AvFooter                  string        `json:"av_footer"`
	AvFooterStatus            int64         `json:"av_footer_status"`
	BatvSecret                string        `json:"batv_secret"`
	BlockerService            string        `json:"blocker_service"`
	CffAsMarker               string        `json:"cff_as_marker"`
	DkimDomains               []interface{} `json:"dkim_domains"`
	DkimPrivateKey            string        `json:"dkim_private_key"`
	DkimSelector              string        `json:"dkim_selector"`
	EnableOldExpressionFilter int64         `json:"enable_old_expression_filter"`
	EncryptionUtility         string        `json:"encryption_utility"`
	Exceptions                []interface{} `json:"exceptions"`
	FootersMode               string        `json:"footers_mode"`
	GlobalAsReject            string        `json:"global_as_reject"`
	GlobalAvReject            int64         `json:"global_av_reject"`
	GlobalProfile             string        `json:"global_profile"`
	HostBlacklist             []interface{} `json:"host_blacklist"`
	Hostname                  string        `json:"hostname"`
	MaxMessageSize            int64         `json:"max_message_size"`
	Mode                      string        `json:"mode"`
	ParentProxyAuthPass       string        `json:"parent_proxy_auth_pass"`
	ParentProxyAuthStatus     int64         `json:"parent_proxy_auth_status"`
	ParentProxyAuthUser       string        `json:"parent_proxy_auth_user"`
	ParentProxyHost           string        `json:"parent_proxy_host"`
	ParentProxyPort           int64         `json:"parent_proxy_port"`
	ParentProxyStatus         int64         `json:"parent_proxy_status"`
	Postmaster                string        `json:"postmaster"`
	Profiles                  []interface{} `json:"profiles"`
	RecipientsMax             int64         `json:"recipients_max"`
	Relays                    []interface{} `json:"relays"`
	ScanOutgoingEmails        int64         `json:"scan_outgoing_emails"`
	ScannerPool               struct {
		MaxPool    int64   `json:"max_pool"`
		Thresholds []int64 `json:"thresholds"`
	} `json:"scanner_pool"`
	ScannerTimeout             int64         `json:"scanner_timeout"`
	SmarthostAuth              int64         `json:"smarthost_auth"`
	SmarthostHostname          string        `json:"smarthost_hostname"`
	SmarthostPass              string        `json:"smarthost_pass"`
	SmarthostPort              int64         `json:"smarthost_port"`
	SmarthostStatus            int64         `json:"smarthost_status"`
	SmarthostUser              string        `json:"smarthost_user"`
	SMTPAcceptMax              int64         `json:"smtp_accept_max"`
	SMTPAcceptPerConnectionMax int64         `json:"smtp_accept_per_connection_max"`
	SMTPAcceptPerHostMax       int64         `json:"smtp_accept_per_host_max"`
	Status                     int64         `json:"status"`
	TLSAvoid                   []interface{} `json:"tls_avoid"`
	TLSCert                    string        `json:"tls_cert"`
	TLSRequire                 []interface{} `json:"tls_require"`
	TLSRequireSenderDomains    []interface{} `json:"tls_require_sender_domains"`
	TLSVersion                 string        `json:"tls_version"`
	Transparent                int64         `json:"transparent"`
	TransparentSkip            []interface{} `json:"transparent_skip"`
	TransparentSkipAutoPf      int64         `json:"transparent_skip_auto_pf"`
	UpstreamHosts              []interface{} `json:"upstream_hosts"`
	UpstreamHostsOnly          int64         `json:"upstream_hosts_only"`
}

Smtp is a generated struct representing the Sophos Smtp Endpoint GET /api/nodes/smtp

func (Smtp) ApiRoutes

func (Smtp) ApiRoutes() []string

ApiRoutes returns all known Smtp Paths

func (Smtp) Definition

func (Smtp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Smtp

func (*Smtp) GetPath

func (*Smtp) GetPath() string

GetPath implements sophos.RestGetter

func (*Smtp) RefRequired

func (*Smtp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Smtp) References

func (Smtp) References() []string

References returns the Smtp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Smtp) RestObjects

func (Smtp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Smtp's Objects

type SmtpException

type SmtpException []interface{}

SmtpException is an Sophos Endpoint subType and implements sophos.RestObject

func (*SmtpException) DeletePath

func (*SmtpException) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SmtpException DELETE path Creates or updates the complete object exception

func (*SmtpException) GetPath

func (*SmtpException) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpException GET path Returns all available smtp/exception objects

func (*SmtpException) PatchPath

func (*SmtpException) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SmtpException PATCH path Changes to parts of the object exception types

func (*SmtpException) PostPath

func (*SmtpException) PostPath() string

PostPath implements sophos.RestObject and returns the SmtpException POST path Create a new smtp/exception object

func (*SmtpException) PutPath

func (*SmtpException) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SmtpException PUT path Creates or updates the complete object exception

func (*SmtpException) RefRequired

func (*SmtpException) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SmtpException) UsedByPath

func (*SmtpException) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SmtpGroup

type SmtpGroup []interface{}

SmtpGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*SmtpGroup) DeletePath

func (*SmtpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SmtpGroup DELETE path Creates or updates the complete object group

func (*SmtpGroup) GetPath

func (*SmtpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpGroup GET path Returns all available smtp/group objects

func (*SmtpGroup) PatchPath

func (*SmtpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SmtpGroup PATCH path Changes to parts of the object group types

func (*SmtpGroup) PostPath

func (*SmtpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SmtpGroup POST path Create a new smtp/group object

func (*SmtpGroup) PutPath

func (*SmtpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SmtpGroup PUT path Creates or updates the complete object group

func (*SmtpGroup) RefRequired

func (*SmtpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SmtpGroup) UsedByPath

func (*SmtpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SmtpHeaderOperation

type SmtpHeaderOperation []interface{}

SmtpHeaderOperation is an Sophos Endpoint subType and implements sophos.RestObject

func (*SmtpHeaderOperation) DeletePath

func (*SmtpHeaderOperation) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SmtpHeaderOperation DELETE path Creates or updates the complete object header_operation

func (*SmtpHeaderOperation) GetPath

func (*SmtpHeaderOperation) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpHeaderOperation GET path Returns all available smtp/header_operation objects

func (*SmtpHeaderOperation) PatchPath

func (*SmtpHeaderOperation) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SmtpHeaderOperation PATCH path Changes to parts of the object header_operation types

func (*SmtpHeaderOperation) PostPath

func (*SmtpHeaderOperation) PostPath() string

PostPath implements sophos.RestObject and returns the SmtpHeaderOperation POST path Create a new smtp/header_operation object

func (*SmtpHeaderOperation) PutPath

func (*SmtpHeaderOperation) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SmtpHeaderOperation PUT path Creates or updates the complete object header_operation

func (*SmtpHeaderOperation) RefRequired

func (*SmtpHeaderOperation) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SmtpHeaderOperation) UsedByPath

func (*SmtpHeaderOperation) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SmtpProfile

type SmtpProfile struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AdBaseDn                    string        `json:"ad_base_dn"`
	Batv                        bool          `json:"batv"`
	CffAv                       string        `json:"cff_av"`
	CffAvEngines                string        `json:"cff_av_engines"`
	CffFileExtensions           []string      `json:"cff_file_extensions"`
	Comment                     string        `json:"comment"`
	ConfidentialFooter          string        `json:"confidential_footer"`
	ConfidentialFooterStatus    bool          `json:"confidential_footer_status"`
	DlpAction                   string        `json:"dlp_action"`
	DlpCclRules                 []interface{} `json:"dlp_ccl_rules"`
	DlpCustomExpressions        []interface{} `json:"dlp_custom_expressions"`
	DlpNotificationAdmin        bool          `json:"dlp_notification_admin"`
	DlpNotificationOther        bool          `json:"dlp_notification_other"`
	DlpNotificationOtherAddress string        `json:"dlp_notification_other_address"`
	DlpNotificationSender       bool          `json:"dlp_notification_sender"`
	DlpScanAttachments          bool          `json:"dlp_scan_attachments"`
	Domains                     []interface{} `json:"domains"`
	GlobalAdd                   []interface{} `json:"global_add"`
	GlobalCopy                  []interface{} `json:"global_copy"`
	Greylisting                 bool          `json:"greylisting"`
	HeaderModification          []interface{} `json:"header_modification"`
	MimeAudio                   bool          `json:"mime_audio"`
	MimeBlacklist               []interface{} `json:"mime_blacklist"`
	MimeExecutable              bool          `json:"mime_executable"`
	MimeVideo                   bool          `json:"mime_video"`
	MimeWhitelist               []interface{} `json:"mime_whitelist"`
	Name                        string        `json:"name"`
	Rbl                         bool          `json:"rbl"`
	RblExtra                    []interface{} `json:"rbl_extra"`
	RcptAdServer                string        `json:"rcpt_ad_server"`
	RcptVerify                  string        `json:"rcpt_verify"`
	RdnsReject                  bool          `json:"rdns_reject"`
	RdnsRejectStrict            bool          `json:"rdns_reject_strict"`
	RouteList                   []interface{} `json:"route_list"`
	RouteTarget                 string        `json:"route_target"`
	RouteTargetPort             int64         `json:"route_target_port"`
	RouteTargetType             string        `json:"route_target_type"`
	SandboxMaxFilesizeMb        int64         `json:"sandbox_max_filesize_mb"`
	SandboxScanStatus           bool          `json:"sandbox_scan_status"`
	SenderBlacklist             []interface{} `json:"sender_blacklist"`
	Spam                        string        `json:"spam"`
	SpamExpressions             []interface{} `json:"spam_expressions"`
	Spamplus                    string        `json:"spamplus"`
	Spf                         bool          `json:"spf"`
	SpxTemplate                 string        `json:"spx_template"`
	Status                      bool          `json:"status"`
	Unscannable                 string        `json:"unscannable"`
	// contains filtered or unexported fields
}

SmtpProfile is a generated Sophos object

func (*SmtpProfile) DeletePath

func (*SmtpProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SmtpProfile DELETE path Creates or updates the complete object profile

func (*SmtpProfile) GetPath

func (s *SmtpProfile) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpProfiles GET path Returns all available profile types

func (*SmtpProfile) GetType

func (s *SmtpProfile) GetType() string

GetType implements sophos.Object

func (*SmtpProfile) PatchPath

func (*SmtpProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SmtpProfile PATCH path Changes to parts of the object profile types

func (*SmtpProfile) PostPath

func (*SmtpProfile) PostPath() string

PostPath implements sophos.RestObject and returns the SmtpProfile POST path Create a new smtp/profile object

func (*SmtpProfile) PutPath

func (*SmtpProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SmtpProfile PUT path Creates or updates the complete object profile

func (*SmtpProfile) RefRequired

func (s *SmtpProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SmtpProfile) UsedByPath

func (*SmtpProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SmtpProfiles

type SmtpProfiles []SmtpProfile

SmtpProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*SmtpProfiles) GetPath

func (*SmtpProfiles) GetPath() string

GetPath implements sophos.RestObject and returns the SmtpProfiles GET path Returns all available smtp/profile objects

func (*SmtpProfiles) RefRequired

func (*SmtpProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type Snmp

type Snmp struct {
	AllowedNetworks []interface{} `json:"allowed_networks"`
	AuthPassword    string        `json:"auth_password"`
	AuthType        string        `json:"auth_type"`
	Community       string        `json:"community"`
	DeviceAdmin     string        `json:"device_admin"`
	DeviceLocation  string        `json:"device_location"`
	DeviceName      string        `json:"device_name"`
	EncryptPassword string        `json:"encrypt_password"`
	EncryptType     string        `json:"encrypt_type"`
	Status          int64         `json:"status"`
	Traps           []interface{} `json:"traps"`
	TrapsUseOldOids int64         `json:"traps_use_old_oids"`
	Username        string        `json:"username"`
	Version         string        `json:"version"`
}

Snmp is a generated struct representing the Sophos Snmp Endpoint GET /api/nodes/snmp

func (Snmp) ApiRoutes

func (Snmp) ApiRoutes() []string

ApiRoutes returns all known Snmp Paths

func (Snmp) Definition

func (Snmp) Definition() sophos.Definition

Definition returns the /api/definitions struct of Snmp

func (*Snmp) GetPath

func (*Snmp) GetPath() string

GetPath implements sophos.RestGetter

func (*Snmp) RefRequired

func (*Snmp) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Snmp) References

func (Snmp) References() []string

References returns the Snmp's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Snmp) RestObjects

func (Snmp) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Snmp's Objects

type SnmpGroup

type SnmpGroup []interface{}

SnmpGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*SnmpGroup) DeletePath

func (*SnmpGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SnmpGroup DELETE path Creates or updates the complete object group

func (*SnmpGroup) GetPath

func (*SnmpGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SnmpGroup GET path Returns all available snmp/group objects

func (*SnmpGroup) PatchPath

func (*SnmpGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SnmpGroup PATCH path Changes to parts of the object group types

func (*SnmpGroup) PostPath

func (*SnmpGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SnmpGroup POST path Create a new snmp/group object

func (*SnmpGroup) PutPath

func (*SnmpGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SnmpGroup PUT path Creates or updates the complete object group

func (*SnmpGroup) RefRequired

func (*SnmpGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SnmpGroup) UsedByPath

func (*SnmpGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SnmpTrap

type SnmpTrap []interface{}

SnmpTrap is an Sophos Endpoint subType and implements sophos.RestObject

func (*SnmpTrap) DeletePath

func (*SnmpTrap) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SnmpTrap DELETE path Creates or updates the complete object trap

func (*SnmpTrap) GetPath

func (*SnmpTrap) GetPath() string

GetPath implements sophos.RestObject and returns the SnmpTrap GET path Returns all available snmp/trap objects

func (*SnmpTrap) PatchPath

func (*SnmpTrap) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SnmpTrap PATCH path Changes to parts of the object trap types

func (*SnmpTrap) PostPath

func (*SnmpTrap) PostPath() string

PostPath implements sophos.RestObject and returns the SnmpTrap POST path Create a new snmp/trap object

func (*SnmpTrap) PutPath

func (*SnmpTrap) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SnmpTrap PUT path Creates or updates the complete object trap

func (*SnmpTrap) RefRequired

func (*SnmpTrap) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SnmpTrap) UsedByPath

func (*SnmpTrap) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Spx

type Spx struct {
	Global struct {
		ErrorNotificationTarget string `json:"error_notification_target"`
		ExpirySettings          struct {
			AllowSecureReplyDays     int64 `json:"allow_secure_reply_days"`
			KeepDelayedMailDays      int64 `json:"keep_delayed_mail_days"`
			KeepUnusedPwdDays        int64 `json:"keep_unused_pwd_days"`
			RegistrationReminderDays int64 `json:"registration_reminder_days"`
		} `json:"expiry_settings"`
		PasswordStrength struct {
			MinLength        int64 `json:"min_length"`
			RequireSpecChars int64 `json:"require_spec_chars"`
		} `json:"password_strength"`
		PortalSettings struct {
			AllowedNetworks  []interface{} `json:"allowed_networks"`
			Hostname         string        `json:"hostname"`
			InterfaceAddress string        `json:"interface_address"`
			Port             int64         `json:"port"`
		} `json:"portal_settings"`
		PoweredByLogo string `json:"powered_by_logo"`
		SpxPriority   int64  `json:"spx_priority"`
		Status        int64  `json:"status"`
	} `json:"global"`
	SpxAuth struct {
		Password string `json:"password"`
		Port     int64  `json:"port"`
		Server   string `json:"server"`
		URL      string `json:"url"`
	} `json:"spx_auth"`
	Templates []string `json:"templates"`
}

Spx is a generated struct representing the Sophos Spx Endpoint GET /api/nodes/spx

func (Spx) ApiRoutes

func (Spx) ApiRoutes() []string

ApiRoutes returns all known Spx Paths

func (Spx) Definition

func (Spx) Definition() sophos.Definition

Definition returns the /api/definitions struct of Spx

func (*Spx) GetPath

func (*Spx) GetPath() string

GetPath implements sophos.RestGetter

func (*Spx) RefRequired

func (*Spx) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Spx) References

func (Spx) References() []string

References returns the Spx's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Spx) RestObjects

func (Spx) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Spx's Objects

type SpxGroup

type SpxGroup []interface{}

SpxGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*SpxGroup) DeletePath

func (*SpxGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SpxGroup DELETE path Creates or updates the complete object group

func (*SpxGroup) GetPath

func (*SpxGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SpxGroup GET path Returns all available spx/group objects

func (*SpxGroup) PatchPath

func (*SpxGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SpxGroup PATCH path Changes to parts of the object group types

func (*SpxGroup) PostPath

func (*SpxGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SpxGroup POST path Create a new spx/group object

func (*SpxGroup) PutPath

func (*SpxGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SpxGroup PUT path Creates or updates the complete object group

func (*SpxGroup) RefRequired

func (*SpxGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SpxGroup) UsedByPath

func (*SpxGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SpxTemplate

type SpxTemplate struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment                        string `json:"comment"`
	Name                           string `json:"name"`
	OrgName                        string `json:"org_name"`
	PdfCoverPage                   string `json:"pdf_cover_page"`
	PdfCoverPageExt                string `json:"pdf_cover_page_ext"`
	PdfCoverPageFile               string `json:"pdf_cover_page_file"`
	PdfEncryption                  string `json:"pdf_encryption"`
	PdfLanguage                    string `json:"pdf_language"`
	PdfPageSize                    string `json:"pdf_page_size"`
	PortalAuthRequired             bool   `json:"portal_auth_required"`
	PortalFooterImage              string `json:"portal_footer_image"`
	PortalFooterImageExt           string `json:"portal_footer_image_ext"`
	PortalFooterImageFile          string `json:"portal_footer_image_file"`
	PortalHeaderImage              string `json:"portal_header_image"`
	PortalHeaderImageExt           string `json:"portal_header_image_ext"`
	PortalHeaderImageFile          string `json:"portal_header_image_file"`
	PortalIncludeOriginalBody      bool   `json:"portal_include_original_body"`
	PortalReplyAllButton           bool   `json:"portal_reply_all_button"`
	PortalSecureReplyEnabled       bool   `json:"portal_secure_reply_enabled"`
	PwdChallengeQuestionNumber     string `json:"pwd_challenge_question_number"`
	PwdFunctionChange              bool   `json:"pwd_function_change"`
	PwdFunctionRecover             bool   `json:"pwd_function_recover"`
	PwdFunctionReset               bool   `json:"pwd_function_reset"`
	PwdNotificationBody            string `json:"pwd_notification_body"`
	PwdNotificationFooterImage     string `json:"pwd_notification_footer_image"`
	PwdNotificationFooterImageExt  string `json:"pwd_notification_footer_image_ext"`
	PwdNotificationFooterImageFile string `json:"pwd_notification_footer_image_file"`
	PwdNotificationHeaderImage     string `json:"pwd_notification_header_image"`
	PwdNotificationHeaderImageExt  string `json:"pwd_notification_header_image_ext"`
	PwdNotificationHeaderImageFile string `json:"pwd_notification_header_image_file"`
	PwdNotificationSubject         string `json:"pwd_notification_subject"`
	PwdRcptNotificationBody        string `json:"pwd_rcpt_notification_body"`
	PwdRcptNotificationSubject     string `json:"pwd_rcpt_notification_subject"`
	PwdType                        string `json:"pwd_type"`
	RcptFooterImage                string `json:"rcpt_footer_image"`
	RcptFooterImageExt             string `json:"rcpt_footer_image_ext"`
	RcptFooterImageFile            string `json:"rcpt_footer_image_file"`
	RcptHeaderImage                string `json:"rcpt_header_image"`
	RcptHeaderImageExt             string `json:"rcpt_header_image_ext"`
	RcptHeaderImageFile            string `json:"rcpt_header_image_file"`
	RcptInstructions               string `json:"rcpt_instructions"`
	// contains filtered or unexported fields
}

SpxTemplate is a generated Sophos object

func (*SpxTemplate) DeletePath

func (*SpxTemplate) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SpxTemplate DELETE path Creates or updates the complete object template

func (*SpxTemplate) GetPath

func (s *SpxTemplate) GetPath() string

GetPath implements sophos.RestObject and returns the SpxTemplates GET path Returns all available template types

func (*SpxTemplate) GetType

func (s *SpxTemplate) GetType() string

GetType implements sophos.Object

func (*SpxTemplate) PatchPath

func (*SpxTemplate) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SpxTemplate PATCH path Changes to parts of the object template types

func (*SpxTemplate) PostPath

func (*SpxTemplate) PostPath() string

PostPath implements sophos.RestObject and returns the SpxTemplate POST path Create a new spx/template object

func (*SpxTemplate) PutPath

func (*SpxTemplate) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SpxTemplate PUT path Creates or updates the complete object template

func (*SpxTemplate) RefRequired

func (s *SpxTemplate) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SpxTemplate) UsedByPath

func (*SpxTemplate) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SpxTemplates

type SpxTemplates []SpxTemplate

SpxTemplates is an Sophos Endpoint subType and implements sophos.RestObject

func (*SpxTemplates) GetPath

func (*SpxTemplates) GetPath() string

GetPath implements sophos.RestObject and returns the SpxTemplates GET path Returns all available spx/template objects

func (*SpxTemplates) RefRequired

func (*SpxTemplates) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SslVpn

type SslVpn struct {
	AuthenticationAlgorithm string `json:"authentication_algorithm"`
	Certificate             string `json:"certificate"`
	Compression             int64  `json:"compression"`
	DatachannelKeyLifetime  int64  `json:"datachannel_key_lifetime"`
	Debug                   int64  `json:"debug"`
	DhKeySize               string `json:"dh_key_size"`
	DuplicateCn             int64  `json:"duplicate_cn"`
	EncryptionAlgorithm     string `json:"encryption_algorithm"`
	Hostname                string `json:"hostname"`
	Interface               string `json:"interface"`
	InterfaceAddress        string `json:"interface_address"`
	IPAssignmentPool        string `json:"ip_assignment_pool"`
	Port                    int64  `json:"port"`
	Protocol                string `json:"protocol"`
	UserAuthOptional        int64  `json:"user_auth_optional"`
}

SslVpn is a generated struct representing the Sophos SslVpn Endpoint GET /api/nodes/ssl_vpn

func (SslVpn) ApiRoutes

func (SslVpn) ApiRoutes() []string

ApiRoutes returns all known SslVpn Paths

func (SslVpn) Definition

func (SslVpn) Definition() sophos.Definition

Definition returns the /api/definitions struct of SslVpn

func (*SslVpn) GetPath

func (*SslVpn) GetPath() string

GetPath implements sophos.RestGetter

func (*SslVpn) RefRequired

func (*SslVpn) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (SslVpn) References

func (SslVpn) References() []string

References returns the SslVpn's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (SslVpn) RestObjects

func (SslVpn) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of SslVpn's Objects

type SslVpnClientConnection

type SslVpnClientConnection struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	AuthenticationAlgorithm string   `json:"authentication_algorithm"`
	AutoPfIn                string   `json:"auto_pf_in"`
	AutoPfOut               string   `json:"auto_pf_out"`
	AutoPfrule              bool     `json:"auto_pfrule"`
	CaCert                  string   `json:"ca_cert"`
	Certificate             string   `json:"certificate"`
	Comment                 string   `json:"comment"`
	Compression             bool     `json:"compression"`
	EncryptionAlgorithm     string   `json:"encryption_algorithm"`
	Engine                  string   `json:"engine"`
	Interface               string   `json:"interface"`
	Key                     string   `json:"key"`
	LocalNetworks           []string `json:"local_networks"`
	Name                    string   `json:"name"`
	Password                string   `json:"password"`
	PlainServerAddress      string   `json:"plain_server_address"`
	Protocol                string   `json:"protocol"`
	ProxyAuthPass           string   `json:"proxy_auth_pass"`
	ProxyAuthStatus         bool     `json:"proxy_auth_status"`
	ProxyAuthUser           string   `json:"proxy_auth_user"`
	ProxyHost               string   `json:"proxy_host"`
	ProxyPort               int64    `json:"proxy_port"`
	ProxyStatus             bool     `json:"proxy_status"`
	RemoteNetworks          []string `json:"remote_networks"`
	ServerAddress           string   `json:"server_address"`
	ServerDn                string   `json:"server_dn"`
	ServerOverrideHostname  string   `json:"server_override_hostname"`
	ServerOverrideStatus    bool     `json:"server_override_status"`
	ServerPort              int64    `json:"server_port"`
	Status                  bool     `json:"status"`
	Username                string   `json:"username"`
	// contains filtered or unexported fields
}

SslVpnClientConnection is a generated Sophos object

func (*SslVpnClientConnection) DeletePath

func (*SslVpnClientConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SslVpnClientConnection DELETE path Creates or updates the complete object client_connection

func (*SslVpnClientConnection) GetPath

func (s *SslVpnClientConnection) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnClientConnections GET path Returns all available client_connection types

func (*SslVpnClientConnection) GetType

func (s *SslVpnClientConnection) GetType() string

GetType implements sophos.Object

func (*SslVpnClientConnection) PatchPath

func (*SslVpnClientConnection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SslVpnClientConnection PATCH path Changes to parts of the object client_connection types

func (*SslVpnClientConnection) PostPath

func (*SslVpnClientConnection) PostPath() string

PostPath implements sophos.RestObject and returns the SslVpnClientConnection POST path Create a new ssl_vpn/client_connection object

func (*SslVpnClientConnection) PutPath

func (*SslVpnClientConnection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SslVpnClientConnection PUT path Creates or updates the complete object client_connection

func (*SslVpnClientConnection) RefRequired

func (s *SslVpnClientConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SslVpnClientConnection) UsedByPath

func (*SslVpnClientConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SslVpnClientConnections

type SslVpnClientConnections []SslVpnClientConnection

SslVpnClientConnections is an Sophos Endpoint subType and implements sophos.RestObject

func (*SslVpnClientConnections) GetPath

func (*SslVpnClientConnections) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnClientConnections GET path Returns all available ssl_vpn/client_connection objects

func (*SslVpnClientConnections) RefRequired

func (*SslVpnClientConnections) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SslVpnGroup

type SslVpnGroup []interface{}

SslVpnGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*SslVpnGroup) DeletePath

func (*SslVpnGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SslVpnGroup DELETE path Creates or updates the complete object group

func (*SslVpnGroup) GetPath

func (*SslVpnGroup) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnGroup GET path Returns all available ssl_vpn/group objects

func (*SslVpnGroup) PatchPath

func (*SslVpnGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SslVpnGroup PATCH path Changes to parts of the object group types

func (*SslVpnGroup) PostPath

func (*SslVpnGroup) PostPath() string

PostPath implements sophos.RestObject and returns the SslVpnGroup POST path Create a new ssl_vpn/group object

func (*SslVpnGroup) PutPath

func (*SslVpnGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SslVpnGroup PUT path Creates or updates the complete object group

func (*SslVpnGroup) RefRequired

func (*SslVpnGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SslVpnGroup) UsedByPath

func (*SslVpnGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SslVpnRemoteAccessProfile

type SslVpnRemoteAccessProfile struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Aaa        []string `json:"aaa"`
	AutoPfIn   string   `json:"auto_pf_in"`
	AutoPfrule bool     `json:"auto_pfrule"`
	Comment    string   `json:"comment"`
	Name       string   `json:"name"`
	Networks   []string `json:"networks"`
	Status     bool     `json:"status"`
	// contains filtered or unexported fields
}

SslVpnRemoteAccessProfile is a generated Sophos object

func (*SslVpnRemoteAccessProfile) DeletePath

func (*SslVpnRemoteAccessProfile) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SslVpnRemoteAccessProfile DELETE path Creates or updates the complete object remote_access_profile

func (*SslVpnRemoteAccessProfile) GetPath

func (s *SslVpnRemoteAccessProfile) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfiles GET path Returns all available remote_access_profile types

func (*SslVpnRemoteAccessProfile) GetType

func (s *SslVpnRemoteAccessProfile) GetType() string

GetType implements sophos.Object

func (*SslVpnRemoteAccessProfile) PatchPath

func (*SslVpnRemoteAccessProfile) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfile PATCH path Changes to parts of the object remote_access_profile types

func (*SslVpnRemoteAccessProfile) PostPath

func (*SslVpnRemoteAccessProfile) PostPath() string

PostPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfile POST path Create a new ssl_vpn/remote_access_profile object

func (*SslVpnRemoteAccessProfile) PutPath

func (*SslVpnRemoteAccessProfile) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfile PUT path Creates or updates the complete object remote_access_profile

func (*SslVpnRemoteAccessProfile) RefRequired

func (s *SslVpnRemoteAccessProfile) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SslVpnRemoteAccessProfile) UsedByPath

func (*SslVpnRemoteAccessProfile) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type SslVpnRemoteAccessProfiles

type SslVpnRemoteAccessProfiles []SslVpnRemoteAccessProfile

SslVpnRemoteAccessProfiles is an Sophos Endpoint subType and implements sophos.RestObject

func (*SslVpnRemoteAccessProfiles) GetPath

GetPath implements sophos.RestObject and returns the SslVpnRemoteAccessProfiles GET path Returns all available ssl_vpn/remote_access_profile objects

func (*SslVpnRemoteAccessProfiles) RefRequired

func (*SslVpnRemoteAccessProfiles) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type SslVpnServerConnection

type SslVpnServerConnection []interface{}

SslVpnServerConnection is an Sophos Endpoint subType and implements sophos.RestObject

func (*SslVpnServerConnection) DeletePath

func (*SslVpnServerConnection) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the SslVpnServerConnection DELETE path Creates or updates the complete object server_connection

func (*SslVpnServerConnection) GetPath

func (*SslVpnServerConnection) GetPath() string

GetPath implements sophos.RestObject and returns the SslVpnServerConnection GET path Returns all available ssl_vpn/server_connection objects

func (*SslVpnServerConnection) PatchPath

func (*SslVpnServerConnection) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the SslVpnServerConnection PATCH path Changes to parts of the object server_connection types

func (*SslVpnServerConnection) PostPath

func (*SslVpnServerConnection) PostPath() string

PostPath implements sophos.RestObject and returns the SslVpnServerConnection POST path Create a new ssl_vpn/server_connection object

func (*SslVpnServerConnection) PutPath

func (*SslVpnServerConnection) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the SslVpnServerConnection PUT path Creates or updates the complete object server_connection

func (*SslVpnServerConnection) RefRequired

func (*SslVpnServerConnection) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*SslVpnServerConnection) UsedByPath

func (*SslVpnServerConnection) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Stas

type Stas struct {
	StasCollector StasCollector `json:"stas_collector"`
	StasGroup     StasGroup     `json:"stas_group"`
}

Stas is a generated struct representing the Sophos Stas Endpoint GET /api/nodes/stas

func (Stas) ApiRoutes

func (Stas) ApiRoutes() []string

ApiRoutes returns all known Stas Paths

func (Stas) Definition

func (Stas) Definition() sophos.Definition

Definition returns the /api/definitions struct of Stas

func (*Stas) GetPath

func (*Stas) GetPath() string

GetPath implements sophos.RestGetter

func (*Stas) RefRequired

func (*Stas) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Stas) References

func (Stas) References() []string

References returns the Stas's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Stas) RestObjects

func (Stas) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Stas's Objects

type StasCollector

type StasCollector []interface{}

StasCollector is an Sophos Endpoint subType and implements sophos.RestObject

func (*StasCollector) DeletePath

func (*StasCollector) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the StasCollector DELETE path Creates or updates the complete object collector

func (*StasCollector) GetPath

func (*StasCollector) GetPath() string

GetPath implements sophos.RestObject and returns the StasCollector GET path Returns all available stas/collector objects

func (*StasCollector) PatchPath

func (*StasCollector) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the StasCollector PATCH path Changes to parts of the object collector types

func (*StasCollector) PostPath

func (*StasCollector) PostPath() string

PostPath implements sophos.RestObject and returns the StasCollector POST path Create a new stas/collector object

func (*StasCollector) PutPath

func (*StasCollector) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the StasCollector PUT path Creates or updates the complete object collector

func (*StasCollector) RefRequired

func (*StasCollector) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*StasCollector) UsedByPath

func (*StasCollector) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type StasGroup

type StasGroup []interface{}

StasGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*StasGroup) DeletePath

func (*StasGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the StasGroup DELETE path Creates or updates the complete object group

func (*StasGroup) GetPath

func (*StasGroup) GetPath() string

GetPath implements sophos.RestObject and returns the StasGroup GET path Returns all available stas/group objects

func (*StasGroup) PatchPath

func (*StasGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the StasGroup PATCH path Changes to parts of the object group types

func (*StasGroup) PostPath

func (*StasGroup) PostPath() string

PostPath implements sophos.RestObject and returns the StasGroup POST path Create a new stas/group object

func (*StasGroup) PutPath

func (*StasGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the StasGroup PUT path Creates or updates the complete object group

func (*StasGroup) RefRequired

func (*StasGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*StasGroup) UsedByPath

func (*StasGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type Status

type Status struct {
	StatusVersion StatusVersion `json:"Status_status"`
}

Status is a generated struct representing the Sophos Status Endpoint GET /api/nodes/status

func (Status) ApiRoutes

func (Status) ApiRoutes() []string

ApiRoutes returns all known Status Paths

func (Status) Definition

func (Status) Definition() sophos.Definition

Definition returns the /api/definitions struct of Status

func (*Status) GetPath

func (*Status) GetPath() string

GetPath implements sophos.RestGetter

func (*Status) RefRequired

func (*Status) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Status) References

func (Status) References() []string

References returns the Status's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Status) RestObjects

func (Status) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Status's Objects

type StatusVersion

type StatusVersion struct {
	Restd string `json:"restd"`
	Utm   string `json:"utm"`
}

StatusVersion is an Sophos Endpoint subType and implements sophos.RestObject

func (*StatusVersion) DeletePath

func (*StatusVersion) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the StatusVersion DELETE path

func (*StatusVersion) GetPath

func (*StatusVersion) GetPath() string

GetPath implements sophos.RestObject and returns the StatusVersion GET path Returns some version numbers of the UTM software

func (*StatusVersion) PatchPath

func (*StatusVersion) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the StatusVersion PATCH path

func (*StatusVersion) PostPath

func (*StatusVersion) PostPath() string

PostPath implements sophos.RestObject and returns the StatusVersion POST path

func (*StatusVersion) PutPath

func (*StatusVersion) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the StatusVersion PUT path

func (*StatusVersion) RefRequired

func (*StatusVersion) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*StatusVersion) UsedByPath

func (*StatusVersion) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject

type Time

type Time struct {
	TimeGroup     TimeGroup     `json:"time_group"`
	TimeRecurring TimeRecurring `json:"time_recurring"`
	TimeSingle    TimeSingle    `json:"time_single"`
}

Time is a generated struct representing the Sophos Time Endpoint GET /api/nodes/time

func (Time) ApiRoutes

func (Time) ApiRoutes() []string

ApiRoutes returns all known Time Paths

func (Time) Definition

func (Time) Definition() sophos.Definition

Definition returns the /api/definitions struct of Time

func (*Time) GetPath

func (*Time) GetPath() string

GetPath implements sophos.RestGetter

func (*Time) RefRequired

func (*Time) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (Time) References

func (Time) References() []string

References returns the Time's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (Time) RestObjects

func (Time) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of Time's Objects

type TimeGroup

type TimeGroup []interface{}

TimeGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*TimeGroup) DeletePath

func (*TimeGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the TimeGroup DELETE path Creates or updates the complete object group

func (*TimeGroup) GetPath

func (*TimeGroup) GetPath() string

GetPath implements sophos.RestObject and returns the TimeGroup GET path Returns all available time/group objects

func (*TimeGroup) PatchPath

func (*TimeGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the TimeGroup PATCH path Changes to parts of the object group types

func (*TimeGroup) PostPath

func (*TimeGroup) PostPath() string

PostPath implements sophos.RestObject and returns the TimeGroup POST path Create a new time/group object

func (*TimeGroup) PutPath

func (*TimeGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the TimeGroup PUT path Creates or updates the complete object group

func (*TimeGroup) RefRequired

func (*TimeGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*TimeGroup) UsedByPath

func (*TimeGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type TimeRecurring

type TimeRecurring struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	Comment   string   `json:"comment"`
	EndTime   string   `json:"end_time"`
	Name      string   `json:"name"`
	StartTime string   `json:"start_time"`
	Weekdays  []string `json:"weekdays"`
	// contains filtered or unexported fields
}

TimeRecurring is a generated Sophos object

func (*TimeRecurring) DeletePath

func (*TimeRecurring) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the TimeRecurring DELETE path Creates or updates the complete object recurring

func (*TimeRecurring) GetPath

func (t *TimeRecurring) GetPath() string

GetPath implements sophos.RestObject and returns the TimeRecurrings GET path Returns all available recurring types

func (*TimeRecurring) GetType

func (t *TimeRecurring) GetType() string

GetType implements sophos.Object

func (*TimeRecurring) PatchPath

func (*TimeRecurring) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the TimeRecurring PATCH path Changes to parts of the object recurring types

func (*TimeRecurring) PostPath

func (*TimeRecurring) PostPath() string

PostPath implements sophos.RestObject and returns the TimeRecurring POST path Create a new time/recurring object

func (*TimeRecurring) PutPath

func (*TimeRecurring) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the TimeRecurring PUT path Creates or updates the complete object recurring

func (*TimeRecurring) RefRequired

func (t *TimeRecurring) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*TimeRecurring) UsedByPath

func (*TimeRecurring) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type TimeRecurrings

type TimeRecurrings []TimeRecurring

TimeRecurrings is an Sophos Endpoint subType and implements sophos.RestObject

func (*TimeRecurrings) GetPath

func (*TimeRecurrings) GetPath() string

GetPath implements sophos.RestObject and returns the TimeRecurrings GET path Returns all available time/recurring objects

func (*TimeRecurrings) RefRequired

func (*TimeRecurrings) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

type TimeSingle

type TimeSingle []interface{}

TimeSingle is an Sophos Endpoint subType and implements sophos.RestObject

func (*TimeSingle) DeletePath

func (*TimeSingle) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the TimeSingle DELETE path Creates or updates the complete object single

func (*TimeSingle) GetPath

func (*TimeSingle) GetPath() string

GetPath implements sophos.RestObject and returns the TimeSingle GET path Returns all available time/single objects

func (*TimeSingle) PatchPath

func (*TimeSingle) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the TimeSingle PATCH path Changes to parts of the object single types

func (*TimeSingle) PostPath

func (*TimeSingle) PostPath() string

PostPath implements sophos.RestObject and returns the TimeSingle POST path Create a new time/single object

func (*TimeSingle) PutPath

func (*TimeSingle) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the TimeSingle PUT path Creates or updates the complete object single

func (*TimeSingle) RefRequired

func (*TimeSingle) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*TimeSingle) UsedByPath

func (*TimeSingle) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type UserPreferences

type UserPreferences struct {
	UserPreferencesGroup    UserPreferencesGroup    `json:"user_preferences_group"`
	UserPreferencesWebadmin UserPreferencesWebadmin `json:"user_preferences_webadmin"`
}

UserPreferences is a generated struct representing the Sophos UserPreferences Endpoint GET /api/nodes/user_preferences

func (UserPreferences) ApiRoutes

func (UserPreferences) ApiRoutes() []string

ApiRoutes returns all known UserPreferences Paths

func (UserPreferences) Definition

func (UserPreferences) Definition() sophos.Definition

Definition returns the /api/definitions struct of UserPreferences

func (*UserPreferences) GetPath

func (*UserPreferences) GetPath() string

GetPath implements sophos.RestGetter

func (*UserPreferences) RefRequired

func (*UserPreferences) RefRequired() (string, bool)

RefRequired implements sophos.RestGetter

func (UserPreferences) References

func (UserPreferences) References() []string

References returns the UserPreferences's references. These strings serve no purpose other than to demonstrate which Reference keys are used for this Endpoint

func (UserPreferences) RestObjects

func (UserPreferences) RestObjects() map[string]sophos.RestObject

RestObjects implements the sophos.Node interface and returns a map of UserPreferences's Objects

type UserPreferencesGroup

type UserPreferencesGroup []interface{}

UserPreferencesGroup is an Sophos Endpoint subType and implements sophos.RestObject

func (*UserPreferencesGroup) DeletePath

func (*UserPreferencesGroup) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the UserPreferencesGroup DELETE path Creates or updates the complete object group

func (*UserPreferencesGroup) GetPath

func (*UserPreferencesGroup) GetPath() string

GetPath implements sophos.RestObject and returns the UserPreferencesGroup GET path Returns all available user_preferences/group objects

func (*UserPreferencesGroup) PatchPath

func (*UserPreferencesGroup) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the UserPreferencesGroup PATCH path Changes to parts of the object group types

func (*UserPreferencesGroup) PostPath

func (*UserPreferencesGroup) PostPath() string

PostPath implements sophos.RestObject and returns the UserPreferencesGroup POST path Create a new user_preferences/group object

func (*UserPreferencesGroup) PutPath

func (*UserPreferencesGroup) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the UserPreferencesGroup PUT path Creates or updates the complete object group

func (*UserPreferencesGroup) RefRequired

func (*UserPreferencesGroup) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*UserPreferencesGroup) UsedByPath

func (*UserPreferencesGroup) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type UserPreferencesWebadmin

type UserPreferencesWebadmin struct {
	Locked    string `json:"_locked"`
	Reference string `json:"_ref"`

	BrowserTitle         string   `json:"browser_title"`
	Comment              string   `json:"comment"`
	DashboardAutogroup   bool     `json:"dashboard_autogroup"`
	DashboardLeftcolumn  []string `json:"dashboard_leftcolumn"`
	DashboardRightcolumn []string `json:"dashboard_rightcolumn"`
	ItemsPerPage         string   `json:"items_per_page"`
	Language             string   `json:"language"`
	MarketingWindow      bool     `json:"marketing_window"`
	Name                 string   `json:"name"`
	Shortcuts            struct {
		Aaa       []string `json:"aaa"`
		Epp       []string `json:"epp"`
		Interface []string `json:"interface"`
		Network   []string `json:"network"`
		Searchbox []string `json:"searchbox"`
		Service   []string `json:"service"`
	} `json:"shortcuts"`
	SkipTermsOfUse bool `json:"skip_terms_of_use"`
	// contains filtered or unexported fields
}

UserPreferencesWebadmin is a generated Sophos object

func (*UserPreferencesWebadmin) DeletePath

func (*UserPreferencesWebadmin) DeletePath(ref string) string

DeletePath implements sophos.RestObject and returns the UserPreferencesWebadmin DELETE path Creates or updates the complete object webadmin

func (*UserPreferencesWebadmin) GetPath

func (u *UserPreferencesWebadmin) GetPath() string

GetPath implements sophos.RestObject and returns the UserPreferencesWebadmins GET path Returns all available webadmin types

func (*UserPreferencesWebadmin) GetType

func (u *UserPreferencesWebadmin) GetType() string

GetType implements sophos.Object

func (*UserPreferencesWebadmin) PatchPath

func (*UserPreferencesWebadmin) PatchPath(ref string) string

PatchPath implements sophos.RestObject and returns the UserPreferencesWebadmin PATCH path Changes to parts of the object webadmin types

func (*UserPreferencesWebadmin) PostPath

func (*UserPreferencesWebadmin) PostPath() string

PostPath implements sophos.RestObject and returns the UserPreferencesWebadmin POST path Create a new user_preferences/webadmin object

func (*UserPreferencesWebadmin) PutPath

func (*UserPreferencesWebadmin) PutPath(ref string) string

PutPath implements sophos.RestObject and returns the UserPreferencesWebadmin PUT path Creates or updates the complete object webadmin

func (*UserPreferencesWebadmin) RefRequired

func (u *UserPreferencesWebadmin) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

func (*UserPreferencesWebadmin) UsedByPath

func (*UserPreferencesWebadmin) UsedByPath(ref string) string

UsedByPath implements sophos.RestObject Returns the objects and the nodes that use the object with the given ref

type UserPreferencesWebadmins

type UserPreferencesWebadmins []UserPreferencesWebadmin

UserPreferencesWebadmins is an Sophos Endpoint subType and implements sophos.RestObject

func (*UserPreferencesWebadmins) GetPath

func (*UserPreferencesWebadmins) GetPath() string

GetPath implements sophos.RestObject and returns the UserPreferencesWebadmins GET path Returns all available user_preferences/webadmin objects

func (*UserPreferencesWebadmins) RefRequired

func (*UserPreferencesWebadmins) RefRequired() (string, bool)

RefRequired implements sophos.RestObject

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL