protection

package
v8.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package protection provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyScopes     = "apiKey.Scopes"
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewAddExceptionGroupDomainsRequest

func NewAddExceptionGroupDomainsRequest(server string, exceptionGroupIdParameter ExceptionGroupIdParameter, body AddExceptionGroupDomainsJSONRequestBody) (*http.Request, error)

NewAddExceptionGroupDomainsRequest calls the generic AddExceptionGroupDomains builder with application/json body

func NewAddExceptionGroupDomainsRequestWithBody

func NewAddExceptionGroupDomainsRequestWithBody(server string, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewAddExceptionGroupDomainsRequestWithBody generates requests for AddExceptionGroupDomains with any type of body

func NewAddPolicyExceptionGroupRequest

func NewAddPolicyExceptionGroupRequest(server string, policyIdParameter PolicyIdParameter, body AddPolicyExceptionGroupJSONRequestBody) (*http.Request, error)

NewAddPolicyExceptionGroupRequest calls the generic AddPolicyExceptionGroup builder with application/json body

func NewAddPolicyExceptionGroupRequestWithBody

func NewAddPolicyExceptionGroupRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewAddPolicyExceptionGroupRequestWithBody generates requests for AddPolicyExceptionGroup with any type of body

func NewAllowAppBlockerCategoriesRequest

func NewAllowAppBlockerCategoriesRequest(server string, policyIdParameter PolicyIdParameter, body AllowAppBlockerCategoriesJSONRequestBody) (*http.Request, error)

NewAllowAppBlockerCategoriesRequest calls the generic AllowAppBlockerCategories builder with application/json body

func NewAllowAppBlockerCategoriesRequestWithBody

func NewAllowAppBlockerCategoriesRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewAllowAppBlockerCategoriesRequestWithBody generates requests for AllowAppBlockerCategories with any type of body

func NewAllowCategoriesRequest

func NewAllowCategoriesRequest(server string, policyIdParameter PolicyIdParameter, body AllowCategoriesJSONRequestBody) (*http.Request, error)

NewAllowCategoriesRequest calls the generic AllowCategories builder with application/json body

func NewAllowCategoriesRequestWithBody

func NewAllowCategoriesRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewAllowCategoriesRequestWithBody generates requests for AllowCategories with any type of body

func NewAllowCountriesRequest

func NewAllowCountriesRequest(server string, policyIdParameter PolicyIdParameter, body AllowCountriesJSONRequestBody) (*http.Request, error)

NewAllowCountriesRequest calls the generic AllowCountries builder with application/json body

func NewAllowCountriesRequestWithBody

func NewAllowCountriesRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewAllowCountriesRequestWithBody generates requests for AllowCountries with any type of body

func NewAllowMalwareCategoriesRequest

func NewAllowMalwareCategoriesRequest(server string, policyIdParameter PolicyIdParameter, body AllowMalwareCategoriesJSONRequestBody) (*http.Request, error)

NewAllowMalwareCategoriesRequest calls the generic AllowMalwareCategories builder with application/json body

func NewAllowMalwareCategoriesRequestWithBody

func NewAllowMalwareCategoriesRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewAllowMalwareCategoriesRequestWithBody generates requests for AllowMalwareCategories with any type of body

func NewAllowTldsRequest

func NewAllowTldsRequest(server string, policyIdParameter PolicyIdParameter, body AllowTldsJSONRequestBody) (*http.Request, error)

NewAllowTldsRequest calls the generic AllowTlds builder with application/json body

func NewAllowTldsRequestWithBody

func NewAllowTldsRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewAllowTldsRequestWithBody generates requests for AllowTlds with any type of body

func NewBlockAppBlockerCategoriesRequest

func NewBlockAppBlockerCategoriesRequest(server string, policyIdParameter PolicyIdParameter, body BlockAppBlockerCategoriesJSONRequestBody) (*http.Request, error)

NewBlockAppBlockerCategoriesRequest calls the generic BlockAppBlockerCategories builder with application/json body

func NewBlockAppBlockerCategoriesRequestWithBody

func NewBlockAppBlockerCategoriesRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewBlockAppBlockerCategoriesRequestWithBody generates requests for BlockAppBlockerCategories with any type of body

func NewBlockCategoriesRequest

func NewBlockCategoriesRequest(server string, policyIdParameter PolicyIdParameter, body BlockCategoriesJSONRequestBody) (*http.Request, error)

NewBlockCategoriesRequest calls the generic BlockCategories builder with application/json body

func NewBlockCategoriesRequestWithBody

func NewBlockCategoriesRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewBlockCategoriesRequestWithBody generates requests for BlockCategories with any type of body

func NewBlockCountriesRequest

func NewBlockCountriesRequest(server string, policyIdParameter PolicyIdParameter, body BlockCountriesJSONRequestBody) (*http.Request, error)

NewBlockCountriesRequest calls the generic BlockCountries builder with application/json body

func NewBlockCountriesRequestWithBody

func NewBlockCountriesRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewBlockCountriesRequestWithBody generates requests for BlockCountries with any type of body

func NewBlockMalwareCategoriesRequest

func NewBlockMalwareCategoriesRequest(server string, policyIdParameter PolicyIdParameter, body BlockMalwareCategoriesJSONRequestBody) (*http.Request, error)

NewBlockMalwareCategoriesRequest calls the generic BlockMalwareCategories builder with application/json body

func NewBlockMalwareCategoriesRequestWithBody

func NewBlockMalwareCategoriesRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewBlockMalwareCategoriesRequestWithBody generates requests for BlockMalwareCategories with any type of body

func NewBlockTldsRequest

func NewBlockTldsRequest(server string, policyIdParameter PolicyIdParameter, body BlockTldsJSONRequestBody) (*http.Request, error)

NewBlockTldsRequest calls the generic BlockTlds builder with application/json body

func NewBlockTldsRequestWithBody

func NewBlockTldsRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewBlockTldsRequestWithBody generates requests for BlockTlds with any type of body

func NewCreateExceptionGroupRequest

func NewCreateExceptionGroupRequest(server string, body CreateExceptionGroupJSONRequestBody) (*http.Request, error)

NewCreateExceptionGroupRequest calls the generic CreateExceptionGroup builder with application/json body

func NewCreateExceptionGroupRequestWithBody

func NewCreateExceptionGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateExceptionGroupRequestWithBody generates requests for CreateExceptionGroup with any type of body

func NewCreatePolicyRequest

func NewCreatePolicyRequest(server string, body CreatePolicyJSONRequestBody) (*http.Request, error)

NewCreatePolicyRequest calls the generic CreatePolicy builder with application/json body

func NewCreatePolicyRequestWithBody

func NewCreatePolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreatePolicyRequestWithBody generates requests for CreatePolicy with any type of body

func NewDeleteExceptionGroupRequest

func NewDeleteExceptionGroupRequest(server string, exceptionGroupIdParameter ExceptionGroupIdParameter) (*http.Request, error)

NewDeleteExceptionGroupRequest generates requests for DeleteExceptionGroup

func NewDeletePolicyRequest

func NewDeletePolicyRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewDeletePolicyRequest generates requests for DeletePolicy

func NewDisableDynamicDnsRedirectRequest

func NewDisableDynamicDnsRedirectRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewDisableDynamicDnsRedirectRequest generates requests for DisableDynamicDnsRedirect

func NewEnableDynamicDnsRedirectRequest

func NewEnableDynamicDnsRedirectRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewEnableDynamicDnsRedirectRequest generates requests for EnableDynamicDnsRedirect

func NewGetDynamicDnsRedirectRequest

func NewGetDynamicDnsRedirectRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewGetDynamicDnsRedirectRequest generates requests for GetDynamicDnsRedirect

func NewGetPolicyRequest

func NewGetPolicyRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewGetPolicyRequest generates requests for GetPolicy

func NewGetPolicySettingsRequest

func NewGetPolicySettingsRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewGetPolicySettingsRequest generates requests for GetPolicySettings

func NewGetTldRequest

func NewGetTldRequest(server string, tldNameParameter TldNameParameter) (*http.Request, error)

NewGetTldRequest generates requests for GetTld

func NewListAppBlockerCategoriesRequest

func NewListAppBlockerCategoriesRequest(server string, params *ListAppBlockerCategoriesParams) (*http.Request, error)

NewListAppBlockerCategoriesRequest generates requests for ListAppBlockerCategories

func NewListAppBlockerCategoryMacrosRequest

func NewListAppBlockerCategoryMacrosRequest(server string, params *ListAppBlockerCategoryMacrosParams) (*http.Request, error)

NewListAppBlockerCategoryMacrosRequest generates requests for ListAppBlockerCategoryMacros

func NewListBlockedAppBlockerCategoriesRequest

func NewListBlockedAppBlockerCategoriesRequest(server string, policyIdParameter PolicyIdParameter, params *ListBlockedAppBlockerCategoriesParams) (*http.Request, error)

NewListBlockedAppBlockerCategoriesRequest generates requests for ListBlockedAppBlockerCategories

func NewListBlockedCategoriesRequest

func NewListBlockedCategoriesRequest(server string, policyIdParameter PolicyIdParameter, params *ListBlockedCategoriesParams) (*http.Request, error)

NewListBlockedCategoriesRequest generates requests for ListBlockedCategories

func NewListBlockedCountriesRequest

func NewListBlockedCountriesRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewListBlockedCountriesRequest generates requests for ListBlockedCountries

func NewListBlockedMalwareCategoriesRequest

func NewListBlockedMalwareCategoriesRequest(server string, policyIdParameter PolicyIdParameter, params *ListBlockedMalwareCategoriesParams) (*http.Request, error)

NewListBlockedMalwareCategoriesRequest generates requests for ListBlockedMalwareCategories

func NewListBlockedTldsRequest

func NewListBlockedTldsRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewListBlockedTldsRequest generates requests for ListBlockedTlds

func NewListCategoriesRequest

func NewListCategoriesRequest(server string, params *ListCategoriesParams) (*http.Request, error)

NewListCategoriesRequest generates requests for ListCategories

func NewListCategoryMacrosRequest

func NewListCategoryMacrosRequest(server string, params *ListCategoryMacrosParams) (*http.Request, error)

NewListCategoryMacrosRequest generates requests for ListCategoryMacros

func NewListContinentsRequest

func NewListContinentsRequest(server string, params *ListContinentsParams) (*http.Request, error)

NewListContinentsRequest generates requests for ListContinents

func NewListCountriesRequest

func NewListCountriesRequest(server string) (*http.Request, error)

NewListCountriesRequest generates requests for ListCountries

func NewListExceptionGroupDomainsRequest

func NewListExceptionGroupDomainsRequest(server string, exceptionGroupIdParameter ExceptionGroupIdParameter) (*http.Request, error)

NewListExceptionGroupDomainsRequest generates requests for ListExceptionGroupDomains

func NewListExceptionGroupsRequest

func NewListExceptionGroupsRequest(server string, params *ListExceptionGroupsParams) (*http.Request, error)

NewListExceptionGroupsRequest generates requests for ListExceptionGroups

func NewListMalwareCategoriesRequest

func NewListMalwareCategoriesRequest(server string, params *ListMalwareCategoriesParams) (*http.Request, error)

NewListMalwareCategoriesRequest generates requests for ListMalwareCategories

func NewListMalwareCategoryMacrosRequest

func NewListMalwareCategoryMacrosRequest(server string, params *ListMalwareCategoryMacrosParams) (*http.Request, error)

NewListMalwareCategoryMacrosRequest generates requests for ListMalwareCategoryMacros

func NewListPoliciesRequest

func NewListPoliciesRequest(server string, params *ListPoliciesParams) (*http.Request, error)

NewListPoliciesRequest generates requests for ListPolicies

func NewListPolicyExceptionGroupsRequest

func NewListPolicyExceptionGroupsRequest(server string, policyIdParameter PolicyIdParameter) (*http.Request, error)

NewListPolicyExceptionGroupsRequest generates requests for ListPolicyExceptionGroups

func NewListProtectionTemplatesRequest

func NewListProtectionTemplatesRequest(server string, params *ListProtectionTemplatesParams) (*http.Request, error)

NewListProtectionTemplatesRequest generates requests for ListProtectionTemplates

func NewListTemplateCategoriesRequest

func NewListTemplateCategoriesRequest(server string, templateIdParameter TemplateIdParameter, params *ListTemplateCategoriesParams) (*http.Request, error)

NewListTemplateCategoriesRequest generates requests for ListTemplateCategories

func NewListTldMacrosRequest

func NewListTldMacrosRequest(server string, params *ListTldMacrosParams) (*http.Request, error)

NewListTldMacrosRequest generates requests for ListTldMacros

func NewListTldsRequest

func NewListTldsRequest(server string) (*http.Request, error)

NewListTldsRequest generates requests for ListTlds

func NewRemoveAppBlockerCategoryBlockScheduleRequest

func NewRemoveAppBlockerCategoryBlockScheduleRequest(server string, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter) (*http.Request, error)

NewRemoveAppBlockerCategoryBlockScheduleRequest generates requests for RemoveAppBlockerCategoryBlockSchedule

func NewRemoveCategoryBlockScheduleRequest

func NewRemoveCategoryBlockScheduleRequest(server string, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter) (*http.Request, error)

NewRemoveCategoryBlockScheduleRequest generates requests for RemoveCategoryBlockSchedule

func NewRemoveExceptionGroupDomainRequest

func NewRemoveExceptionGroupDomainRequest(server string, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter) (*http.Request, error)

NewRemoveExceptionGroupDomainRequest generates requests for RemoveExceptionGroupDomain

func NewRemoveMalwareCategoryBlockScheduleRequest

func NewRemoveMalwareCategoryBlockScheduleRequest(server string, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter) (*http.Request, error)

NewRemoveMalwareCategoryBlockScheduleRequest generates requests for RemoveMalwareCategoryBlockSchedule

func NewRemovePolicyExceptionGroupRequest

func NewRemovePolicyExceptionGroupRequest(server string, policyIdParameter PolicyIdParameter, exceptionGroupIdParameter ExceptionGroupIdParameter) (*http.Request, error)

NewRemovePolicyExceptionGroupRequest generates requests for RemovePolicyExceptionGroup

func NewScheduleAppBlockerCategoryBlockRequest

func NewScheduleAppBlockerCategoryBlockRequest(server string, policyIdParameter PolicyIdParameter, body ScheduleAppBlockerCategoryBlockJSONRequestBody) (*http.Request, error)

NewScheduleAppBlockerCategoryBlockRequest calls the generic ScheduleAppBlockerCategoryBlock builder with application/json body

func NewScheduleAppBlockerCategoryBlockRequestWithBody

func NewScheduleAppBlockerCategoryBlockRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewScheduleAppBlockerCategoryBlockRequestWithBody generates requests for ScheduleAppBlockerCategoryBlock with any type of body

func NewScheduleCategoryBlockRequest

func NewScheduleCategoryBlockRequest(server string, policyIdParameter PolicyIdParameter, body ScheduleCategoryBlockJSONRequestBody) (*http.Request, error)

NewScheduleCategoryBlockRequest calls the generic ScheduleCategoryBlock builder with application/json body

func NewScheduleCategoryBlockRequestWithBody

func NewScheduleCategoryBlockRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewScheduleCategoryBlockRequestWithBody generates requests for ScheduleCategoryBlock with any type of body

func NewScheduleMalwareCategoryBlockRequest

func NewScheduleMalwareCategoryBlockRequest(server string, policyIdParameter PolicyIdParameter, body ScheduleMalwareCategoryBlockJSONRequestBody) (*http.Request, error)

NewScheduleMalwareCategoryBlockRequest calls the generic ScheduleMalwareCategoryBlock builder with application/json body

func NewScheduleMalwareCategoryBlockRequestWithBody

func NewScheduleMalwareCategoryBlockRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewScheduleMalwareCategoryBlockRequestWithBody generates requests for ScheduleMalwareCategoryBlock with any type of body

func NewUpdateExceptionGroupDomainNoteRequest

func NewUpdateExceptionGroupDomainNoteRequest(server string, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, body UpdateExceptionGroupDomainNoteJSONRequestBody) (*http.Request, error)

NewUpdateExceptionGroupDomainNoteRequest calls the generic UpdateExceptionGroupDomainNote builder with application/json body

func NewUpdateExceptionGroupDomainNoteRequestWithBody

func NewUpdateExceptionGroupDomainNoteRequestWithBody(server string, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewUpdateExceptionGroupDomainNoteRequestWithBody generates requests for UpdateExceptionGroupDomainNote with any type of body

func NewUpdateExceptionGroupRequest

func NewUpdateExceptionGroupRequest(server string, exceptionGroupIdParameter ExceptionGroupIdParameter, body UpdateExceptionGroupJSONRequestBody) (*http.Request, error)

NewUpdateExceptionGroupRequest calls the generic UpdateExceptionGroup builder with application/json body

func NewUpdateExceptionGroupRequestWithBody

func NewUpdateExceptionGroupRequestWithBody(server string, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewUpdateExceptionGroupRequestWithBody generates requests for UpdateExceptionGroup with any type of body

func NewUpdatePolicyRequest

func NewUpdatePolicyRequest(server string, policyIdParameter PolicyIdParameter, body UpdatePolicyJSONRequestBody) (*http.Request, error)

NewUpdatePolicyRequest calls the generic UpdatePolicy builder with application/json body

func NewUpdatePolicyRequestWithBody

func NewUpdatePolicyRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePolicyRequestWithBody generates requests for UpdatePolicy with any type of body

func NewUpdatePolicySettingsRequest

func NewUpdatePolicySettingsRequest(server string, policyIdParameter PolicyIdParameter, body UpdatePolicySettingsJSONRequestBody) (*http.Request, error)

NewUpdatePolicySettingsRequest calls the generic UpdatePolicySettings builder with application/json body

func NewUpdatePolicySettingsRequestWithBody

func NewUpdatePolicySettingsRequestWithBody(server string, policyIdParameter PolicyIdParameter, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePolicySettingsRequestWithBody generates requests for UpdatePolicySettings with any type of body

Types

type AddExceptionGroupDomainsJSONBody

type AddExceptionGroupDomainsJSONBody struct {
	Domains []DomainInput `json:"domains"`
}

AddExceptionGroupDomainsJSONBody defines parameters for AddExceptionGroupDomains.

type AddExceptionGroupDomainsJSONRequestBody

type AddExceptionGroupDomainsJSONRequestBody AddExceptionGroupDomainsJSONBody

AddExceptionGroupDomainsJSONRequestBody defines body for AddExceptionGroupDomains for application/json ContentType.

type AddExceptionGroupDomainsResponse

type AddExceptionGroupDomainsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *DomainInExceptionGroupListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseAddExceptionGroupDomainsResponse

func ParseAddExceptionGroupDomainsResponse(rsp *http.Response) (*AddExceptionGroupDomainsResponse, error)

ParseAddExceptionGroupDomainsResponse parses an HTTP response from a AddExceptionGroupDomainsWithResponse call

func (AddExceptionGroupDomainsResponse) Status

Status returns HTTPResponse.Status

func (AddExceptionGroupDomainsResponse) StatusCode

func (r AddExceptionGroupDomainsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddPolicyExceptionGroupJSONBody

type AddPolicyExceptionGroupJSONBody struct {
	ExceptionGroupId Uuid `json:"exceptionGroupId"`
}

AddPolicyExceptionGroupJSONBody defines parameters for AddPolicyExceptionGroup.

type AddPolicyExceptionGroupJSONRequestBody

type AddPolicyExceptionGroupJSONRequestBody AddPolicyExceptionGroupJSONBody

AddPolicyExceptionGroupJSONRequestBody defines body for AddPolicyExceptionGroup for application/json ContentType.

type AddPolicyExceptionGroupResponse

type AddPolicyExceptionGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *PolicyExceptionGroupResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseAddPolicyExceptionGroupResponse

func ParseAddPolicyExceptionGroupResponse(rsp *http.Response) (*AddPolicyExceptionGroupResponse, error)

ParseAddPolicyExceptionGroupResponse parses an HTTP response from a AddPolicyExceptionGroupWithResponse call

func (AddPolicyExceptionGroupResponse) Status

Status returns HTTPResponse.Status

func (AddPolicyExceptionGroupResponse) StatusCode

func (r AddPolicyExceptionGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AllowAppBlockerCategoriesJSONBody

type AllowAppBlockerCategoriesJSONBody struct {
	CategoryIds []Uuid `json:"categoryIds"`
}

AllowAppBlockerCategoriesJSONBody defines parameters for AllowAppBlockerCategories.

type AllowAppBlockerCategoriesJSONRequestBody

type AllowAppBlockerCategoriesJSONRequestBody AllowAppBlockerCategoriesJSONBody

AllowAppBlockerCategoriesJSONRequestBody defines body for AllowAppBlockerCategories for application/json ContentType.

type AllowAppBlockerCategoriesResponse

type AllowAppBlockerCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CategoryMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseAllowAppBlockerCategoriesResponse

func ParseAllowAppBlockerCategoriesResponse(rsp *http.Response) (*AllowAppBlockerCategoriesResponse, error)

ParseAllowAppBlockerCategoriesResponse parses an HTTP response from a AllowAppBlockerCategoriesWithResponse call

func (AllowAppBlockerCategoriesResponse) Status

Status returns HTTPResponse.Status

func (AllowAppBlockerCategoriesResponse) StatusCode

func (r AllowAppBlockerCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AllowCategoriesJSONBody

type AllowCategoriesJSONBody struct {
	CategoryIds []Uuid `json:"categoryIds"`
}

AllowCategoriesJSONBody defines parameters for AllowCategories.

type AllowCategoriesJSONRequestBody

type AllowCategoriesJSONRequestBody AllowCategoriesJSONBody

AllowCategoriesJSONRequestBody defines body for AllowCategories for application/json ContentType.

type AllowCategoriesResponse

type AllowCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CategoryMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseAllowCategoriesResponse

func ParseAllowCategoriesResponse(rsp *http.Response) (*AllowCategoriesResponse, error)

ParseAllowCategoriesResponse parses an HTTP response from a AllowCategoriesWithResponse call

func (AllowCategoriesResponse) Status

func (r AllowCategoriesResponse) Status() string

Status returns HTTPResponse.Status

func (AllowCategoriesResponse) StatusCode

func (r AllowCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AllowCountriesJSONBody

type AllowCountriesJSONBody struct {
	CountryIds []Uuid `json:"countryIds"`
}

AllowCountriesJSONBody defines parameters for AllowCountries.

type AllowCountriesJSONRequestBody

type AllowCountriesJSONRequestBody AllowCountriesJSONBody

AllowCountriesJSONRequestBody defines body for AllowCountries for application/json ContentType.

type AllowCountriesResponse

type AllowCountriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CountryMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseAllowCountriesResponse

func ParseAllowCountriesResponse(rsp *http.Response) (*AllowCountriesResponse, error)

ParseAllowCountriesResponse parses an HTTP response from a AllowCountriesWithResponse call

func (AllowCountriesResponse) Status

func (r AllowCountriesResponse) Status() string

Status returns HTTPResponse.Status

func (AllowCountriesResponse) StatusCode

func (r AllowCountriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AllowMalwareCategoriesJSONBody

type AllowMalwareCategoriesJSONBody struct {
	CategoryIds []Uuid `json:"categoryIds"`
}

AllowMalwareCategoriesJSONBody defines parameters for AllowMalwareCategories.

type AllowMalwareCategoriesJSONRequestBody

type AllowMalwareCategoriesJSONRequestBody AllowMalwareCategoriesJSONBody

AllowMalwareCategoriesJSONRequestBody defines body for AllowMalwareCategories for application/json ContentType.

type AllowMalwareCategoriesResponse

type AllowMalwareCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CategoryMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseAllowMalwareCategoriesResponse

func ParseAllowMalwareCategoriesResponse(rsp *http.Response) (*AllowMalwareCategoriesResponse, error)

ParseAllowMalwareCategoriesResponse parses an HTTP response from a AllowMalwareCategoriesWithResponse call

func (AllowMalwareCategoriesResponse) Status

Status returns HTTPResponse.Status

func (AllowMalwareCategoriesResponse) StatusCode

func (r AllowMalwareCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AllowTldsJSONBody

type AllowTldsJSONBody struct {
	TldIds []Uuid `json:"tldIds"`
}

AllowTldsJSONBody defines parameters for AllowTlds.

type AllowTldsJSONRequestBody

type AllowTldsJSONRequestBody AllowTldsJSONBody

AllowTldsJSONRequestBody defines body for AllowTlds for application/json ContentType.

type AllowTldsResponse

type AllowTldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *TldMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseAllowTldsResponse

func ParseAllowTldsResponse(rsp *http.Response) (*AllowTldsResponse, error)

ParseAllowTldsResponse parses an HTTP response from a AllowTldsWithResponse call

func (AllowTldsResponse) Status

func (r AllowTldsResponse) Status() string

Status returns HTTPResponse.Status

func (AllowTldsResponse) StatusCode

func (r AllowTldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BaseNetwork

type BaseNetwork struct {
	CreatedAt      time.Time       `json:"createdAt"`
	Id             Uuid            `json:"id"`
	LastQueriedAt  *time.Time      `json:"lastQueriedAt,omitempty"`
	Name           string          `json:"name"`
	Note           string          `json:"note"`
	OrganizationId Uuid            `json:"organizationId"`
	Type           BaseNetworkType `json:"type"`
	UpdatedAt      time.Time       `json:"updatedAt"`
}

BaseNetwork defines model for BaseNetwork.

type BaseNetworkType

type BaseNetworkType string

BaseNetworkType defines model for BaseNetwork.Type.

const (
	DYNAMICEXTERNAL BaseNetworkType = "DYNAMIC_EXTERNAL"
	DYNAMICINTERNAL BaseNetworkType = "DYNAMIC_INTERNAL"
	STATICCIDR      BaseNetworkType = "STATIC_CIDR"
	STATICENCRYPTED BaseNetworkType = "STATIC_ENCRYPTED"
	STATICRANGE     BaseNetworkType = "STATIC_RANGE"
	STATICSINGLE    BaseNetworkType = "STATIC_SINGLE"
)

Defines values for BaseNetworkType.

type BlockAppBlockerCategoriesJSONBody

type BlockAppBlockerCategoriesJSONBody struct {
	CategoryIds []Uuid `json:"categoryIds"`
}

BlockAppBlockerCategoriesJSONBody defines parameters for BlockAppBlockerCategories.

type BlockAppBlockerCategoriesJSONRequestBody

type BlockAppBlockerCategoriesJSONRequestBody BlockAppBlockerCategoriesJSONBody

BlockAppBlockerCategoriesJSONRequestBody defines body for BlockAppBlockerCategories for application/json ContentType.

type BlockAppBlockerCategoriesResponse

type BlockAppBlockerCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CategoryMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseBlockAppBlockerCategoriesResponse

func ParseBlockAppBlockerCategoriesResponse(rsp *http.Response) (*BlockAppBlockerCategoriesResponse, error)

ParseBlockAppBlockerCategoriesResponse parses an HTTP response from a BlockAppBlockerCategoriesWithResponse call

func (BlockAppBlockerCategoriesResponse) Status

Status returns HTTPResponse.Status

func (BlockAppBlockerCategoriesResponse) StatusCode

func (r BlockAppBlockerCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BlockCategoriesJSONBody

type BlockCategoriesJSONBody struct {
	CategoryIds []Uuid `json:"categoryIds"`
}

BlockCategoriesJSONBody defines parameters for BlockCategories.

type BlockCategoriesJSONRequestBody

type BlockCategoriesJSONRequestBody BlockCategoriesJSONBody

BlockCategoriesJSONRequestBody defines body for BlockCategories for application/json ContentType.

type BlockCategoriesResponse

type BlockCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CategoryMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseBlockCategoriesResponse

func ParseBlockCategoriesResponse(rsp *http.Response) (*BlockCategoriesResponse, error)

ParseBlockCategoriesResponse parses an HTTP response from a BlockCategoriesWithResponse call

func (BlockCategoriesResponse) Status

func (r BlockCategoriesResponse) Status() string

Status returns HTTPResponse.Status

func (BlockCategoriesResponse) StatusCode

func (r BlockCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BlockCountriesJSONBody

type BlockCountriesJSONBody struct {
	CountryIds []Uuid `json:"countryIds"`
}

BlockCountriesJSONBody defines parameters for BlockCountries.

type BlockCountriesJSONRequestBody

type BlockCountriesJSONRequestBody BlockCountriesJSONBody

BlockCountriesJSONRequestBody defines body for BlockCountries for application/json ContentType.

type BlockCountriesResponse

type BlockCountriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CountryMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseBlockCountriesResponse

func ParseBlockCountriesResponse(rsp *http.Response) (*BlockCountriesResponse, error)

ParseBlockCountriesResponse parses an HTTP response from a BlockCountriesWithResponse call

func (BlockCountriesResponse) Status

func (r BlockCountriesResponse) Status() string

Status returns HTTPResponse.Status

func (BlockCountriesResponse) StatusCode

func (r BlockCountriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BlockMalwareCategoriesJSONBody

type BlockMalwareCategoriesJSONBody struct {
	CategoryIds []Uuid `json:"categoryIds"`
}

BlockMalwareCategoriesJSONBody defines parameters for BlockMalwareCategories.

type BlockMalwareCategoriesJSONRequestBody

type BlockMalwareCategoriesJSONRequestBody BlockMalwareCategoriesJSONBody

BlockMalwareCategoriesJSONRequestBody defines body for BlockMalwareCategories for application/json ContentType.

type BlockMalwareCategoriesResponse

type BlockMalwareCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *CategoryMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseBlockMalwareCategoriesResponse

func ParseBlockMalwareCategoriesResponse(rsp *http.Response) (*BlockMalwareCategoriesResponse, error)

ParseBlockMalwareCategoriesResponse parses an HTTP response from a BlockMalwareCategoriesWithResponse call

func (BlockMalwareCategoriesResponse) Status

Status returns HTTPResponse.Status

func (BlockMalwareCategoriesResponse) StatusCode

func (r BlockMalwareCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BlockTldsJSONBody

type BlockTldsJSONBody struct {
	TldIds []Uuid `json:"tldIds"`
}

BlockTldsJSONBody defines parameters for BlockTlds.

type BlockTldsJSONRequestBody

type BlockTldsJSONRequestBody BlockTldsJSONBody

BlockTldsJSONRequestBody defines body for BlockTlds for application/json ContentType.

type BlockTldsResponse

type BlockTldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON207      *TldMultiStatusResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseBlockTldsResponse

func ParseBlockTldsResponse(rsp *http.Response) (*BlockTldsResponse, error)

ParseBlockTldsResponse parses an HTTP response from a BlockTldsWithResponse call

func (BlockTldsResponse) Status

func (r BlockTldsResponse) Status() string

Status returns HTTPResponse.Status

func (BlockTldsResponse) StatusCode

func (r BlockTldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BlockedCategoryListResponse

type BlockedCategoryListResponse = []BlockedCategoryWithSchedule

BlockedCategoryListResponse defines model for BlockedCategoryList.

type BlockedCategoryWithSchedule

type BlockedCategoryWithSchedule struct {
	CategoryId Uuid `json:"categoryId"`
	PolicyId   Uuid `json:"policyId"`
	TimeBlocks []struct {
		Day  int       `json:"day"`
		From time.Time `json:"from"`
		Id   Uuid      `json:"id"`
		To   time.Time `json:"to"`
	} `json:"timeBlocks"`
}

BlockedCategoryWithSchedule defines model for BlockedCategoryWithSchedule.

type BlockedCategoryWithTimeBlock

type BlockedCategoryWithTimeBlock struct {
	CategoryId Uuid      `json:"categoryId"`
	Day        int       `json:"day"`
	From       time.Time `json:"from"`
	Id         Uuid      `json:"id"`
	PolicyId   Uuid      `json:"policyId"`
	To         time.Time `json:"to"`
}

BlockedCategoryWithTimeBlock defines model for BlockedCategoryWithTimeBlock.

type BlockedCountry

type BlockedCountry struct {
	Code        string `json:"code"`
	ContinentId Uuid   `json:"continentId"`
	Id          Uuid   `json:"id"`
	Name        string `json:"name"`
	PolicyId    Uuid   `json:"policyId"`
}

BlockedCountry defines model for BlockedCountry.

type BlockedTldListResponse

type BlockedTldListResponse = []TldBlockedOnPolicy

BlockedTldListResponse defines model for BlockedTldList.

type Category

type Category struct {
	Code            string `json:"code"`
	Id              Uuid   `json:"id"`
	MacroCategoryId Uuid   `json:"macroCategoryId"`
	Name            string `json:"name"`
}

Category defines model for Category.

type CategoryBlockedOnPolicy

type CategoryBlockedOnPolicy struct {
	CategoryId Uuid `json:"categoryId"`
	PolicyId   Uuid `json:"policyId"`
}

CategoryBlockedOnPolicy defines model for CategoryBlockedOnPolicy.

type CategoryIdsRequestBody

type CategoryIdsRequestBody struct {
	CategoryIds []Uuid `json:"categoryIds"`
}

CategoryIdsRequestBody defines model for CategoryIds.

type CategoryListResponse

type CategoryListResponse = []Category

CategoryListResponse defines model for CategoryList.

type CategoryMultiStatus

type CategoryMultiStatus = MultiStatusCategoryBlockedOnPolicy

CategoryMultiStatus defines model for CategoryMultiStatus.

type CategoryMultiStatusResponse

type CategoryMultiStatusResponse = CategoryMultiStatus

CategoryMultiStatusResponse defines model for CategoryMultiStatus.

type CategoryScheduleListResponse

type CategoryScheduleListResponse = []BlockedCategoryWithTimeBlock

CategoryScheduleListResponse defines model for CategoryScheduleList.

type CategoryScheduleRequest

type CategoryScheduleRequest struct {
	BlockSchedulation []TimeBlockRequest `json:"blockSchedulation"`
	CategoryId        Uuid               `json:"categoryId"`
}

CategoryScheduleRequest defines model for CategoryScheduleRequest.

type CategoryScheduleRequestBody

type CategoryScheduleRequestBody = CategoryScheduleRequest

CategoryScheduleRequestBody defines model for CategorySchedule.

type CategoryScheduleResponse

type CategoryScheduleResponse = BlockedCategoryWithTimeBlock

CategoryScheduleResponse defines model for CategorySchedule.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddExceptionGroupDomains

func (c *Client) AddExceptionGroupDomains(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, body AddExceptionGroupDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddExceptionGroupDomainsWithBody

func (c *Client) AddExceptionGroupDomainsWithBody(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddPolicyExceptionGroup

func (c *Client) AddPolicyExceptionGroup(ctx context.Context, policyIdParameter PolicyIdParameter, body AddPolicyExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddPolicyExceptionGroupWithBody

func (c *Client) AddPolicyExceptionGroupWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowAppBlockerCategories

func (c *Client) AllowAppBlockerCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowAppBlockerCategoriesWithBody

func (c *Client) AllowAppBlockerCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowCategories

func (c *Client) AllowCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowCategoriesWithBody

func (c *Client) AllowCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowCountries

func (c *Client) AllowCountries(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowCountriesWithBody

func (c *Client) AllowCountriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowMalwareCategories

func (c *Client) AllowMalwareCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowMalwareCategoriesWithBody

func (c *Client) AllowMalwareCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowTlds

func (c *Client) AllowTlds(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowTldsWithBody

func (c *Client) AllowTldsWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockAppBlockerCategories

func (c *Client) BlockAppBlockerCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockAppBlockerCategoriesWithBody

func (c *Client) BlockAppBlockerCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockCategories

func (c *Client) BlockCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockCategoriesWithBody

func (c *Client) BlockCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockCountries

func (c *Client) BlockCountries(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockCountriesWithBody

func (c *Client) BlockCountriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockMalwareCategories

func (c *Client) BlockMalwareCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockMalwareCategoriesWithBody

func (c *Client) BlockMalwareCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockTlds

func (c *Client) BlockTlds(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockTldsWithBody

func (c *Client) BlockTldsWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateExceptionGroup

func (c *Client) CreateExceptionGroup(ctx context.Context, body CreateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateExceptionGroupWithBody

func (c *Client) CreateExceptionGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePolicy

func (c *Client) CreatePolicy(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePolicyWithBody

func (c *Client) CreatePolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteExceptionGroup

func (c *Client) DeleteExceptionGroup(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePolicy

func (c *Client) DeletePolicy(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DisableDynamicDnsRedirect

func (c *Client) DisableDynamicDnsRedirect(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EnableDynamicDnsRedirect

func (c *Client) EnableDynamicDnsRedirect(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDynamicDnsRedirect

func (c *Client) GetDynamicDnsRedirect(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPolicy

func (c *Client) GetPolicy(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPolicySettings

func (c *Client) GetPolicySettings(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTld

func (c *Client) GetTld(ctx context.Context, tldNameParameter TldNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAppBlockerCategories

func (c *Client) ListAppBlockerCategories(ctx context.Context, params *ListAppBlockerCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAppBlockerCategoryMacros

func (c *Client) ListAppBlockerCategoryMacros(ctx context.Context, params *ListAppBlockerCategoryMacrosParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedAppBlockerCategories

func (c *Client) ListBlockedAppBlockerCategories(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedAppBlockerCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedCategories

func (c *Client) ListBlockedCategories(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedCountries

func (c *Client) ListBlockedCountries(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedMalwareCategories

func (c *Client) ListBlockedMalwareCategories(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedMalwareCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedTlds

func (c *Client) ListBlockedTlds(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCategories

func (c *Client) ListCategories(ctx context.Context, params *ListCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCategoryMacros

func (c *Client) ListCategoryMacros(ctx context.Context, params *ListCategoryMacrosParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListContinents

func (c *Client) ListContinents(ctx context.Context, params *ListContinentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCountries

func (c *Client) ListCountries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListExceptionGroupDomains

func (c *Client) ListExceptionGroupDomains(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListExceptionGroups

func (c *Client) ListExceptionGroups(ctx context.Context, params *ListExceptionGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMalwareCategories

func (c *Client) ListMalwareCategories(ctx context.Context, params *ListMalwareCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMalwareCategoryMacros

func (c *Client) ListMalwareCategoryMacros(ctx context.Context, params *ListMalwareCategoryMacrosParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPolicies

func (c *Client) ListPolicies(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPolicyExceptionGroups

func (c *Client) ListPolicyExceptionGroups(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListProtectionTemplates

func (c *Client) ListProtectionTemplates(ctx context.Context, params *ListProtectionTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTemplateCategories

func (c *Client) ListTemplateCategories(ctx context.Context, templateIdParameter TemplateIdParameter, params *ListTemplateCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTldMacros

func (c *Client) ListTldMacros(ctx context.Context, params *ListTldMacrosParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTlds

func (c *Client) ListTlds(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveAppBlockerCategoryBlockSchedule

func (c *Client) RemoveAppBlockerCategoryBlockSchedule(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveCategoryBlockSchedule

func (c *Client) RemoveCategoryBlockSchedule(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveExceptionGroupDomain

func (c *Client) RemoveExceptionGroupDomain(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveMalwareCategoryBlockSchedule

func (c *Client) RemoveMalwareCategoryBlockSchedule(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemovePolicyExceptionGroup

func (c *Client) RemovePolicyExceptionGroup(ctx context.Context, policyIdParameter PolicyIdParameter, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleAppBlockerCategoryBlock

func (c *Client) ScheduleAppBlockerCategoryBlock(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleAppBlockerCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleAppBlockerCategoryBlockWithBody

func (c *Client) ScheduleAppBlockerCategoryBlockWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleCategoryBlock

func (c *Client) ScheduleCategoryBlock(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleCategoryBlockWithBody

func (c *Client) ScheduleCategoryBlockWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleMalwareCategoryBlock

func (c *Client) ScheduleMalwareCategoryBlock(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleMalwareCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleMalwareCategoryBlockWithBody

func (c *Client) ScheduleMalwareCategoryBlockWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExceptionGroup

func (c *Client) UpdateExceptionGroup(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, body UpdateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExceptionGroupDomainNote

func (c *Client) UpdateExceptionGroupDomainNote(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, body UpdateExceptionGroupDomainNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExceptionGroupDomainNoteWithBody

func (c *Client) UpdateExceptionGroupDomainNoteWithBody(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExceptionGroupWithBody

func (c *Client) UpdateExceptionGroupWithBody(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePolicy

func (c *Client) UpdatePolicy(ctx context.Context, policyIdParameter PolicyIdParameter, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePolicySettings

func (c *Client) UpdatePolicySettings(ctx context.Context, policyIdParameter PolicyIdParameter, body UpdatePolicySettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePolicySettingsWithBody

func (c *Client) UpdatePolicySettingsWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePolicyWithBody

func (c *Client) UpdatePolicyWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListAppBlockerCategories request
	ListAppBlockerCategories(ctx context.Context, params *ListAppBlockerCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAppBlockerCategoryMacros request
	ListAppBlockerCategoryMacros(ctx context.Context, params *ListAppBlockerCategoryMacrosParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCategories request
	ListCategories(ctx context.Context, params *ListCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCategoryMacros request
	ListCategoryMacros(ctx context.Context, params *ListCategoryMacrosParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListContinents request
	ListContinents(ctx context.Context, params *ListContinentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCountries request
	ListCountries(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListExceptionGroups request
	ListExceptionGroups(ctx context.Context, params *ListExceptionGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateExceptionGroupWithBody request with any body
	CreateExceptionGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateExceptionGroup(ctx context.Context, body CreateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteExceptionGroup request
	DeleteExceptionGroup(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateExceptionGroupWithBody request with any body
	UpdateExceptionGroupWithBody(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateExceptionGroup(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, body UpdateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListExceptionGroupDomains request
	ListExceptionGroupDomains(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddExceptionGroupDomainsWithBody request with any body
	AddExceptionGroupDomainsWithBody(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddExceptionGroupDomains(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, body AddExceptionGroupDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveExceptionGroupDomain request
	RemoveExceptionGroupDomain(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateExceptionGroupDomainNoteWithBody request with any body
	UpdateExceptionGroupDomainNoteWithBody(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateExceptionGroupDomainNote(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, body UpdateExceptionGroupDomainNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMalwareCategories request
	ListMalwareCategories(ctx context.Context, params *ListMalwareCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMalwareCategoryMacros request
	ListMalwareCategoryMacros(ctx context.Context, params *ListMalwareCategoryMacrosParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPolicies request
	ListPolicies(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePolicyWithBody request with any body
	CreatePolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePolicy(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePolicy request
	DeletePolicy(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPolicy request
	GetPolicy(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePolicyWithBody request with any body
	UpdatePolicyWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePolicy(ctx context.Context, policyIdParameter PolicyIdParameter, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AllowAppBlockerCategoriesWithBody request with any body
	AllowAppBlockerCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AllowAppBlockerCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedAppBlockerCategories request
	ListBlockedAppBlockerCategories(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedAppBlockerCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BlockAppBlockerCategoriesWithBody request with any body
	BlockAppBlockerCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BlockAppBlockerCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleAppBlockerCategoryBlockWithBody request with any body
	ScheduleAppBlockerCategoryBlockWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScheduleAppBlockerCategoryBlock(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleAppBlockerCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveAppBlockerCategoryBlockSchedule request
	RemoveAppBlockerCategoryBlockSchedule(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AllowCategoriesWithBody request with any body
	AllowCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AllowCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedCategories request
	ListBlockedCategories(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BlockCategoriesWithBody request with any body
	BlockCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BlockCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleCategoryBlockWithBody request with any body
	ScheduleCategoryBlockWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScheduleCategoryBlock(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveCategoryBlockSchedule request
	RemoveCategoryBlockSchedule(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AllowCountriesWithBody request with any body
	AllowCountriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AllowCountries(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedCountries request
	ListBlockedCountries(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BlockCountriesWithBody request with any body
	BlockCountriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BlockCountries(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DisableDynamicDnsRedirect request
	DisableDynamicDnsRedirect(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDynamicDnsRedirect request
	GetDynamicDnsRedirect(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableDynamicDnsRedirect request
	EnableDynamicDnsRedirect(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPolicyExceptionGroups request
	ListPolicyExceptionGroups(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddPolicyExceptionGroupWithBody request with any body
	AddPolicyExceptionGroupWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddPolicyExceptionGroup(ctx context.Context, policyIdParameter PolicyIdParameter, body AddPolicyExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemovePolicyExceptionGroup request
	RemovePolicyExceptionGroup(ctx context.Context, policyIdParameter PolicyIdParameter, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AllowMalwareCategoriesWithBody request with any body
	AllowMalwareCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AllowMalwareCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedMalwareCategories request
	ListBlockedMalwareCategories(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedMalwareCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BlockMalwareCategoriesWithBody request with any body
	BlockMalwareCategoriesWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BlockMalwareCategories(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleMalwareCategoryBlockWithBody request with any body
	ScheduleMalwareCategoryBlockWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ScheduleMalwareCategoryBlock(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleMalwareCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveMalwareCategoryBlockSchedule request
	RemoveMalwareCategoryBlockSchedule(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPolicySettings request
	GetPolicySettings(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePolicySettingsWithBody request with any body
	UpdatePolicySettingsWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePolicySettings(ctx context.Context, policyIdParameter PolicyIdParameter, body UpdatePolicySettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AllowTldsWithBody request with any body
	AllowTldsWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AllowTlds(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedTlds request
	ListBlockedTlds(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BlockTldsWithBody request with any body
	BlockTldsWithBody(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BlockTlds(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListProtectionTemplates request
	ListProtectionTemplates(ctx context.Context, params *ListProtectionTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTemplateCategories request
	ListTemplateCategories(ctx context.Context, templateIdParameter TemplateIdParameter, params *ListTemplateCategoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTlds request
	ListTlds(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTldMacros request
	ListTldMacros(ctx context.Context, params *ListTldMacrosParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTld request
	GetTld(ctx context.Context, tldNameParameter TldNameParameter, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddExceptionGroupDomainsWithBodyWithResponse

func (c *ClientWithResponses) AddExceptionGroupDomainsWithBodyWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddExceptionGroupDomainsResponse, error)

AddExceptionGroupDomainsWithBodyWithResponse request with arbitrary body returning *AddExceptionGroupDomainsResponse

func (*ClientWithResponses) AddExceptionGroupDomainsWithResponse

func (c *ClientWithResponses) AddExceptionGroupDomainsWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, body AddExceptionGroupDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExceptionGroupDomainsResponse, error)

func (*ClientWithResponses) AddPolicyExceptionGroupWithBodyWithResponse

func (c *ClientWithResponses) AddPolicyExceptionGroupWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddPolicyExceptionGroupResponse, error)

AddPolicyExceptionGroupWithBodyWithResponse request with arbitrary body returning *AddPolicyExceptionGroupResponse

func (*ClientWithResponses) AddPolicyExceptionGroupWithResponse

func (c *ClientWithResponses) AddPolicyExceptionGroupWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AddPolicyExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPolicyExceptionGroupResponse, error)

func (*ClientWithResponses) AllowAppBlockerCategoriesWithBodyWithResponse

func (c *ClientWithResponses) AllowAppBlockerCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowAppBlockerCategoriesResponse, error)

AllowAppBlockerCategoriesWithBodyWithResponse request with arbitrary body returning *AllowAppBlockerCategoriesResponse

func (*ClientWithResponses) AllowAppBlockerCategoriesWithResponse

func (c *ClientWithResponses) AllowAppBlockerCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowAppBlockerCategoriesResponse, error)

func (*ClientWithResponses) AllowCategoriesWithBodyWithResponse

func (c *ClientWithResponses) AllowCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowCategoriesResponse, error)

AllowCategoriesWithBodyWithResponse request with arbitrary body returning *AllowCategoriesResponse

func (*ClientWithResponses) AllowCategoriesWithResponse

func (c *ClientWithResponses) AllowCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowCategoriesResponse, error)

func (*ClientWithResponses) AllowCountriesWithBodyWithResponse

func (c *ClientWithResponses) AllowCountriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowCountriesResponse, error)

AllowCountriesWithBodyWithResponse request with arbitrary body returning *AllowCountriesResponse

func (*ClientWithResponses) AllowCountriesWithResponse

func (c *ClientWithResponses) AllowCountriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowCountriesResponse, error)

func (*ClientWithResponses) AllowMalwareCategoriesWithBodyWithResponse

func (c *ClientWithResponses) AllowMalwareCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowMalwareCategoriesResponse, error)

AllowMalwareCategoriesWithBodyWithResponse request with arbitrary body returning *AllowMalwareCategoriesResponse

func (*ClientWithResponses) AllowMalwareCategoriesWithResponse

func (c *ClientWithResponses) AllowMalwareCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowMalwareCategoriesResponse, error)

func (*ClientWithResponses) AllowTldsWithBodyWithResponse

func (c *ClientWithResponses) AllowTldsWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowTldsResponse, error)

AllowTldsWithBodyWithResponse request with arbitrary body returning *AllowTldsResponse

func (*ClientWithResponses) AllowTldsWithResponse

func (c *ClientWithResponses) AllowTldsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowTldsResponse, error)

func (*ClientWithResponses) BlockAppBlockerCategoriesWithBodyWithResponse

func (c *ClientWithResponses) BlockAppBlockerCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockAppBlockerCategoriesResponse, error)

BlockAppBlockerCategoriesWithBodyWithResponse request with arbitrary body returning *BlockAppBlockerCategoriesResponse

func (*ClientWithResponses) BlockAppBlockerCategoriesWithResponse

func (c *ClientWithResponses) BlockAppBlockerCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockAppBlockerCategoriesResponse, error)

func (*ClientWithResponses) BlockCategoriesWithBodyWithResponse

func (c *ClientWithResponses) BlockCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockCategoriesResponse, error)

BlockCategoriesWithBodyWithResponse request with arbitrary body returning *BlockCategoriesResponse

func (*ClientWithResponses) BlockCategoriesWithResponse

func (c *ClientWithResponses) BlockCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockCategoriesResponse, error)

func (*ClientWithResponses) BlockCountriesWithBodyWithResponse

func (c *ClientWithResponses) BlockCountriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockCountriesResponse, error)

BlockCountriesWithBodyWithResponse request with arbitrary body returning *BlockCountriesResponse

func (*ClientWithResponses) BlockCountriesWithResponse

func (c *ClientWithResponses) BlockCountriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockCountriesResponse, error)

func (*ClientWithResponses) BlockMalwareCategoriesWithBodyWithResponse

func (c *ClientWithResponses) BlockMalwareCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockMalwareCategoriesResponse, error)

BlockMalwareCategoriesWithBodyWithResponse request with arbitrary body returning *BlockMalwareCategoriesResponse

func (*ClientWithResponses) BlockMalwareCategoriesWithResponse

func (c *ClientWithResponses) BlockMalwareCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockMalwareCategoriesResponse, error)

func (*ClientWithResponses) BlockTldsWithBodyWithResponse

func (c *ClientWithResponses) BlockTldsWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockTldsResponse, error)

BlockTldsWithBodyWithResponse request with arbitrary body returning *BlockTldsResponse

func (*ClientWithResponses) BlockTldsWithResponse

func (c *ClientWithResponses) BlockTldsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockTldsResponse, error)

func (*ClientWithResponses) CreateExceptionGroupWithBodyWithResponse

func (c *ClientWithResponses) CreateExceptionGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExceptionGroupResponse, error)

CreateExceptionGroupWithBodyWithResponse request with arbitrary body returning *CreateExceptionGroupResponse

func (*ClientWithResponses) CreateExceptionGroupWithResponse

func (c *ClientWithResponses) CreateExceptionGroupWithResponse(ctx context.Context, body CreateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExceptionGroupResponse, error)

func (*ClientWithResponses) CreatePolicyWithBodyWithResponse

func (c *ClientWithResponses) CreatePolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePolicyResponse, error)

CreatePolicyWithBodyWithResponse request with arbitrary body returning *CreatePolicyResponse

func (*ClientWithResponses) CreatePolicyWithResponse

func (c *ClientWithResponses) CreatePolicyWithResponse(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePolicyResponse, error)

func (*ClientWithResponses) DeleteExceptionGroupWithResponse

func (c *ClientWithResponses) DeleteExceptionGroupWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*DeleteExceptionGroupResponse, error)

DeleteExceptionGroupWithResponse request returning *DeleteExceptionGroupResponse

func (*ClientWithResponses) DeletePolicyWithResponse

func (c *ClientWithResponses) DeletePolicyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)

DeletePolicyWithResponse request returning *DeletePolicyResponse

func (*ClientWithResponses) DisableDynamicDnsRedirectWithResponse

func (c *ClientWithResponses) DisableDynamicDnsRedirectWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*DisableDynamicDnsRedirectResponse, error)

DisableDynamicDnsRedirectWithResponse request returning *DisableDynamicDnsRedirectResponse

func (*ClientWithResponses) EnableDynamicDnsRedirectWithResponse

func (c *ClientWithResponses) EnableDynamicDnsRedirectWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*EnableDynamicDnsRedirectResponse, error)

EnableDynamicDnsRedirectWithResponse request returning *EnableDynamicDnsRedirectResponse

func (*ClientWithResponses) GetDynamicDnsRedirectWithResponse

func (c *ClientWithResponses) GetDynamicDnsRedirectWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*GetDynamicDnsRedirectResponse, error)

GetDynamicDnsRedirectWithResponse request returning *GetDynamicDnsRedirectResponse

func (*ClientWithResponses) GetPolicySettingsWithResponse

func (c *ClientWithResponses) GetPolicySettingsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*GetPolicySettingsResponse, error)

GetPolicySettingsWithResponse request returning *GetPolicySettingsResponse

func (*ClientWithResponses) GetPolicyWithResponse

func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

GetPolicyWithResponse request returning *GetPolicyResponse

func (*ClientWithResponses) GetTldWithResponse

func (c *ClientWithResponses) GetTldWithResponse(ctx context.Context, tldNameParameter TldNameParameter, reqEditors ...RequestEditorFn) (*GetTldResponse, error)

GetTldWithResponse request returning *GetTldResponse

func (*ClientWithResponses) ListAppBlockerCategoriesWithResponse

func (c *ClientWithResponses) ListAppBlockerCategoriesWithResponse(ctx context.Context, params *ListAppBlockerCategoriesParams, reqEditors ...RequestEditorFn) (*ListAppBlockerCategoriesResponse, error)

ListAppBlockerCategoriesWithResponse request returning *ListAppBlockerCategoriesResponse

func (*ClientWithResponses) ListAppBlockerCategoryMacrosWithResponse

func (c *ClientWithResponses) ListAppBlockerCategoryMacrosWithResponse(ctx context.Context, params *ListAppBlockerCategoryMacrosParams, reqEditors ...RequestEditorFn) (*ListAppBlockerCategoryMacrosResponse, error)

ListAppBlockerCategoryMacrosWithResponse request returning *ListAppBlockerCategoryMacrosResponse

func (*ClientWithResponses) ListBlockedAppBlockerCategoriesWithResponse

func (c *ClientWithResponses) ListBlockedAppBlockerCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedAppBlockerCategoriesParams, reqEditors ...RequestEditorFn) (*ListBlockedAppBlockerCategoriesResponse, error)

ListBlockedAppBlockerCategoriesWithResponse request returning *ListBlockedAppBlockerCategoriesResponse

func (*ClientWithResponses) ListBlockedCategoriesWithResponse

func (c *ClientWithResponses) ListBlockedCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedCategoriesParams, reqEditors ...RequestEditorFn) (*ListBlockedCategoriesResponse, error)

ListBlockedCategoriesWithResponse request returning *ListBlockedCategoriesResponse

func (*ClientWithResponses) ListBlockedCountriesWithResponse

func (c *ClientWithResponses) ListBlockedCountriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*ListBlockedCountriesResponse, error)

ListBlockedCountriesWithResponse request returning *ListBlockedCountriesResponse

func (*ClientWithResponses) ListBlockedMalwareCategoriesWithResponse

func (c *ClientWithResponses) ListBlockedMalwareCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedMalwareCategoriesParams, reqEditors ...RequestEditorFn) (*ListBlockedMalwareCategoriesResponse, error)

ListBlockedMalwareCategoriesWithResponse request returning *ListBlockedMalwareCategoriesResponse

func (*ClientWithResponses) ListBlockedTldsWithResponse

func (c *ClientWithResponses) ListBlockedTldsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*ListBlockedTldsResponse, error)

ListBlockedTldsWithResponse request returning *ListBlockedTldsResponse

func (*ClientWithResponses) ListCategoriesWithResponse

func (c *ClientWithResponses) ListCategoriesWithResponse(ctx context.Context, params *ListCategoriesParams, reqEditors ...RequestEditorFn) (*ListCategoriesResponse, error)

ListCategoriesWithResponse request returning *ListCategoriesResponse

func (*ClientWithResponses) ListCategoryMacrosWithResponse

func (c *ClientWithResponses) ListCategoryMacrosWithResponse(ctx context.Context, params *ListCategoryMacrosParams, reqEditors ...RequestEditorFn) (*ListCategoryMacrosResponse, error)

ListCategoryMacrosWithResponse request returning *ListCategoryMacrosResponse

func (*ClientWithResponses) ListContinentsWithResponse

func (c *ClientWithResponses) ListContinentsWithResponse(ctx context.Context, params *ListContinentsParams, reqEditors ...RequestEditorFn) (*ListContinentsResponse, error)

ListContinentsWithResponse request returning *ListContinentsResponse

func (*ClientWithResponses) ListCountriesWithResponse

func (c *ClientWithResponses) ListCountriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCountriesResponse, error)

ListCountriesWithResponse request returning *ListCountriesResponse

func (*ClientWithResponses) ListExceptionGroupDomainsWithResponse

func (c *ClientWithResponses) ListExceptionGroupDomainsWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*ListExceptionGroupDomainsResponse, error)

ListExceptionGroupDomainsWithResponse request returning *ListExceptionGroupDomainsResponse

func (*ClientWithResponses) ListExceptionGroupsWithResponse

func (c *ClientWithResponses) ListExceptionGroupsWithResponse(ctx context.Context, params *ListExceptionGroupsParams, reqEditors ...RequestEditorFn) (*ListExceptionGroupsResponse, error)

ListExceptionGroupsWithResponse request returning *ListExceptionGroupsResponse

func (*ClientWithResponses) ListMalwareCategoriesWithResponse

func (c *ClientWithResponses) ListMalwareCategoriesWithResponse(ctx context.Context, params *ListMalwareCategoriesParams, reqEditors ...RequestEditorFn) (*ListMalwareCategoriesResponse, error)

ListMalwareCategoriesWithResponse request returning *ListMalwareCategoriesResponse

func (*ClientWithResponses) ListMalwareCategoryMacrosWithResponse

func (c *ClientWithResponses) ListMalwareCategoryMacrosWithResponse(ctx context.Context, params *ListMalwareCategoryMacrosParams, reqEditors ...RequestEditorFn) (*ListMalwareCategoryMacrosResponse, error)

ListMalwareCategoryMacrosWithResponse request returning *ListMalwareCategoryMacrosResponse

func (*ClientWithResponses) ListPoliciesWithResponse

func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)

ListPoliciesWithResponse request returning *ListPoliciesResponse

func (*ClientWithResponses) ListPolicyExceptionGroupsWithResponse

func (c *ClientWithResponses) ListPolicyExceptionGroupsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*ListPolicyExceptionGroupsResponse, error)

ListPolicyExceptionGroupsWithResponse request returning *ListPolicyExceptionGroupsResponse

func (*ClientWithResponses) ListProtectionTemplatesWithResponse

func (c *ClientWithResponses) ListProtectionTemplatesWithResponse(ctx context.Context, params *ListProtectionTemplatesParams, reqEditors ...RequestEditorFn) (*ListProtectionTemplatesResponse, error)

ListProtectionTemplatesWithResponse request returning *ListProtectionTemplatesResponse

func (*ClientWithResponses) ListTemplateCategoriesWithResponse

func (c *ClientWithResponses) ListTemplateCategoriesWithResponse(ctx context.Context, templateIdParameter TemplateIdParameter, params *ListTemplateCategoriesParams, reqEditors ...RequestEditorFn) (*ListTemplateCategoriesResponse, error)

ListTemplateCategoriesWithResponse request returning *ListTemplateCategoriesResponse

func (*ClientWithResponses) ListTldMacrosWithResponse

func (c *ClientWithResponses) ListTldMacrosWithResponse(ctx context.Context, params *ListTldMacrosParams, reqEditors ...RequestEditorFn) (*ListTldMacrosResponse, error)

ListTldMacrosWithResponse request returning *ListTldMacrosResponse

func (*ClientWithResponses) ListTldsWithResponse

func (c *ClientWithResponses) ListTldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTldsResponse, error)

ListTldsWithResponse request returning *ListTldsResponse

func (*ClientWithResponses) RemoveAppBlockerCategoryBlockScheduleWithResponse

func (c *ClientWithResponses) RemoveAppBlockerCategoryBlockScheduleWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*RemoveAppBlockerCategoryBlockScheduleResponse, error)

RemoveAppBlockerCategoryBlockScheduleWithResponse request returning *RemoveAppBlockerCategoryBlockScheduleResponse

func (*ClientWithResponses) RemoveCategoryBlockScheduleWithResponse

func (c *ClientWithResponses) RemoveCategoryBlockScheduleWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*RemoveCategoryBlockScheduleResponse, error)

RemoveCategoryBlockScheduleWithResponse request returning *RemoveCategoryBlockScheduleResponse

func (*ClientWithResponses) RemoveExceptionGroupDomainWithResponse

func (c *ClientWithResponses) RemoveExceptionGroupDomainWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, reqEditors ...RequestEditorFn) (*RemoveExceptionGroupDomainResponse, error)

RemoveExceptionGroupDomainWithResponse request returning *RemoveExceptionGroupDomainResponse

func (*ClientWithResponses) RemoveMalwareCategoryBlockScheduleWithResponse

func (c *ClientWithResponses) RemoveMalwareCategoryBlockScheduleWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*RemoveMalwareCategoryBlockScheduleResponse, error)

RemoveMalwareCategoryBlockScheduleWithResponse request returning *RemoveMalwareCategoryBlockScheduleResponse

func (*ClientWithResponses) RemovePolicyExceptionGroupWithResponse

func (c *ClientWithResponses) RemovePolicyExceptionGroupWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*RemovePolicyExceptionGroupResponse, error)

RemovePolicyExceptionGroupWithResponse request returning *RemovePolicyExceptionGroupResponse

func (*ClientWithResponses) ScheduleAppBlockerCategoryBlockWithBodyWithResponse

func (c *ClientWithResponses) ScheduleAppBlockerCategoryBlockWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleAppBlockerCategoryBlockResponse, error)

ScheduleAppBlockerCategoryBlockWithBodyWithResponse request with arbitrary body returning *ScheduleAppBlockerCategoryBlockResponse

func (*ClientWithResponses) ScheduleAppBlockerCategoryBlockWithResponse

func (c *ClientWithResponses) ScheduleAppBlockerCategoryBlockWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleAppBlockerCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleAppBlockerCategoryBlockResponse, error)

func (*ClientWithResponses) ScheduleCategoryBlockWithBodyWithResponse

func (c *ClientWithResponses) ScheduleCategoryBlockWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleCategoryBlockResponse, error)

ScheduleCategoryBlockWithBodyWithResponse request with arbitrary body returning *ScheduleCategoryBlockResponse

func (*ClientWithResponses) ScheduleCategoryBlockWithResponse

func (c *ClientWithResponses) ScheduleCategoryBlockWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleCategoryBlockResponse, error)

func (*ClientWithResponses) ScheduleMalwareCategoryBlockWithBodyWithResponse

func (c *ClientWithResponses) ScheduleMalwareCategoryBlockWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleMalwareCategoryBlockResponse, error)

ScheduleMalwareCategoryBlockWithBodyWithResponse request with arbitrary body returning *ScheduleMalwareCategoryBlockResponse

func (*ClientWithResponses) ScheduleMalwareCategoryBlockWithResponse

func (c *ClientWithResponses) ScheduleMalwareCategoryBlockWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleMalwareCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleMalwareCategoryBlockResponse, error)

func (*ClientWithResponses) UpdateExceptionGroupDomainNoteWithBodyWithResponse

func (c *ClientWithResponses) UpdateExceptionGroupDomainNoteWithBodyWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupDomainNoteResponse, error)

UpdateExceptionGroupDomainNoteWithBodyWithResponse request with arbitrary body returning *UpdateExceptionGroupDomainNoteResponse

func (*ClientWithResponses) UpdateExceptionGroupDomainNoteWithResponse

func (c *ClientWithResponses) UpdateExceptionGroupDomainNoteWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, body UpdateExceptionGroupDomainNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupDomainNoteResponse, error)

func (*ClientWithResponses) UpdateExceptionGroupWithBodyWithResponse

func (c *ClientWithResponses) UpdateExceptionGroupWithBodyWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupResponse, error)

UpdateExceptionGroupWithBodyWithResponse request with arbitrary body returning *UpdateExceptionGroupResponse

func (*ClientWithResponses) UpdateExceptionGroupWithResponse

func (c *ClientWithResponses) UpdateExceptionGroupWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, body UpdateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupResponse, error)

func (*ClientWithResponses) UpdatePolicySettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdatePolicySettingsWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePolicySettingsResponse, error)

UpdatePolicySettingsWithBodyWithResponse request with arbitrary body returning *UpdatePolicySettingsResponse

func (*ClientWithResponses) UpdatePolicySettingsWithResponse

func (c *ClientWithResponses) UpdatePolicySettingsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body UpdatePolicySettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicySettingsResponse, error)

func (*ClientWithResponses) UpdatePolicyWithBodyWithResponse

func (c *ClientWithResponses) UpdatePolicyWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

UpdatePolicyWithBodyWithResponse request with arbitrary body returning *UpdatePolicyResponse

func (*ClientWithResponses) UpdatePolicyWithResponse

func (c *ClientWithResponses) UpdatePolicyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListAppBlockerCategoriesWithResponse request
	ListAppBlockerCategoriesWithResponse(ctx context.Context, params *ListAppBlockerCategoriesParams, reqEditors ...RequestEditorFn) (*ListAppBlockerCategoriesResponse, error)

	// ListAppBlockerCategoryMacrosWithResponse request
	ListAppBlockerCategoryMacrosWithResponse(ctx context.Context, params *ListAppBlockerCategoryMacrosParams, reqEditors ...RequestEditorFn) (*ListAppBlockerCategoryMacrosResponse, error)

	// ListCategoriesWithResponse request
	ListCategoriesWithResponse(ctx context.Context, params *ListCategoriesParams, reqEditors ...RequestEditorFn) (*ListCategoriesResponse, error)

	// ListCategoryMacrosWithResponse request
	ListCategoryMacrosWithResponse(ctx context.Context, params *ListCategoryMacrosParams, reqEditors ...RequestEditorFn) (*ListCategoryMacrosResponse, error)

	// ListContinentsWithResponse request
	ListContinentsWithResponse(ctx context.Context, params *ListContinentsParams, reqEditors ...RequestEditorFn) (*ListContinentsResponse, error)

	// ListCountriesWithResponse request
	ListCountriesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCountriesResponse, error)

	// ListExceptionGroupsWithResponse request
	ListExceptionGroupsWithResponse(ctx context.Context, params *ListExceptionGroupsParams, reqEditors ...RequestEditorFn) (*ListExceptionGroupsResponse, error)

	// CreateExceptionGroupWithBodyWithResponse request with any body
	CreateExceptionGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateExceptionGroupResponse, error)

	CreateExceptionGroupWithResponse(ctx context.Context, body CreateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateExceptionGroupResponse, error)

	// DeleteExceptionGroupWithResponse request
	DeleteExceptionGroupWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*DeleteExceptionGroupResponse, error)

	// UpdateExceptionGroupWithBodyWithResponse request with any body
	UpdateExceptionGroupWithBodyWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupResponse, error)

	UpdateExceptionGroupWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, body UpdateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupResponse, error)

	// ListExceptionGroupDomainsWithResponse request
	ListExceptionGroupDomainsWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*ListExceptionGroupDomainsResponse, error)

	// AddExceptionGroupDomainsWithBodyWithResponse request with any body
	AddExceptionGroupDomainsWithBodyWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddExceptionGroupDomainsResponse, error)

	AddExceptionGroupDomainsWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, body AddExceptionGroupDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExceptionGroupDomainsResponse, error)

	// RemoveExceptionGroupDomainWithResponse request
	RemoveExceptionGroupDomainWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, reqEditors ...RequestEditorFn) (*RemoveExceptionGroupDomainResponse, error)

	// UpdateExceptionGroupDomainNoteWithBodyWithResponse request with any body
	UpdateExceptionGroupDomainNoteWithBodyWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupDomainNoteResponse, error)

	UpdateExceptionGroupDomainNoteWithResponse(ctx context.Context, exceptionGroupIdParameter ExceptionGroupIdParameter, domainIdParameter DomainIdParameter, body UpdateExceptionGroupDomainNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupDomainNoteResponse, error)

	// ListMalwareCategoriesWithResponse request
	ListMalwareCategoriesWithResponse(ctx context.Context, params *ListMalwareCategoriesParams, reqEditors ...RequestEditorFn) (*ListMalwareCategoriesResponse, error)

	// ListMalwareCategoryMacrosWithResponse request
	ListMalwareCategoryMacrosWithResponse(ctx context.Context, params *ListMalwareCategoryMacrosParams, reqEditors ...RequestEditorFn) (*ListMalwareCategoryMacrosResponse, error)

	// ListPoliciesWithResponse request
	ListPoliciesWithResponse(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)

	// CreatePolicyWithBodyWithResponse request with any body
	CreatePolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePolicyResponse, error)

	CreatePolicyWithResponse(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePolicyResponse, error)

	// DeletePolicyWithResponse request
	DeletePolicyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)

	// GetPolicyWithResponse request
	GetPolicyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

	// UpdatePolicyWithBodyWithResponse request with any body
	UpdatePolicyWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

	UpdatePolicyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

	// AllowAppBlockerCategoriesWithBodyWithResponse request with any body
	AllowAppBlockerCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowAppBlockerCategoriesResponse, error)

	AllowAppBlockerCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowAppBlockerCategoriesResponse, error)

	// ListBlockedAppBlockerCategoriesWithResponse request
	ListBlockedAppBlockerCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedAppBlockerCategoriesParams, reqEditors ...RequestEditorFn) (*ListBlockedAppBlockerCategoriesResponse, error)

	// BlockAppBlockerCategoriesWithBodyWithResponse request with any body
	BlockAppBlockerCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockAppBlockerCategoriesResponse, error)

	BlockAppBlockerCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockAppBlockerCategoriesResponse, error)

	// ScheduleAppBlockerCategoryBlockWithBodyWithResponse request with any body
	ScheduleAppBlockerCategoryBlockWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleAppBlockerCategoryBlockResponse, error)

	ScheduleAppBlockerCategoryBlockWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleAppBlockerCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleAppBlockerCategoryBlockResponse, error)

	// RemoveAppBlockerCategoryBlockScheduleWithResponse request
	RemoveAppBlockerCategoryBlockScheduleWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*RemoveAppBlockerCategoryBlockScheduleResponse, error)

	// AllowCategoriesWithBodyWithResponse request with any body
	AllowCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowCategoriesResponse, error)

	AllowCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowCategoriesResponse, error)

	// ListBlockedCategoriesWithResponse request
	ListBlockedCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedCategoriesParams, reqEditors ...RequestEditorFn) (*ListBlockedCategoriesResponse, error)

	// BlockCategoriesWithBodyWithResponse request with any body
	BlockCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockCategoriesResponse, error)

	BlockCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockCategoriesResponse, error)

	// ScheduleCategoryBlockWithBodyWithResponse request with any body
	ScheduleCategoryBlockWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleCategoryBlockResponse, error)

	ScheduleCategoryBlockWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleCategoryBlockResponse, error)

	// RemoveCategoryBlockScheduleWithResponse request
	RemoveCategoryBlockScheduleWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*RemoveCategoryBlockScheduleResponse, error)

	// AllowCountriesWithBodyWithResponse request with any body
	AllowCountriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowCountriesResponse, error)

	AllowCountriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowCountriesResponse, error)

	// ListBlockedCountriesWithResponse request
	ListBlockedCountriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*ListBlockedCountriesResponse, error)

	// BlockCountriesWithBodyWithResponse request with any body
	BlockCountriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockCountriesResponse, error)

	BlockCountriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockCountriesResponse, error)

	// DisableDynamicDnsRedirectWithResponse request
	DisableDynamicDnsRedirectWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*DisableDynamicDnsRedirectResponse, error)

	// GetDynamicDnsRedirectWithResponse request
	GetDynamicDnsRedirectWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*GetDynamicDnsRedirectResponse, error)

	// EnableDynamicDnsRedirectWithResponse request
	EnableDynamicDnsRedirectWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*EnableDynamicDnsRedirectResponse, error)

	// ListPolicyExceptionGroupsWithResponse request
	ListPolicyExceptionGroupsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*ListPolicyExceptionGroupsResponse, error)

	// AddPolicyExceptionGroupWithBodyWithResponse request with any body
	AddPolicyExceptionGroupWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddPolicyExceptionGroupResponse, error)

	AddPolicyExceptionGroupWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AddPolicyExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPolicyExceptionGroupResponse, error)

	// RemovePolicyExceptionGroupWithResponse request
	RemovePolicyExceptionGroupWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, exceptionGroupIdParameter ExceptionGroupIdParameter, reqEditors ...RequestEditorFn) (*RemovePolicyExceptionGroupResponse, error)

	// AllowMalwareCategoriesWithBodyWithResponse request with any body
	AllowMalwareCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowMalwareCategoriesResponse, error)

	AllowMalwareCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowMalwareCategoriesResponse, error)

	// ListBlockedMalwareCategoriesWithResponse request
	ListBlockedMalwareCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, params *ListBlockedMalwareCategoriesParams, reqEditors ...RequestEditorFn) (*ListBlockedMalwareCategoriesResponse, error)

	// BlockMalwareCategoriesWithBodyWithResponse request with any body
	BlockMalwareCategoriesWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockMalwareCategoriesResponse, error)

	BlockMalwareCategoriesWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockMalwareCategoriesResponse, error)

	// ScheduleMalwareCategoryBlockWithBodyWithResponse request with any body
	ScheduleMalwareCategoryBlockWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleMalwareCategoryBlockResponse, error)

	ScheduleMalwareCategoryBlockWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body ScheduleMalwareCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleMalwareCategoryBlockResponse, error)

	// RemoveMalwareCategoryBlockScheduleWithResponse request
	RemoveMalwareCategoryBlockScheduleWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, schedulationIdParameter SchedulationIdParameter, reqEditors ...RequestEditorFn) (*RemoveMalwareCategoryBlockScheduleResponse, error)

	// GetPolicySettingsWithResponse request
	GetPolicySettingsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*GetPolicySettingsResponse, error)

	// UpdatePolicySettingsWithBodyWithResponse request with any body
	UpdatePolicySettingsWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePolicySettingsResponse, error)

	UpdatePolicySettingsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body UpdatePolicySettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicySettingsResponse, error)

	// AllowTldsWithBodyWithResponse request with any body
	AllowTldsWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllowTldsResponse, error)

	AllowTldsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body AllowTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowTldsResponse, error)

	// ListBlockedTldsWithResponse request
	ListBlockedTldsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, reqEditors ...RequestEditorFn) (*ListBlockedTldsResponse, error)

	// BlockTldsWithBodyWithResponse request with any body
	BlockTldsWithBodyWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BlockTldsResponse, error)

	BlockTldsWithResponse(ctx context.Context, policyIdParameter PolicyIdParameter, body BlockTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockTldsResponse, error)

	// ListProtectionTemplatesWithResponse request
	ListProtectionTemplatesWithResponse(ctx context.Context, params *ListProtectionTemplatesParams, reqEditors ...RequestEditorFn) (*ListProtectionTemplatesResponse, error)

	// ListTemplateCategoriesWithResponse request
	ListTemplateCategoriesWithResponse(ctx context.Context, templateIdParameter TemplateIdParameter, params *ListTemplateCategoriesParams, reqEditors ...RequestEditorFn) (*ListTemplateCategoriesResponse, error)

	// ListTldsWithResponse request
	ListTldsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTldsResponse, error)

	// ListTldMacrosWithResponse request
	ListTldMacrosWithResponse(ctx context.Context, params *ListTldMacrosParams, reqEditors ...RequestEditorFn) (*ListTldMacrosResponse, error)

	// GetTldWithResponse request
	GetTldWithResponse(ctx context.Context, tldNameParameter TldNameParameter, reqEditors ...RequestEditorFn) (*GetTldResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ContinentListResponse

type ContinentListResponse = []ContinentWithCountries

ContinentListResponse defines model for ContinentList.

type ContinentWithCountries

type ContinentWithCountries struct {
	Code      string    `json:"code"`
	Countries []Country `json:"countries"`
	Id        Uuid      `json:"id"`
	Name      string    `json:"name"`
}

ContinentWithCountries defines model for ContinentWithCountries.

type Country

type Country struct {
	Code        string `json:"code"`
	ContinentId Uuid   `json:"continentId"`
	Id          Uuid   `json:"id"`
	Name        string `json:"name"`
}

Country defines model for Country.

type CountryIdsRequestBody

type CountryIdsRequestBody struct {
	CountryIds []Uuid `json:"countryIds"`
}

CountryIdsRequestBody defines model for CountryIds.

type CountryListResponse

type CountryListResponse = []Country

CountryListResponse defines model for CountryList.

type CountryMultiStatus

type CountryMultiStatus = MultiStatusBlockedCountry

CountryMultiStatus defines model for CountryMultiStatus.

type CountryMultiStatusResponse

type CountryMultiStatusResponse = CountryMultiStatus

CountryMultiStatusResponse defines model for CountryMultiStatus.

type CreateExceptionGroupJSONRequestBody

type CreateExceptionGroupJSONRequestBody = ExceptionGroupCreation

CreateExceptionGroupJSONRequestBody defines body for CreateExceptionGroup for application/json ContentType.

type CreateExceptionGroupResponse

type CreateExceptionGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ExceptionGroupWithDomainsResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseCreateExceptionGroupResponse

func ParseCreateExceptionGroupResponse(rsp *http.Response) (*CreateExceptionGroupResponse, error)

ParseCreateExceptionGroupResponse parses an HTTP response from a CreateExceptionGroupWithResponse call

func (CreateExceptionGroupResponse) Status

Status returns HTTPResponse.Status

func (CreateExceptionGroupResponse) StatusCode

func (r CreateExceptionGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePolicyJSONRequestBody

type CreatePolicyJSONRequestBody = PolicyCreation

CreatePolicyJSONRequestBody defines body for CreatePolicy for application/json ContentType.

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *PolicyResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseCreatePolicyResponse

func ParseCreatePolicyResponse(rsp *http.Response) (*CreatePolicyResponse, error)

ParseCreatePolicyResponse parses an HTTP response from a CreatePolicyWithResponse call

func (CreatePolicyResponse) Status

func (r CreatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePolicyResponse) StatusCode

func (r CreatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteExceptionGroupResponse

type DeleteExceptionGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExceptionGroupResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseDeleteExceptionGroupResponse

func ParseDeleteExceptionGroupResponse(rsp *http.Response) (*DeleteExceptionGroupResponse, error)

ParseDeleteExceptionGroupResponse parses an HTTP response from a DeleteExceptionGroupWithResponse call

func (DeleteExceptionGroupResponse) Status

Status returns HTTPResponse.Status

func (DeleteExceptionGroupResponse) StatusCode

func (r DeleteExceptionGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePolicyResponse

type DeletePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseDeletePolicyResponse

func ParseDeletePolicyResponse(rsp *http.Response) (*DeletePolicyResponse, error)

ParseDeletePolicyResponse parses an HTTP response from a DeletePolicyWithResponse call

func (DeletePolicyResponse) Status

func (r DeletePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePolicyResponse) StatusCode

func (r DeletePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DisableDynamicDnsRedirectResponse

type DisableDynamicDnsRedirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseDisableDynamicDnsRedirectResponse

func ParseDisableDynamicDnsRedirectResponse(rsp *http.Response) (*DisableDynamicDnsRedirectResponse, error)

ParseDisableDynamicDnsRedirectResponse parses an HTTP response from a DisableDynamicDnsRedirectWithResponse call

func (DisableDynamicDnsRedirectResponse) Status

Status returns HTTPResponse.Status

func (DisableDynamicDnsRedirectResponse) StatusCode

func (r DisableDynamicDnsRedirectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Domain

type Domain struct {
	Id   Uuid    `json:"id"`
	Name string  `json:"name"`
	Note *string `json:"note"`
}

Domain defines model for Domain.

type DomainIdParameter

type DomainIdParameter = Uuid

DomainIdParameter defines model for DomainId.

type DomainInExceptionGroup

type DomainInExceptionGroup struct {
	DomainId         Uuid    `json:"domainId"`
	ExceptionGroupId Uuid    `json:"exceptionGroupId"`
	Note             *string `json:"note"`
}

DomainInExceptionGroup defines model for DomainInExceptionGroup.

type DomainInExceptionGroupListResponse

type DomainInExceptionGroupListResponse = []DomainInExceptionGroup

DomainInExceptionGroupListResponse defines model for DomainInExceptionGroupList.

type DomainInExceptionGroupResponse

type DomainInExceptionGroupResponse = DomainInExceptionGroup

DomainInExceptionGroupResponse defines model for DomainInExceptionGroup.

type DomainInput

type DomainInput struct {
	Domain string  `json:"domain"`
	Note   *string `json:"note,omitempty"`
}

DomainInput defines model for DomainInput.

type DomainListResponse

type DomainListResponse = []Domain

DomainListResponse defines model for DomainList.

type DomainNoteRequestBody

type DomainNoteRequestBody struct {
	Note *string `json:"note"`
}

DomainNoteRequestBody defines model for DomainNote.

type DomainsRequestBody

type DomainsRequestBody struct {
	Domains []DomainInput `json:"domains"`
}

DomainsRequestBody defines model for Domains.

type DynamicDnsRedirect

type DynamicDnsRedirect struct {
	IsEnabled bool `json:"isEnabled"`
}

DynamicDnsRedirect defines model for DynamicDnsRedirect.

type DynamicDnsRedirectResponse

type DynamicDnsRedirectResponse = DynamicDnsRedirect

DynamicDnsRedirectResponse defines model for DynamicDnsRedirect.

type EnableDynamicDnsRedirectResponse

type EnableDynamicDnsRedirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseEnableDynamicDnsRedirectResponse

func ParseEnableDynamicDnsRedirectResponse(rsp *http.Response) (*EnableDynamicDnsRedirectResponse, error)

ParseEnableDynamicDnsRedirectResponse parses an HTTP response from a EnableDynamicDnsRedirectWithResponse call

func (EnableDynamicDnsRedirectResponse) Status

Status returns HTTPResponse.Status

func (EnableDynamicDnsRedirectResponse) StatusCode

func (r EnableDynamicDnsRedirectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExceptionGroup

type ExceptionGroup struct {
	Id             Uuid               `json:"id"`
	Name           string             `json:"name"`
	OrganizationId Uuid               `json:"organizationId"`
	Type           ExceptionGroupType `json:"type"`
}

ExceptionGroup defines model for ExceptionGroup.

type ExceptionGroupCreation

type ExceptionGroupCreation struct {
	Domains        *[]string                  `json:"domains,omitempty"`
	Name           string                     `json:"name"`
	OrganizationId *Uuid                      `json:"organizationId,omitempty"`
	Type           ExceptionGroupCreationType `json:"type"`
}

ExceptionGroupCreation defines model for ExceptionGroupCreation.

type ExceptionGroupCreationRequestBody

type ExceptionGroupCreationRequestBody = ExceptionGroupCreation

ExceptionGroupCreationRequestBody defines model for ExceptionGroupCreation.

type ExceptionGroupCreationType

type ExceptionGroupCreationType string

ExceptionGroupCreationType defines model for ExceptionGroupCreation.Type.

const (
	ExceptionGroupCreationTypeAllowlist ExceptionGroupCreationType = "allowlist"
	ExceptionGroupCreationTypeBlocklist ExceptionGroupCreationType = "blocklist"
)

Defines values for ExceptionGroupCreationType.

type ExceptionGroupIdParameter

type ExceptionGroupIdParameter = Uuid

ExceptionGroupIdParameter defines model for ExceptionGroupId.

type ExceptionGroupIdRequestBody

type ExceptionGroupIdRequestBody struct {
	ExceptionGroupId Uuid `json:"exceptionGroupId"`
}

ExceptionGroupIdRequestBody defines model for ExceptionGroupId.

type ExceptionGroupListResponse

type ExceptionGroupListResponse = []ExceptionGroupWithDomains

ExceptionGroupListResponse defines model for ExceptionGroupList.

type ExceptionGroupListWithPoliciesItem

type ExceptionGroupListWithPoliciesItem struct {
	// contains filtered or unexported fields
}

ExceptionGroupListWithPoliciesItem defines model for ExceptionGroupListWithPoliciesItem.

func (ExceptionGroupListWithPoliciesItem) AsExceptionGroupWithDomains

func (t ExceptionGroupListWithPoliciesItem) AsExceptionGroupWithDomains() (ExceptionGroupWithDomains, error)

AsExceptionGroupWithDomains returns the union data inside the ExceptionGroupListWithPoliciesItem as a ExceptionGroupWithDomains

func (ExceptionGroupListWithPoliciesItem) AsExceptionGroupWithDomainsAndPolicies

func (t ExceptionGroupListWithPoliciesItem) AsExceptionGroupWithDomainsAndPolicies() (ExceptionGroupWithDomainsAndPolicies, error)

AsExceptionGroupWithDomainsAndPolicies returns the union data inside the ExceptionGroupListWithPoliciesItem as a ExceptionGroupWithDomainsAndPolicies

func (*ExceptionGroupListWithPoliciesItem) FromExceptionGroupWithDomains

func (t *ExceptionGroupListWithPoliciesItem) FromExceptionGroupWithDomains(v ExceptionGroupWithDomains) error

FromExceptionGroupWithDomains overwrites any union data inside the ExceptionGroupListWithPoliciesItem as the provided ExceptionGroupWithDomains

func (*ExceptionGroupListWithPoliciesItem) FromExceptionGroupWithDomainsAndPolicies

func (t *ExceptionGroupListWithPoliciesItem) FromExceptionGroupWithDomainsAndPolicies(v ExceptionGroupWithDomainsAndPolicies) error

FromExceptionGroupWithDomainsAndPolicies overwrites any union data inside the ExceptionGroupListWithPoliciesItem as the provided ExceptionGroupWithDomainsAndPolicies

func (ExceptionGroupListWithPoliciesItem) MarshalJSON

func (t ExceptionGroupListWithPoliciesItem) MarshalJSON() ([]byte, error)

func (*ExceptionGroupListWithPoliciesItem) MergeExceptionGroupWithDomains

func (t *ExceptionGroupListWithPoliciesItem) MergeExceptionGroupWithDomains(v ExceptionGroupWithDomains) error

MergeExceptionGroupWithDomains performs a merge with any union data inside the ExceptionGroupListWithPoliciesItem, using the provided ExceptionGroupWithDomains

func (*ExceptionGroupListWithPoliciesItem) MergeExceptionGroupWithDomainsAndPolicies

func (t *ExceptionGroupListWithPoliciesItem) MergeExceptionGroupWithDomainsAndPolicies(v ExceptionGroupWithDomainsAndPolicies) error

MergeExceptionGroupWithDomainsAndPolicies performs a merge with any union data inside the ExceptionGroupListWithPoliciesItem, using the provided ExceptionGroupWithDomainsAndPolicies

func (*ExceptionGroupListWithPoliciesItem) UnmarshalJSON

func (t *ExceptionGroupListWithPoliciesItem) UnmarshalJSON(b []byte) error

type ExceptionGroupListWithPoliciesResponse

type ExceptionGroupListWithPoliciesResponse = []ExceptionGroupListWithPoliciesItem

ExceptionGroupListWithPoliciesResponse defines model for ExceptionGroupListWithPolicies.

type ExceptionGroupResponse

type ExceptionGroupResponse = ExceptionGroup

ExceptionGroupResponse defines model for ExceptionGroup.

type ExceptionGroupType

type ExceptionGroupType string

ExceptionGroupType defines model for ExceptionGroup.Type.

const (
	ExceptionGroupTypeAllowlist ExceptionGroupType = "allowlist"
	ExceptionGroupTypeBlocklist ExceptionGroupType = "blocklist"
)

Defines values for ExceptionGroupType.

type ExceptionGroupUpdate

type ExceptionGroupUpdate struct {
	Name *string                   `json:"name,omitempty"`
	Type *ExceptionGroupUpdateType `json:"type,omitempty"`
}

ExceptionGroupUpdate defines model for ExceptionGroupUpdate.

type ExceptionGroupUpdateRequestBody

type ExceptionGroupUpdateRequestBody = ExceptionGroupUpdate

ExceptionGroupUpdateRequestBody defines model for ExceptionGroupUpdate.

type ExceptionGroupUpdateType

type ExceptionGroupUpdateType string

ExceptionGroupUpdateType defines model for ExceptionGroupUpdate.Type.

const (
	ExceptionGroupUpdateTypeAllowlist ExceptionGroupUpdateType = "allowlist"
	ExceptionGroupUpdateTypeBlocklist ExceptionGroupUpdateType = "blocklist"
)

Defines values for ExceptionGroupUpdateType.

type ExceptionGroupWithDomains

type ExceptionGroupWithDomains struct {
	Domains        []Domain                      `json:"domains"`
	Id             Uuid                          `json:"id"`
	Name           string                        `json:"name"`
	OrganizationId Uuid                          `json:"organizationId"`
	Type           ExceptionGroupWithDomainsType `json:"type"`
}

ExceptionGroupWithDomains defines model for ExceptionGroupWithDomains.

type ExceptionGroupWithDomainsAndPolicies

type ExceptionGroupWithDomainsAndPolicies struct {
	Domains        []Domain                                 `json:"domains"`
	Id             Uuid                                     `json:"id"`
	IsHidden       bool                                     `json:"isHidden"`
	Name           string                                   `json:"name"`
	OrganizationId Uuid                                     `json:"organizationId"`
	Policies       []Policy                                 `json:"policies"`
	Type           ExceptionGroupWithDomainsAndPoliciesType `json:"type"`
}

ExceptionGroupWithDomainsAndPolicies defines model for ExceptionGroupWithDomainsAndPolicies.

type ExceptionGroupWithDomainsAndPoliciesType

type ExceptionGroupWithDomainsAndPoliciesType string

ExceptionGroupWithDomainsAndPoliciesType defines model for ExceptionGroupWithDomainsAndPolicies.Type.

const (
	Allowlist ExceptionGroupWithDomainsAndPoliciesType = "allowlist"
	Blocklist ExceptionGroupWithDomainsAndPoliciesType = "blocklist"
)

Defines values for ExceptionGroupWithDomainsAndPoliciesType.

type ExceptionGroupWithDomainsResponse

type ExceptionGroupWithDomainsResponse = ExceptionGroupWithDomains

ExceptionGroupWithDomainsResponse defines model for ExceptionGroupWithDomains.

type ExceptionGroupWithDomainsType

type ExceptionGroupWithDomainsType string

ExceptionGroupWithDomainsType defines model for ExceptionGroupWithDomains.Type.

const (
	ExceptionGroupWithDomainsTypeAllowlist ExceptionGroupWithDomainsType = "allowlist"
	ExceptionGroupWithDomainsTypeBlocklist ExceptionGroupWithDomainsType = "blocklist"
)

Defines values for ExceptionGroupWithDomainsType.

type FlashStartErrorBody

type FlashStartErrorBody struct {
	Code    string       `json:"code"`
	Details *interface{} `json:"details,omitempty"`
	Message *string      `json:"message,omitempty"`
}

FlashStartErrorBody defines model for FlashStartErrorBody.

type ForbiddenResponse

type ForbiddenResponse = FlashStartErrorBody

ForbiddenResponse defines model for Forbidden.

type GetDynamicDnsRedirectResponse

type GetDynamicDnsRedirectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DynamicDnsRedirectResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseGetDynamicDnsRedirectResponse

func ParseGetDynamicDnsRedirectResponse(rsp *http.Response) (*GetDynamicDnsRedirectResponse, error)

ParseGetDynamicDnsRedirectResponse parses an HTTP response from a GetDynamicDnsRedirectWithResponse call

func (GetDynamicDnsRedirectResponse) Status

Status returns HTTPResponse.Status

func (GetDynamicDnsRedirectResponse) StatusCode

func (r GetDynamicDnsRedirectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPolicyResponse

type GetPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseGetPolicyResponse

func ParseGetPolicyResponse(rsp *http.Response) (*GetPolicyResponse, error)

ParseGetPolicyResponse parses an HTTP response from a GetPolicyWithResponse call

func (GetPolicyResponse) Status

func (r GetPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (GetPolicyResponse) StatusCode

func (r GetPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPolicySettingsResponse

type GetPolicySettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicySettingsResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseGetPolicySettingsResponse

func ParseGetPolicySettingsResponse(rsp *http.Response) (*GetPolicySettingsResponse, error)

ParseGetPolicySettingsResponse parses an HTTP response from a GetPolicySettingsWithResponse call

func (GetPolicySettingsResponse) Status

func (r GetPolicySettingsResponse) Status() string

Status returns HTTPResponse.Status

func (GetPolicySettingsResponse) StatusCode

func (r GetPolicySettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTldResponse

type GetTldResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TldResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseGetTldResponse

func ParseGetTldResponse(rsp *http.Response) (*GetTldResponse, error)

ParseGetTldResponse parses an HTTP response from a GetTldWithResponse call

func (GetTldResponse) Status

func (r GetTldResponse) Status() string

Status returns HTTPResponse.Status

func (GetTldResponse) StatusCode

func (r GetTldResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IncludeAssociatedPoliciesParameter

type IncludeAssociatedPoliciesParameter string

IncludeAssociatedPoliciesParameter defines model for IncludeAssociatedPolicies.

const (
	IncludeAssociatedPoliciesParameterFalse IncludeAssociatedPoliciesParameter = "false"
	IncludeAssociatedPoliciesParameterTrue  IncludeAssociatedPoliciesParameter = "true"
)

Defines values for IncludeAssociatedPoliciesParameter.

type IncludeNetworkCountParameter

type IncludeNetworkCountParameter string

IncludeNetworkCountParameter defines model for IncludeNetworkCount.

const (
	IncludeNetworkCountParameterFalse IncludeNetworkCountParameter = "false"
	IncludeNetworkCountParameterTrue  IncludeNetworkCountParameter = "true"
)

Defines values for IncludeNetworkCountParameter.

type LangParameter

type LangParameter = string

LangParameter defines model for Lang.

type ListAppBlockerCategoriesParams

type ListAppBlockerCategoriesParams struct {
	OrganizationIdParameter *OrganizationIdParameter `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	LangParameter           *LangParameter           `form:"lang,omitempty" json:"lang,omitempty"`
}

ListAppBlockerCategoriesParams defines parameters for ListAppBlockerCategories.

type ListAppBlockerCategoriesResponse

type ListAppBlockerCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListAppBlockerCategoriesResponse

func ParseListAppBlockerCategoriesResponse(rsp *http.Response) (*ListAppBlockerCategoriesResponse, error)

ParseListAppBlockerCategoriesResponse parses an HTTP response from a ListAppBlockerCategoriesWithResponse call

func (ListAppBlockerCategoriesResponse) Status

Status returns HTTPResponse.Status

func (ListAppBlockerCategoriesResponse) StatusCode

func (r ListAppBlockerCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAppBlockerCategoryMacrosParams

type ListAppBlockerCategoryMacrosParams struct {
	OrganizationIdParameter *OrganizationIdParameter `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	LangParameter           *LangParameter           `form:"lang,omitempty" json:"lang,omitempty"`
}

ListAppBlockerCategoryMacrosParams defines parameters for ListAppBlockerCategoryMacros.

type ListAppBlockerCategoryMacrosResponse

type ListAppBlockerCategoryMacrosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MacroCategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListAppBlockerCategoryMacrosResponse

func ParseListAppBlockerCategoryMacrosResponse(rsp *http.Response) (*ListAppBlockerCategoryMacrosResponse, error)

ParseListAppBlockerCategoryMacrosResponse parses an HTTP response from a ListAppBlockerCategoryMacrosWithResponse call

func (ListAppBlockerCategoryMacrosResponse) Status

Status returns HTTPResponse.Status

func (ListAppBlockerCategoryMacrosResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListBlockedAppBlockerCategoriesParams

type ListBlockedAppBlockerCategoriesParams struct {
	LangParameter *LangParameter `form:"lang,omitempty" json:"lang,omitempty"`
}

ListBlockedAppBlockerCategoriesParams defines parameters for ListBlockedAppBlockerCategories.

type ListBlockedAppBlockerCategoriesResponse

type ListBlockedAppBlockerCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BlockedCategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListBlockedAppBlockerCategoriesResponse

func ParseListBlockedAppBlockerCategoriesResponse(rsp *http.Response) (*ListBlockedAppBlockerCategoriesResponse, error)

ParseListBlockedAppBlockerCategoriesResponse parses an HTTP response from a ListBlockedAppBlockerCategoriesWithResponse call

func (ListBlockedAppBlockerCategoriesResponse) Status

Status returns HTTPResponse.Status

func (ListBlockedAppBlockerCategoriesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListBlockedCategoriesParams

type ListBlockedCategoriesParams struct {
	LangParameter *LangParameter `form:"lang,omitempty" json:"lang,omitempty"`
}

ListBlockedCategoriesParams defines parameters for ListBlockedCategories.

type ListBlockedCategoriesResponse

type ListBlockedCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BlockedCategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListBlockedCategoriesResponse

func ParseListBlockedCategoriesResponse(rsp *http.Response) (*ListBlockedCategoriesResponse, error)

ParseListBlockedCategoriesResponse parses an HTTP response from a ListBlockedCategoriesWithResponse call

func (ListBlockedCategoriesResponse) Status

Status returns HTTPResponse.Status

func (ListBlockedCategoriesResponse) StatusCode

func (r ListBlockedCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBlockedCountriesResponse

type ListBlockedCountriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CountryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListBlockedCountriesResponse

func ParseListBlockedCountriesResponse(rsp *http.Response) (*ListBlockedCountriesResponse, error)

ParseListBlockedCountriesResponse parses an HTTP response from a ListBlockedCountriesWithResponse call

func (ListBlockedCountriesResponse) Status

Status returns HTTPResponse.Status

func (ListBlockedCountriesResponse) StatusCode

func (r ListBlockedCountriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBlockedMalwareCategoriesParams

type ListBlockedMalwareCategoriesParams struct {
	LangParameter *LangParameter `form:"lang,omitempty" json:"lang,omitempty"`
}

ListBlockedMalwareCategoriesParams defines parameters for ListBlockedMalwareCategories.

type ListBlockedMalwareCategoriesResponse

type ListBlockedMalwareCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BlockedCategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListBlockedMalwareCategoriesResponse

func ParseListBlockedMalwareCategoriesResponse(rsp *http.Response) (*ListBlockedMalwareCategoriesResponse, error)

ParseListBlockedMalwareCategoriesResponse parses an HTTP response from a ListBlockedMalwareCategoriesWithResponse call

func (ListBlockedMalwareCategoriesResponse) Status

Status returns HTTPResponse.Status

func (ListBlockedMalwareCategoriesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListBlockedTldsResponse

type ListBlockedTldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BlockedTldListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListBlockedTldsResponse

func ParseListBlockedTldsResponse(rsp *http.Response) (*ListBlockedTldsResponse, error)

ParseListBlockedTldsResponse parses an HTTP response from a ListBlockedTldsWithResponse call

func (ListBlockedTldsResponse) Status

func (r ListBlockedTldsResponse) Status() string

Status returns HTTPResponse.Status

func (ListBlockedTldsResponse) StatusCode

func (r ListBlockedTldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCategoriesParams

type ListCategoriesParams struct {
	OrganizationIdParameter *OrganizationIdParameter `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	LangParameter           *LangParameter           `form:"lang,omitempty" json:"lang,omitempty"`
}

ListCategoriesParams defines parameters for ListCategories.

type ListCategoriesResponse

type ListCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListCategoriesResponse

func ParseListCategoriesResponse(rsp *http.Response) (*ListCategoriesResponse, error)

ParseListCategoriesResponse parses an HTTP response from a ListCategoriesWithResponse call

func (ListCategoriesResponse) Status

func (r ListCategoriesResponse) Status() string

Status returns HTTPResponse.Status

func (ListCategoriesResponse) StatusCode

func (r ListCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCategoryMacrosParams

type ListCategoryMacrosParams struct {
	OrganizationIdParameter *OrganizationIdParameter `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	LangParameter           *LangParameter           `form:"lang,omitempty" json:"lang,omitempty"`
}

ListCategoryMacrosParams defines parameters for ListCategoryMacros.

type ListCategoryMacrosResponse

type ListCategoryMacrosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MacroCategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListCategoryMacrosResponse

func ParseListCategoryMacrosResponse(rsp *http.Response) (*ListCategoryMacrosResponse, error)

ParseListCategoryMacrosResponse parses an HTTP response from a ListCategoryMacrosWithResponse call

func (ListCategoryMacrosResponse) Status

Status returns HTTPResponse.Status

func (ListCategoryMacrosResponse) StatusCode

func (r ListCategoryMacrosResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListContinentsParams

type ListContinentsParams struct {
	LangParameter *LangParameter `form:"lang,omitempty" json:"lang,omitempty"`
}

ListContinentsParams defines parameters for ListContinents.

type ListContinentsResponse

type ListContinentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ContinentListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListContinentsResponse

func ParseListContinentsResponse(rsp *http.Response) (*ListContinentsResponse, error)

ParseListContinentsResponse parses an HTTP response from a ListContinentsWithResponse call

func (ListContinentsResponse) Status

func (r ListContinentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListContinentsResponse) StatusCode

func (r ListContinentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCountriesResponse

type ListCountriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CountryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListCountriesResponse

func ParseListCountriesResponse(rsp *http.Response) (*ListCountriesResponse, error)

ParseListCountriesResponse parses an HTTP response from a ListCountriesWithResponse call

func (ListCountriesResponse) Status

func (r ListCountriesResponse) Status() string

Status returns HTTPResponse.Status

func (ListCountriesResponse) StatusCode

func (r ListCountriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListExceptionGroupDomainsResponse

type ListExceptionGroupDomainsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DomainListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListExceptionGroupDomainsResponse

func ParseListExceptionGroupDomainsResponse(rsp *http.Response) (*ListExceptionGroupDomainsResponse, error)

ParseListExceptionGroupDomainsResponse parses an HTTP response from a ListExceptionGroupDomainsWithResponse call

func (ListExceptionGroupDomainsResponse) Status

Status returns HTTPResponse.Status

func (ListExceptionGroupDomainsResponse) StatusCode

func (r ListExceptionGroupDomainsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListExceptionGroupsParams

type ListExceptionGroupsParams struct {
	OrganizationIdParameter            *OrganizationIdParameter                            `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	IncludeAssociatedPoliciesParameter *ListExceptionGroupsParamsIncludeAssociatedPolicies `form:"includeAssociatedPolicies,omitempty" json:"includeAssociatedPolicies,omitempty"`
}

ListExceptionGroupsParams defines parameters for ListExceptionGroups.

type ListExceptionGroupsParamsIncludeAssociatedPolicies

type ListExceptionGroupsParamsIncludeAssociatedPolicies string

ListExceptionGroupsParamsIncludeAssociatedPolicies defines parameters for ListExceptionGroups.

const (
	ListExceptionGroupsParamsIncludeAssociatedPoliciesFalse ListExceptionGroupsParamsIncludeAssociatedPolicies = "false"
	ListExceptionGroupsParamsIncludeAssociatedPoliciesTrue  ListExceptionGroupsParamsIncludeAssociatedPolicies = "true"
)

Defines values for ListExceptionGroupsParamsIncludeAssociatedPolicies.

type ListExceptionGroupsResponse

type ListExceptionGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExceptionGroupListWithPoliciesResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListExceptionGroupsResponse

func ParseListExceptionGroupsResponse(rsp *http.Response) (*ListExceptionGroupsResponse, error)

ParseListExceptionGroupsResponse parses an HTTP response from a ListExceptionGroupsWithResponse call

func (ListExceptionGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListExceptionGroupsResponse) StatusCode

func (r ListExceptionGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMalwareCategoriesParams

type ListMalwareCategoriesParams struct {
	OrganizationIdParameter *OrganizationIdParameter `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	LangParameter           *LangParameter           `form:"lang,omitempty" json:"lang,omitempty"`
}

ListMalwareCategoriesParams defines parameters for ListMalwareCategories.

type ListMalwareCategoriesResponse

type ListMalwareCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListMalwareCategoriesResponse

func ParseListMalwareCategoriesResponse(rsp *http.Response) (*ListMalwareCategoriesResponse, error)

ParseListMalwareCategoriesResponse parses an HTTP response from a ListMalwareCategoriesWithResponse call

func (ListMalwareCategoriesResponse) Status

Status returns HTTPResponse.Status

func (ListMalwareCategoriesResponse) StatusCode

func (r ListMalwareCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMalwareCategoryMacrosParams

type ListMalwareCategoryMacrosParams struct {
	OrganizationIdParameter *OrganizationIdParameter `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	LangParameter           *LangParameter           `form:"lang,omitempty" json:"lang,omitempty"`
}

ListMalwareCategoryMacrosParams defines parameters for ListMalwareCategoryMacros.

type ListMalwareCategoryMacrosResponse

type ListMalwareCategoryMacrosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MacroCategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListMalwareCategoryMacrosResponse

func ParseListMalwareCategoryMacrosResponse(rsp *http.Response) (*ListMalwareCategoryMacrosResponse, error)

ParseListMalwareCategoryMacrosResponse parses an HTTP response from a ListMalwareCategoryMacrosWithResponse call

func (ListMalwareCategoryMacrosResponse) Status

Status returns HTTPResponse.Status

func (ListMalwareCategoryMacrosResponse) StatusCode

func (r ListMalwareCategoryMacrosResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPoliciesParams

type ListPoliciesParams struct {
	OrganizationIdParameter      *OrganizationIdParameter               `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	IncludeNetworkCountParameter *ListPoliciesParamsIncludeNetworkCount `form:"includeNetworkCount,omitempty" json:"includeNetworkCount,omitempty"`
}

ListPoliciesParams defines parameters for ListPolicies.

type ListPoliciesParamsIncludeNetworkCount

type ListPoliciesParamsIncludeNetworkCount string

ListPoliciesParamsIncludeNetworkCount defines parameters for ListPolicies.

const (
	ListPoliciesParamsIncludeNetworkCountFalse ListPoliciesParamsIncludeNetworkCount = "false"
	ListPoliciesParamsIncludeNetworkCountTrue  ListPoliciesParamsIncludeNetworkCount = "true"
)

Defines values for ListPoliciesParamsIncludeNetworkCount.

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListPoliciesResponse

func ParseListPoliciesResponse(rsp *http.Response) (*ListPoliciesResponse, error)

ParseListPoliciesResponse parses an HTTP response from a ListPoliciesWithResponse call

func (ListPoliciesResponse) Status

func (r ListPoliciesResponse) Status() string

Status returns HTTPResponse.Status

func (ListPoliciesResponse) StatusCode

func (r ListPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPolicyExceptionGroupsResponse

type ListPolicyExceptionGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExceptionGroupListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListPolicyExceptionGroupsResponse

func ParseListPolicyExceptionGroupsResponse(rsp *http.Response) (*ListPolicyExceptionGroupsResponse, error)

ParseListPolicyExceptionGroupsResponse parses an HTTP response from a ListPolicyExceptionGroupsWithResponse call

func (ListPolicyExceptionGroupsResponse) Status

Status returns HTTPResponse.Status

func (ListPolicyExceptionGroupsResponse) StatusCode

func (r ListPolicyExceptionGroupsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProtectionTemplatesParams

type ListProtectionTemplatesParams struct {
	OrganizationIdParameter *OrganizationIdParameter `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	LangParameter           *LangParameter           `form:"lang,omitempty" json:"lang,omitempty"`
}

ListProtectionTemplatesParams defines parameters for ListProtectionTemplates.

type ListProtectionTemplatesResponse

type ListProtectionTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TemplateListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListProtectionTemplatesResponse

func ParseListProtectionTemplatesResponse(rsp *http.Response) (*ListProtectionTemplatesResponse, error)

ParseListProtectionTemplatesResponse parses an HTTP response from a ListProtectionTemplatesWithResponse call

func (ListProtectionTemplatesResponse) Status

Status returns HTTPResponse.Status

func (ListProtectionTemplatesResponse) StatusCode

func (r ListProtectionTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTemplateCategoriesParams

type ListTemplateCategoriesParams struct {
	OrganizationIdParameter *OrganizationIdParameter `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	LangParameter           *LangParameter           `form:"lang,omitempty" json:"lang,omitempty"`
}

ListTemplateCategoriesParams defines parameters for ListTemplateCategories.

type ListTemplateCategoriesResponse

type ListTemplateCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CategoryListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListTemplateCategoriesResponse

func ParseListTemplateCategoriesResponse(rsp *http.Response) (*ListTemplateCategoriesResponse, error)

ParseListTemplateCategoriesResponse parses an HTTP response from a ListTemplateCategoriesWithResponse call

func (ListTemplateCategoriesResponse) Status

Status returns HTTPResponse.Status

func (ListTemplateCategoriesResponse) StatusCode

func (r ListTemplateCategoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTldMacrosParams

type ListTldMacrosParams struct {
	LangParameter *LangParameter `form:"lang,omitempty" json:"lang,omitempty"`
}

ListTldMacrosParams defines parameters for ListTldMacros.

type ListTldMacrosResponse

type ListTldMacrosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MacroTldListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListTldMacrosResponse

func ParseListTldMacrosResponse(rsp *http.Response) (*ListTldMacrosResponse, error)

ParseListTldMacrosResponse parses an HTTP response from a ListTldMacrosWithResponse call

func (ListTldMacrosResponse) Status

func (r ListTldMacrosResponse) Status() string

Status returns HTTPResponse.Status

func (ListTldMacrosResponse) StatusCode

func (r ListTldMacrosResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTldsResponse

type ListTldsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TldListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseListTldsResponse

func ParseListTldsResponse(rsp *http.Response) (*ListTldsResponse, error)

ParseListTldsResponse parses an HTTP response from a ListTldsWithResponse call

func (ListTldsResponse) Status

func (r ListTldsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTldsResponse) StatusCode

func (r ListTldsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MacroCategoryListResponse

type MacroCategoryListResponse = []MacroCategoryWithCategories

MacroCategoryListResponse defines model for MacroCategoryList.

type MacroCategoryWithCategories

type MacroCategoryWithCategories struct {
	Categories       []Category                                  `json:"categories"`
	Id               Uuid                                        `json:"id"`
	Name             string                                      `json:"name"`
	ProtectionModule MacroCategoryWithCategoriesProtectionModule `json:"protectionModule"`
}

MacroCategoryWithCategories defines model for MacroCategoryWithCategories.

type MacroCategoryWithCategoriesProtectionModule

type MacroCategoryWithCategoriesProtectionModule string

MacroCategoryWithCategoriesProtectionModule defines model for MacroCategoryWithCategories.ProtectionModule.

const (
	AppBlocker        MacroCategoryWithCategoriesProtectionModule = "app_blocker"
	ContentFilter     MacroCategoryWithCategoriesProtectionModule = "content_filter"
	MalwareProtection MacroCategoryWithCategoriesProtectionModule = "malware_protection"
)

Defines values for MacroCategoryWithCategoriesProtectionModule.

type MacroTldListResponse

type MacroTldListResponse = []MacroTldWithTlds

MacroTldListResponse defines model for MacroTldList.

type MacroTldWithTlds

type MacroTldWithTlds struct {
	Code string `json:"code"`
	Id   Uuid   `json:"id"`
	Name string `json:"name"`
	Tlds []Tld  `json:"tlds"`
}

MacroTldWithTlds defines model for MacroTldWithTlds.

type MissingCredentialsErrorBody

type MissingCredentialsErrorBody struct {
	Message string `json:"message"`
}

MissingCredentialsErrorBody defines model for MissingCredentialsErrorBody.

type MultiStatusBlockedCountry

type MultiStatusBlockedCountry struct {
	Errors    []FlashStartErrorBody `json:"errors"`
	Successes []BlockedCountry      `json:"successes"`
}

MultiStatusBlockedCountry defines model for MultiStatusBlockedCountry.

type MultiStatusCategoryBlockedOnPolicy

type MultiStatusCategoryBlockedOnPolicy struct {
	Errors    []FlashStartErrorBody     `json:"errors"`
	Successes []CategoryBlockedOnPolicy `json:"successes"`
}

MultiStatusCategoryBlockedOnPolicy defines model for MultiStatusCategoryBlockedOnPolicy.

type MultiStatusTldBlockedOnPolicy

type MultiStatusTldBlockedOnPolicy struct {
	Errors    []FlashStartErrorBody `json:"errors"`
	Successes []TldBlockedOnPolicy  `json:"successes"`
}

MultiStatusTldBlockedOnPolicy defines model for MultiStatusTldBlockedOnPolicy.

type NotFoundResponse

type NotFoundResponse = FlashStartErrorBody

NotFoundResponse defines model for NotFound.

type OrganizationIdParameter

type OrganizationIdParameter = Uuid

OrganizationIdParameter defines model for OrganizationId.

type Policy

type Policy struct {
	Id             Uuid   `json:"id"`
	IsLimited      bool   `json:"isLimited"`
	IsShared       bool   `json:"isShared"`
	Name           string `json:"name"`
	OrganizationId Uuid   `json:"organizationId"`
}

Policy defines model for Policy.

type PolicyCreation

type PolicyCreation struct {
	IsLimited      bool   `json:"isLimited"`
	IsShared       *bool  `json:"isShared,omitempty"`
	Name           string `json:"name"`
	OrganizationId *Uuid  `json:"organizationId,omitempty"`
	TemplateId     *Uuid  `json:"templateId,omitempty"`
}

PolicyCreation defines model for PolicyCreation.

type PolicyCreationRequestBody

type PolicyCreationRequestBody = PolicyCreation

PolicyCreationRequestBody defines model for PolicyCreation.

type PolicyExceptionGroup

type PolicyExceptionGroup struct {
	ExceptionGroupId Uuid `json:"exceptionGroupId"`
	PolicyId         Uuid `json:"policyId"`
}

PolicyExceptionGroup defines model for PolicyExceptionGroup.

type PolicyExceptionGroupResponse

type PolicyExceptionGroupResponse = PolicyExceptionGroup

PolicyExceptionGroupResponse defines model for PolicyExceptionGroup.

type PolicyIdParameter

type PolicyIdParameter = Uuid

PolicyIdParameter defines model for PolicyId.

type PolicyListItem

type PolicyListItem struct {
	// contains filtered or unexported fields
}

PolicyListItem defines model for PolicyListItem.

func (PolicyListItem) AsPolicy

func (t PolicyListItem) AsPolicy() (Policy, error)

AsPolicy returns the union data inside the PolicyListItem as a Policy

func (PolicyListItem) AsPolicyWithNetworks

func (t PolicyListItem) AsPolicyWithNetworks() (PolicyWithNetworks, error)

AsPolicyWithNetworks returns the union data inside the PolicyListItem as a PolicyWithNetworks

func (*PolicyListItem) FromPolicy

func (t *PolicyListItem) FromPolicy(v Policy) error

FromPolicy overwrites any union data inside the PolicyListItem as the provided Policy

func (*PolicyListItem) FromPolicyWithNetworks

func (t *PolicyListItem) FromPolicyWithNetworks(v PolicyWithNetworks) error

FromPolicyWithNetworks overwrites any union data inside the PolicyListItem as the provided PolicyWithNetworks

func (PolicyListItem) MarshalJSON

func (t PolicyListItem) MarshalJSON() ([]byte, error)

func (*PolicyListItem) MergePolicy

func (t *PolicyListItem) MergePolicy(v Policy) error

MergePolicy performs a merge with any union data inside the PolicyListItem, using the provided Policy

func (*PolicyListItem) MergePolicyWithNetworks

func (t *PolicyListItem) MergePolicyWithNetworks(v PolicyWithNetworks) error

MergePolicyWithNetworks performs a merge with any union data inside the PolicyListItem, using the provided PolicyWithNetworks

func (*PolicyListItem) UnmarshalJSON

func (t *PolicyListItem) UnmarshalJSON(b []byte) error

type PolicyListResponse

type PolicyListResponse = []PolicyListItem

PolicyListResponse defines model for PolicyList.

type PolicyResponse

type PolicyResponse = Policy

PolicyResponse defines model for Policy.

type PolicySettings

type PolicySettings struct {
	BingSafeSearchEnabled       bool `json:"bingSafeSearchEnabled"`
	DuckduckgoSafeSearchEnabled bool `json:"duckduckgoSafeSearchEnabled"`
	GoogleSafeSearchEnabled     bool `json:"googleSafeSearchEnabled"`
	IpBlockingEnabled           bool `json:"ipBlockingEnabled"`
	YoutubeSafeSearchEnabled    bool `json:"youtubeSafeSearchEnabled"`
}

PolicySettings defines model for PolicySettings.

type PolicySettingsResponse

type PolicySettingsResponse = PolicySettings

PolicySettingsResponse defines model for PolicySettings.

type PolicySettingsUpdate

type PolicySettingsUpdate struct {
	BingSafeSearchEnabled       *bool `json:"bingSafeSearchEnabled,omitempty"`
	DuckduckgoSafeSearchEnabled *bool `json:"duckduckgoSafeSearchEnabled,omitempty"`
	GoogleSafeSearchEnabled     *bool `json:"googleSafeSearchEnabled,omitempty"`
	IpBlockingEnabled           *bool `json:"ipBlockingEnabled,omitempty"`
	YoutubeSafeSearchEnabled    *bool `json:"youtubeSafeSearchEnabled,omitempty"`
}

PolicySettingsUpdate defines model for PolicySettingsUpdate.

type PolicySettingsUpdateRequestBody

type PolicySettingsUpdateRequestBody = PolicySettingsUpdate

PolicySettingsUpdateRequestBody defines model for PolicySettingsUpdate.

type PolicyUpdate

type PolicyUpdate struct {
	IsLimited *bool   `json:"isLimited,omitempty"`
	IsShared  *bool   `json:"isShared,omitempty"`
	Name      *string `json:"name,omitempty"`
}

PolicyUpdate defines model for PolicyUpdate.

type PolicyUpdateRequestBody

type PolicyUpdateRequestBody = PolicyUpdate

PolicyUpdateRequestBody defines model for PolicyUpdate.

type PolicyWithNetworks

type PolicyWithNetworks struct {
	Id             Uuid          `json:"id"`
	IsLimited      bool          `json:"isLimited"`
	IsShared       bool          `json:"isShared"`
	Name           string        `json:"name"`
	Networks       []BaseNetwork `json:"networks"`
	OrganizationId Uuid          `json:"organizationId"`
}

PolicyWithNetworks defines model for PolicyWithNetworks.

type RemoveAppBlockerCategoryBlockScheduleResponse

type RemoveAppBlockerCategoryBlockScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CategoryScheduleResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseRemoveAppBlockerCategoryBlockScheduleResponse

func ParseRemoveAppBlockerCategoryBlockScheduleResponse(rsp *http.Response) (*RemoveAppBlockerCategoryBlockScheduleResponse, error)

ParseRemoveAppBlockerCategoryBlockScheduleResponse parses an HTTP response from a RemoveAppBlockerCategoryBlockScheduleWithResponse call

func (RemoveAppBlockerCategoryBlockScheduleResponse) Status

Status returns HTTPResponse.Status

func (RemoveAppBlockerCategoryBlockScheduleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemoveCategoryBlockScheduleResponse

type RemoveCategoryBlockScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CategoryScheduleResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseRemoveCategoryBlockScheduleResponse

func ParseRemoveCategoryBlockScheduleResponse(rsp *http.Response) (*RemoveCategoryBlockScheduleResponse, error)

ParseRemoveCategoryBlockScheduleResponse parses an HTTP response from a RemoveCategoryBlockScheduleWithResponse call

func (RemoveCategoryBlockScheduleResponse) Status

Status returns HTTPResponse.Status

func (RemoveCategoryBlockScheduleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemoveExceptionGroupDomainResponse

type RemoveExceptionGroupDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DomainInExceptionGroupResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseRemoveExceptionGroupDomainResponse

func ParseRemoveExceptionGroupDomainResponse(rsp *http.Response) (*RemoveExceptionGroupDomainResponse, error)

ParseRemoveExceptionGroupDomainResponse parses an HTTP response from a RemoveExceptionGroupDomainWithResponse call

func (RemoveExceptionGroupDomainResponse) Status

Status returns HTTPResponse.Status

func (RemoveExceptionGroupDomainResponse) StatusCode

func (r RemoveExceptionGroupDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveMalwareCategoryBlockScheduleResponse

type RemoveMalwareCategoryBlockScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CategoryScheduleResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseRemoveMalwareCategoryBlockScheduleResponse

func ParseRemoveMalwareCategoryBlockScheduleResponse(rsp *http.Response) (*RemoveMalwareCategoryBlockScheduleResponse, error)

ParseRemoveMalwareCategoryBlockScheduleResponse parses an HTTP response from a RemoveMalwareCategoryBlockScheduleWithResponse call

func (RemoveMalwareCategoryBlockScheduleResponse) Status

Status returns HTTPResponse.Status

func (RemoveMalwareCategoryBlockScheduleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemovePolicyExceptionGroupResponse

type RemovePolicyExceptionGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyExceptionGroupResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON500      *ServerErrorResponse
}

func ParseRemovePolicyExceptionGroupResponse

func ParseRemovePolicyExceptionGroupResponse(rsp *http.Response) (*RemovePolicyExceptionGroupResponse, error)

ParseRemovePolicyExceptionGroupResponse parses an HTTP response from a RemovePolicyExceptionGroupWithResponse call

func (RemovePolicyExceptionGroupResponse) Status

Status returns HTTPResponse.Status

func (RemovePolicyExceptionGroupResponse) StatusCode

func (r RemovePolicyExceptionGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SchedulationIdParameter

type SchedulationIdParameter = Uuid

SchedulationIdParameter defines model for SchedulationId.

type ScheduleAppBlockerCategoryBlockJSONRequestBody

type ScheduleAppBlockerCategoryBlockJSONRequestBody = CategoryScheduleRequest

ScheduleAppBlockerCategoryBlockJSONRequestBody defines body for ScheduleAppBlockerCategoryBlock for application/json ContentType.

type ScheduleAppBlockerCategoryBlockResponse

type ScheduleAppBlockerCategoryBlockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CategoryScheduleListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseScheduleAppBlockerCategoryBlockResponse

func ParseScheduleAppBlockerCategoryBlockResponse(rsp *http.Response) (*ScheduleAppBlockerCategoryBlockResponse, error)

ParseScheduleAppBlockerCategoryBlockResponse parses an HTTP response from a ScheduleAppBlockerCategoryBlockWithResponse call

func (ScheduleAppBlockerCategoryBlockResponse) Status

Status returns HTTPResponse.Status

func (ScheduleAppBlockerCategoryBlockResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ScheduleCategoryBlockJSONRequestBody

type ScheduleCategoryBlockJSONRequestBody = CategoryScheduleRequest

ScheduleCategoryBlockJSONRequestBody defines body for ScheduleCategoryBlock for application/json ContentType.

type ScheduleCategoryBlockResponse

type ScheduleCategoryBlockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CategoryScheduleListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseScheduleCategoryBlockResponse

func ParseScheduleCategoryBlockResponse(rsp *http.Response) (*ScheduleCategoryBlockResponse, error)

ParseScheduleCategoryBlockResponse parses an HTTP response from a ScheduleCategoryBlockWithResponse call

func (ScheduleCategoryBlockResponse) Status

Status returns HTTPResponse.Status

func (ScheduleCategoryBlockResponse) StatusCode

func (r ScheduleCategoryBlockResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScheduleMalwareCategoryBlockJSONRequestBody

type ScheduleMalwareCategoryBlockJSONRequestBody = CategoryScheduleRequest

ScheduleMalwareCategoryBlockJSONRequestBody defines body for ScheduleMalwareCategoryBlock for application/json ContentType.

type ScheduleMalwareCategoryBlockResponse

type ScheduleMalwareCategoryBlockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CategoryScheduleListResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseScheduleMalwareCategoryBlockResponse

func ParseScheduleMalwareCategoryBlockResponse(rsp *http.Response) (*ScheduleMalwareCategoryBlockResponse, error)

ParseScheduleMalwareCategoryBlockResponse parses an HTTP response from a ScheduleMalwareCategoryBlockWithResponse call

func (ScheduleMalwareCategoryBlockResponse) Status

Status returns HTTPResponse.Status

func (ScheduleMalwareCategoryBlockResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ServerErrorResponse

type ServerErrorResponse = FlashStartErrorBody

ServerErrorResponse defines model for ServerError.

type TemplateIdParameter

type TemplateIdParameter = Uuid

TemplateIdParameter defines model for TemplateId.

type TemplateListResponse

type TemplateListResponse = []TemplateWithConfigData

TemplateListResponse defines model for TemplateList.

type TemplateWithConfigData

type TemplateWithConfigData struct {
	Categories []Category                       `json:"categories"`
	Id         Uuid                             `json:"id"`
	Name       string                           `json:"name"`
	Settings   []TemplateWithConfigDataSettings `json:"settings"`
	Type       TemplateWithConfigDataType       `json:"type"`
}

TemplateWithConfigData defines model for TemplateWithConfigData.

type TemplateWithConfigDataSettings

type TemplateWithConfigDataSettings string

TemplateWithConfigDataSettings defines model for TemplateWithConfigData.Settings.

const (
	BingSafesearch       TemplateWithConfigDataSettings = "bing_safesearch"
	DuckduckgoSafesearch TemplateWithConfigDataSettings = "duckduckgo_safesearch"
	GoogleSafesearch     TemplateWithConfigDataSettings = "google_safesearch"
	IpBlocking           TemplateWithConfigDataSettings = "ip_blocking"
	YoutubeSafesearch    TemplateWithConfigDataSettings = "youtube_safesearch"
)

Defines values for TemplateWithConfigDataSettings.

type TemplateWithConfigDataType

type TemplateWithConfigDataType string

TemplateWithConfigDataType defines model for TemplateWithConfigData.Type.

const (
	MalwareContents TemplateWithConfigDataType = "malware_contents"
	MalwareFreeTime TemplateWithConfigDataType = "malware_free_time"
	MalwareThreats  TemplateWithConfigDataType = "malware_threats"
)

Defines values for TemplateWithConfigDataType.

type TimeBlock

type TimeBlock struct {
	Day  int       `json:"day"`
	From time.Time `json:"from"`
	To   time.Time `json:"to"`
}

TimeBlock defines model for TimeBlock.

type TimeBlockRequest

type TimeBlockRequest struct {
	Day  int    `json:"day"`
	From string `json:"from"`
	To   string `json:"to"`
}

TimeBlockRequest defines model for TimeBlockRequest.

type Tld

type Tld struct {
	Id  Uuid   `json:"id"`
	Tld string `json:"tld"`
}

Tld defines model for Tld.

type TldBlockedOnPolicy

type TldBlockedOnPolicy struct {
	Id       Uuid   `json:"id"`
	PolicyId Uuid   `json:"policyId"`
	Tld      string `json:"tld"`
	TldId    Uuid   `json:"tldId"`
}

TldBlockedOnPolicy defines model for TldBlockedOnPolicy.

type TldIdsRequestBody

type TldIdsRequestBody struct {
	TldIds []Uuid `json:"tldIds"`
}

TldIdsRequestBody defines model for TldIds.

type TldListResponse

type TldListResponse = []Tld

TldListResponse defines model for TldList.

type TldMultiStatus

type TldMultiStatus = MultiStatusTldBlockedOnPolicy

TldMultiStatus defines model for TldMultiStatus.

type TldMultiStatusResponse

type TldMultiStatusResponse = TldMultiStatus

TldMultiStatusResponse defines model for TldMultiStatus.

type TldNameParameter

type TldNameParameter = string

TldNameParameter defines model for TldName.

type TldResponse

type TldResponse = Tld

TldResponse defines model for Tld.

type UnauthorizedResponse

type UnauthorizedResponse struct {
	// contains filtered or unexported fields
}

UnauthorizedResponse defines model for Unauthorized.

func (UnauthorizedResponse) AsFlashStartErrorBody

func (t UnauthorizedResponse) AsFlashStartErrorBody() (FlashStartErrorBody, error)

AsFlashStartErrorBody returns the union data inside the UnauthorizedResponse as a FlashStartErrorBody

func (UnauthorizedResponse) AsMissingCredentialsErrorBody

func (t UnauthorizedResponse) AsMissingCredentialsErrorBody() (MissingCredentialsErrorBody, error)

AsMissingCredentialsErrorBody returns the union data inside the UnauthorizedResponse as a MissingCredentialsErrorBody

func (*UnauthorizedResponse) FromFlashStartErrorBody

func (t *UnauthorizedResponse) FromFlashStartErrorBody(v FlashStartErrorBody) error

FromFlashStartErrorBody overwrites any union data inside the UnauthorizedResponse as the provided FlashStartErrorBody

func (*UnauthorizedResponse) FromMissingCredentialsErrorBody

func (t *UnauthorizedResponse) FromMissingCredentialsErrorBody(v MissingCredentialsErrorBody) error

FromMissingCredentialsErrorBody overwrites any union data inside the UnauthorizedResponse as the provided MissingCredentialsErrorBody

func (UnauthorizedResponse) MarshalJSON

func (t UnauthorizedResponse) MarshalJSON() ([]byte, error)

func (*UnauthorizedResponse) MergeFlashStartErrorBody

func (t *UnauthorizedResponse) MergeFlashStartErrorBody(v FlashStartErrorBody) error

MergeFlashStartErrorBody performs a merge with any union data inside the UnauthorizedResponse, using the provided FlashStartErrorBody

func (*UnauthorizedResponse) MergeMissingCredentialsErrorBody

func (t *UnauthorizedResponse) MergeMissingCredentialsErrorBody(v MissingCredentialsErrorBody) error

MergeMissingCredentialsErrorBody performs a merge with any union data inside the UnauthorizedResponse, using the provided MissingCredentialsErrorBody

func (*UnauthorizedResponse) UnmarshalJSON

func (t *UnauthorizedResponse) UnmarshalJSON(b []byte) error

type UpdateExceptionGroupDomainNoteJSONBody

type UpdateExceptionGroupDomainNoteJSONBody struct {
	Note *string `json:"note"`
}

UpdateExceptionGroupDomainNoteJSONBody defines parameters for UpdateExceptionGroupDomainNote.

type UpdateExceptionGroupDomainNoteJSONRequestBody

type UpdateExceptionGroupDomainNoteJSONRequestBody UpdateExceptionGroupDomainNoteJSONBody

UpdateExceptionGroupDomainNoteJSONRequestBody defines body for UpdateExceptionGroupDomainNote for application/json ContentType.

type UpdateExceptionGroupDomainNoteResponse

type UpdateExceptionGroupDomainNoteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DomainInExceptionGroupResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseUpdateExceptionGroupDomainNoteResponse

func ParseUpdateExceptionGroupDomainNoteResponse(rsp *http.Response) (*UpdateExceptionGroupDomainNoteResponse, error)

ParseUpdateExceptionGroupDomainNoteResponse parses an HTTP response from a UpdateExceptionGroupDomainNoteWithResponse call

func (UpdateExceptionGroupDomainNoteResponse) Status

Status returns HTTPResponse.Status

func (UpdateExceptionGroupDomainNoteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateExceptionGroupJSONRequestBody

type UpdateExceptionGroupJSONRequestBody = ExceptionGroupUpdate

UpdateExceptionGroupJSONRequestBody defines body for UpdateExceptionGroup for application/json ContentType.

type UpdateExceptionGroupResponse

type UpdateExceptionGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExceptionGroupResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseUpdateExceptionGroupResponse

func ParseUpdateExceptionGroupResponse(rsp *http.Response) (*UpdateExceptionGroupResponse, error)

ParseUpdateExceptionGroupResponse parses an HTTP response from a UpdateExceptionGroupWithResponse call

func (UpdateExceptionGroupResponse) Status

Status returns HTTPResponse.Status

func (UpdateExceptionGroupResponse) StatusCode

func (r UpdateExceptionGroupResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePolicyJSONRequestBody

type UpdatePolicyJSONRequestBody = PolicyUpdate

UpdatePolicyJSONRequestBody defines body for UpdatePolicy for application/json ContentType.

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicyResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseUpdatePolicyResponse

func ParseUpdatePolicyResponse(rsp *http.Response) (*UpdatePolicyResponse, error)

ParseUpdatePolicyResponse parses an HTTP response from a UpdatePolicyWithResponse call

func (UpdatePolicyResponse) Status

func (r UpdatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePolicyResponse) StatusCode

func (r UpdatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePolicySettingsJSONRequestBody

type UpdatePolicySettingsJSONRequestBody = PolicySettingsUpdate

UpdatePolicySettingsJSONRequestBody defines body for UpdatePolicySettings for application/json ContentType.

type UpdatePolicySettingsResponse

type UpdatePolicySettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PolicySettingsResponse
	JSON401      *UnauthorizedResponse
	JSON403      *ForbiddenResponse
	JSON404      *NotFoundResponse
	JSON422      *ValidationErrorResponse
	JSON500      *ServerErrorResponse
}

func ParseUpdatePolicySettingsResponse

func ParseUpdatePolicySettingsResponse(rsp *http.Response) (*UpdatePolicySettingsResponse, error)

ParseUpdatePolicySettingsResponse parses an HTTP response from a UpdatePolicySettingsWithResponse call

func (UpdatePolicySettingsResponse) Status

Status returns HTTPResponse.Status

func (UpdatePolicySettingsResponse) StatusCode

func (r UpdatePolicySettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Uuid

type Uuid = openapi_types.UUID

Uuid defines model for Uuid.

type ValidationErrorResponse

type ValidationErrorResponse = FlashStartErrorBody

ValidationErrorResponse defines model for ValidationError.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL