protection

package
v8.11.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 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, exceptionGroupId openapi_types.UUID, body AddExceptionGroupDomainsJSONRequestBody) (*http.Request, error)

NewAddExceptionGroupDomainsRequest calls the generic AddExceptionGroupDomains builder with application/json body

func NewAddExceptionGroupDomainsRequestWithBody

func NewAddExceptionGroupDomainsRequestWithBody(server string, exceptionGroupId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewAddExceptionGroupDomainsRequestWithBody generates requests for AddExceptionGroupDomains with any type of body

func NewAddPolicyExceptionGroupRequest

func NewAddPolicyExceptionGroupRequest(server string, policyId openapi_types.UUID, body AddPolicyExceptionGroupJSONRequestBody) (*http.Request, error)

NewAddPolicyExceptionGroupRequest calls the generic AddPolicyExceptionGroup builder with application/json body

func NewAddPolicyExceptionGroupRequestWithBody

func NewAddPolicyExceptionGroupRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewAddPolicyExceptionGroupRequestWithBody generates requests for AddPolicyExceptionGroup with any type of body

func NewAllowAppBlockerCategoriesRequest

func NewAllowAppBlockerCategoriesRequest(server string, policyId openapi_types.UUID, body AllowAppBlockerCategoriesJSONRequestBody) (*http.Request, error)

NewAllowAppBlockerCategoriesRequest calls the generic AllowAppBlockerCategories builder with application/json body

func NewAllowAppBlockerCategoriesRequestWithBody

func NewAllowAppBlockerCategoriesRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewAllowAppBlockerCategoriesRequestWithBody generates requests for AllowAppBlockerCategories with any type of body

func NewAllowCategoriesRequest

func NewAllowCategoriesRequest(server string, policyId openapi_types.UUID, body AllowCategoriesJSONRequestBody) (*http.Request, error)

NewAllowCategoriesRequest calls the generic AllowCategories builder with application/json body

func NewAllowCategoriesRequestWithBody

func NewAllowCategoriesRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewAllowCategoriesRequestWithBody generates requests for AllowCategories with any type of body

func NewAllowCountriesRequest

func NewAllowCountriesRequest(server string, policyId openapi_types.UUID, body AllowCountriesJSONRequestBody) (*http.Request, error)

NewAllowCountriesRequest calls the generic AllowCountries builder with application/json body

func NewAllowCountriesRequestWithBody

func NewAllowCountriesRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewAllowCountriesRequestWithBody generates requests for AllowCountries with any type of body

func NewAllowMalwareCategoriesRequest

func NewAllowMalwareCategoriesRequest(server string, policyId openapi_types.UUID, body AllowMalwareCategoriesJSONRequestBody) (*http.Request, error)

NewAllowMalwareCategoriesRequest calls the generic AllowMalwareCategories builder with application/json body

func NewAllowMalwareCategoriesRequestWithBody

func NewAllowMalwareCategoriesRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewAllowMalwareCategoriesRequestWithBody generates requests for AllowMalwareCategories with any type of body

func NewAllowTldsRequest

func NewAllowTldsRequest(server string, policyId openapi_types.UUID, body AllowTldsJSONRequestBody) (*http.Request, error)

NewAllowTldsRequest calls the generic AllowTlds builder with application/json body

func NewAllowTldsRequestWithBody

func NewAllowTldsRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewAllowTldsRequestWithBody generates requests for AllowTlds with any type of body

func NewBlockAppBlockerCategoriesRequest

func NewBlockAppBlockerCategoriesRequest(server string, policyId openapi_types.UUID, body BlockAppBlockerCategoriesJSONRequestBody) (*http.Request, error)

NewBlockAppBlockerCategoriesRequest calls the generic BlockAppBlockerCategories builder with application/json body

func NewBlockAppBlockerCategoriesRequestWithBody

func NewBlockAppBlockerCategoriesRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewBlockAppBlockerCategoriesRequestWithBody generates requests for BlockAppBlockerCategories with any type of body

func NewBlockCategoriesRequest

func NewBlockCategoriesRequest(server string, policyId openapi_types.UUID, body BlockCategoriesJSONRequestBody) (*http.Request, error)

NewBlockCategoriesRequest calls the generic BlockCategories builder with application/json body

func NewBlockCategoriesRequestWithBody

func NewBlockCategoriesRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewBlockCategoriesRequestWithBody generates requests for BlockCategories with any type of body

func NewBlockCountriesRequest

func NewBlockCountriesRequest(server string, policyId openapi_types.UUID, body BlockCountriesJSONRequestBody) (*http.Request, error)

NewBlockCountriesRequest calls the generic BlockCountries builder with application/json body

func NewBlockCountriesRequestWithBody

func NewBlockCountriesRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewBlockCountriesRequestWithBody generates requests for BlockCountries with any type of body

func NewBlockMalwareCategoriesRequest

func NewBlockMalwareCategoriesRequest(server string, policyId openapi_types.UUID, body BlockMalwareCategoriesJSONRequestBody) (*http.Request, error)

NewBlockMalwareCategoriesRequest calls the generic BlockMalwareCategories builder with application/json body

func NewBlockMalwareCategoriesRequestWithBody

func NewBlockMalwareCategoriesRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewBlockMalwareCategoriesRequestWithBody generates requests for BlockMalwareCategories with any type of body

func NewBlockTldsRequest

func NewBlockTldsRequest(server string, policyId openapi_types.UUID, body BlockTldsJSONRequestBody) (*http.Request, error)

NewBlockTldsRequest calls the generic BlockTlds builder with application/json body

func NewBlockTldsRequestWithBody

func NewBlockTldsRequestWithBody(server string, policyId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID) (*http.Request, error)

NewDeleteExceptionGroupRequest generates requests for DeleteExceptionGroup

func NewDeletePolicyRequest

func NewDeletePolicyRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewDeletePolicyRequest generates requests for DeletePolicy

func NewDisableDynamicDnsRedirectRequest

func NewDisableDynamicDnsRedirectRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewDisableDynamicDnsRedirectRequest generates requests for DisableDynamicDnsRedirect

func NewEnableDynamicDnsRedirectRequest

func NewEnableDynamicDnsRedirectRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewEnableDynamicDnsRedirectRequest generates requests for EnableDynamicDnsRedirect

func NewGetDynamicDnsRedirectRequest

func NewGetDynamicDnsRedirectRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewGetDynamicDnsRedirectRequest generates requests for GetDynamicDnsRedirect

func NewGetPolicyRequest

func NewGetPolicyRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewGetPolicyRequest generates requests for GetPolicy

func NewGetPolicySettingsRequest

func NewGetPolicySettingsRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewGetPolicySettingsRequest generates requests for GetPolicySettings

func NewGetTldRequest

func NewGetTldRequest(server string, tldName string) (*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, policyId openapi_types.UUID) (*http.Request, error)

NewListBlockedAppBlockerCategoriesRequest generates requests for ListBlockedAppBlockerCategories

func NewListBlockedCategoriesRequest

func NewListBlockedCategoriesRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewListBlockedCategoriesRequest generates requests for ListBlockedCategories

func NewListBlockedCountriesRequest

func NewListBlockedCountriesRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewListBlockedCountriesRequest generates requests for ListBlockedCountries

func NewListBlockedMalwareCategoriesRequest

func NewListBlockedMalwareCategoriesRequest(server string, policyId openapi_types.UUID) (*http.Request, error)

NewListBlockedMalwareCategoriesRequest generates requests for ListBlockedMalwareCategories

func NewListBlockedTldsRequest

func NewListBlockedTldsRequest(server string, policyId openapi_types.UUID) (*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, exceptionGroupId openapi_types.UUID) (*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, policyId openapi_types.UUID) (*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, templateId openapi_types.UUID, 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, policyId openapi_types.UUID, schedulationId openapi_types.UUID) (*http.Request, error)

NewRemoveAppBlockerCategoryBlockScheduleRequest generates requests for RemoveAppBlockerCategoryBlockSchedule

func NewRemoveCategoryBlockScheduleRequest

func NewRemoveCategoryBlockScheduleRequest(server string, policyId openapi_types.UUID, schedulationId openapi_types.UUID) (*http.Request, error)

NewRemoveCategoryBlockScheduleRequest generates requests for RemoveCategoryBlockSchedule

func NewRemoveExceptionGroupDomainRequest

func NewRemoveExceptionGroupDomainRequest(server string, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID) (*http.Request, error)

NewRemoveExceptionGroupDomainRequest generates requests for RemoveExceptionGroupDomain

func NewRemoveMalwareCategoryBlockScheduleRequest

func NewRemoveMalwareCategoryBlockScheduleRequest(server string, policyId openapi_types.UUID, schedulationId openapi_types.UUID) (*http.Request, error)

NewRemoveMalwareCategoryBlockScheduleRequest generates requests for RemoveMalwareCategoryBlockSchedule

func NewRemovePolicyExceptionGroupRequest

func NewRemovePolicyExceptionGroupRequest(server string, policyId openapi_types.UUID, exceptionGroupId openapi_types.UUID) (*http.Request, error)

NewRemovePolicyExceptionGroupRequest generates requests for RemovePolicyExceptionGroup

func NewScheduleAppBlockerCategoryBlockRequest

func NewScheduleAppBlockerCategoryBlockRequest(server string, policyId openapi_types.UUID, body ScheduleAppBlockerCategoryBlockJSONRequestBody) (*http.Request, error)

NewScheduleAppBlockerCategoryBlockRequest calls the generic ScheduleAppBlockerCategoryBlock builder with application/json body

func NewScheduleAppBlockerCategoryBlockRequestWithBody

func NewScheduleAppBlockerCategoryBlockRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewScheduleAppBlockerCategoryBlockRequestWithBody generates requests for ScheduleAppBlockerCategoryBlock with any type of body

func NewScheduleCategoryBlockRequest

func NewScheduleCategoryBlockRequest(server string, policyId openapi_types.UUID, body ScheduleCategoryBlockJSONRequestBody) (*http.Request, error)

NewScheduleCategoryBlockRequest calls the generic ScheduleCategoryBlock builder with application/json body

func NewScheduleCategoryBlockRequestWithBody

func NewScheduleCategoryBlockRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewScheduleCategoryBlockRequestWithBody generates requests for ScheduleCategoryBlock with any type of body

func NewScheduleMalwareCategoryBlockRequest

func NewScheduleMalwareCategoryBlockRequest(server string, policyId openapi_types.UUID, body ScheduleMalwareCategoryBlockJSONRequestBody) (*http.Request, error)

NewScheduleMalwareCategoryBlockRequest calls the generic ScheduleMalwareCategoryBlock builder with application/json body

func NewScheduleMalwareCategoryBlockRequestWithBody

func NewScheduleMalwareCategoryBlockRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewScheduleMalwareCategoryBlockRequestWithBody generates requests for ScheduleMalwareCategoryBlock with any type of body

func NewUpdateExceptionGroupDomainNoteRequest

func NewUpdateExceptionGroupDomainNoteRequest(server string, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, body UpdateExceptionGroupDomainNoteJSONRequestBody) (*http.Request, error)

NewUpdateExceptionGroupDomainNoteRequest calls the generic UpdateExceptionGroupDomainNote builder with application/json body

func NewUpdateExceptionGroupDomainNoteRequestWithBody

func NewUpdateExceptionGroupDomainNoteRequestWithBody(server string, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateExceptionGroupDomainNoteRequestWithBody generates requests for UpdateExceptionGroupDomainNote with any type of body

func NewUpdateExceptionGroupRequest

func NewUpdateExceptionGroupRequest(server string, exceptionGroupId openapi_types.UUID, body UpdateExceptionGroupJSONRequestBody) (*http.Request, error)

NewUpdateExceptionGroupRequest calls the generic UpdateExceptionGroup builder with application/json body

func NewUpdateExceptionGroupRequestWithBody

func NewUpdateExceptionGroupRequestWithBody(server string, exceptionGroupId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateExceptionGroupRequestWithBody generates requests for UpdateExceptionGroup with any type of body

func NewUpdatePolicyRequest

func NewUpdatePolicyRequest(server string, policyId openapi_types.UUID, body UpdatePolicyJSONRequestBody) (*http.Request, error)

NewUpdatePolicyRequest calls the generic UpdatePolicy builder with application/json body

func NewUpdatePolicyRequestWithBody

func NewUpdatePolicyRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePolicyRequestWithBody generates requests for UpdatePolicy with any type of body

func NewUpdatePolicySettingsRequest

func NewUpdatePolicySettingsRequest(server string, policyId openapi_types.UUID, body UpdatePolicySettingsJSONRequestBody) (*http.Request, error)

NewUpdatePolicySettingsRequest calls the generic UpdatePolicySettings builder with application/json body

func NewUpdatePolicySettingsRequestWithBody

func NewUpdatePolicySettingsRequestWithBody(server string, policyId openapi_types.UUID, 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 []struct {
		Domain string  `json:"domain"`
		Note   *string `json:"note,omitempty"`
	} `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      *[]struct {
		DomainId         openapi_types.UUID `json:"domainId"`
		ExceptionGroupId openapi_types.UUID `json:"exceptionGroupId"`
		Note             *string            `json:"note"`
	}
	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 openapi_types.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      *struct {
		ExceptionGroupId openapi_types.UUID `json:"exceptionGroupId"`
		PolicyId         openapi_types.UUID `json:"policyId"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			CategoryId openapi_types.UUID `json:"categoryId"`
			PolicyId   openapi_types.UUID `json:"policyId"`
		} `json:"successes"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			CategoryId openapi_types.UUID `json:"categoryId"`
			PolicyId   openapi_types.UUID `json:"policyId"`
		} `json:"successes"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			Code        string             `json:"code"`
			ContinentId openapi_types.UUID `json:"continentId"`
			Id          openapi_types.UUID `json:"id"`
			Name        string             `json:"name"`
			PolicyId    openapi_types.UUID `json:"policyId"`
		} `json:"successes"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			CategoryId openapi_types.UUID `json:"categoryId"`
			PolicyId   openapi_types.UUID `json:"policyId"`
		} `json:"successes"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			Id       openapi_types.UUID `json:"id"`
			PolicyId openapi_types.UUID `json:"policyId"`
			Tld      string             `json:"tld"`
			TldId    openapi_types.UUID `json:"tldId"`
		} `json:"successes"`
	}
	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 BlockAppBlockerCategoriesJSONBody

type BlockAppBlockerCategoriesJSONBody struct {
	CategoryIds []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			CategoryId openapi_types.UUID `json:"categoryId"`
			PolicyId   openapi_types.UUID `json:"policyId"`
		} `json:"successes"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			CategoryId openapi_types.UUID `json:"categoryId"`
			PolicyId   openapi_types.UUID `json:"policyId"`
		} `json:"successes"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			Code        string             `json:"code"`
			ContinentId openapi_types.UUID `json:"continentId"`
			Id          openapi_types.UUID `json:"id"`
			Name        string             `json:"name"`
			PolicyId    openapi_types.UUID `json:"policyId"`
		} `json:"successes"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			CategoryId openapi_types.UUID `json:"categoryId"`
			PolicyId   openapi_types.UUID `json:"policyId"`
		} `json:"successes"`
	}
	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 []openapi_types.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      *struct {
		Errors []struct {
			Code    string       `json:"code"`
			Details *interface{} `json:"details,omitempty"`
			Message *string      `json:"message,omitempty"`
		} `json:"errors"`
		Successes []struct {
			Id       openapi_types.UUID `json:"id"`
			PolicyId openapi_types.UUID `json:"policyId"`
			Tld      string             `json:"tld"`
			TldId    openapi_types.UUID `json:"tldId"`
		} `json:"successes"`
	}
	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 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, exceptionGroupId openapi_types.UUID, body AddExceptionGroupDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddExceptionGroupDomainsWithBody

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

func (*Client) AddPolicyExceptionGroup

func (c *Client) AddPolicyExceptionGroup(ctx context.Context, policyId openapi_types.UUID, body AddPolicyExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddPolicyExceptionGroupWithBody

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

func (*Client) AllowAppBlockerCategories

func (c *Client) AllowAppBlockerCategories(ctx context.Context, policyId openapi_types.UUID, body AllowAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowAppBlockerCategoriesWithBody

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

func (*Client) AllowCategories

func (c *Client) AllowCategories(ctx context.Context, policyId openapi_types.UUID, body AllowCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowCategoriesWithBody

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

func (*Client) AllowCountries

func (c *Client) AllowCountries(ctx context.Context, policyId openapi_types.UUID, body AllowCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowCountriesWithBody

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

func (*Client) AllowMalwareCategories

func (c *Client) AllowMalwareCategories(ctx context.Context, policyId openapi_types.UUID, body AllowMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowMalwareCategoriesWithBody

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

func (*Client) AllowTlds

func (c *Client) AllowTlds(ctx context.Context, policyId openapi_types.UUID, body AllowTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AllowTldsWithBody

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

func (*Client) BlockAppBlockerCategories

func (c *Client) BlockAppBlockerCategories(ctx context.Context, policyId openapi_types.UUID, body BlockAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockAppBlockerCategoriesWithBody

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

func (*Client) BlockCategories

func (c *Client) BlockCategories(ctx context.Context, policyId openapi_types.UUID, body BlockCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockCategoriesWithBody

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

func (*Client) BlockCountries

func (c *Client) BlockCountries(ctx context.Context, policyId openapi_types.UUID, body BlockCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockCountriesWithBody

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

func (*Client) BlockMalwareCategories

func (c *Client) BlockMalwareCategories(ctx context.Context, policyId openapi_types.UUID, body BlockMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockMalwareCategoriesWithBody

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

func (*Client) BlockTlds

func (c *Client) BlockTlds(ctx context.Context, policyId openapi_types.UUID, body BlockTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BlockTldsWithBody

func (c *Client) BlockTldsWithBody(ctx context.Context, policyId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePolicy

func (c *Client) DeletePolicy(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DisableDynamicDnsRedirect

func (c *Client) DisableDynamicDnsRedirect(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EnableDynamicDnsRedirect

func (c *Client) EnableDynamicDnsRedirect(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDynamicDnsRedirect

func (c *Client) GetDynamicDnsRedirect(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPolicy

func (c *Client) GetPolicy(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPolicySettings

func (c *Client) GetPolicySettings(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTld

func (c *Client) GetTld(ctx context.Context, tldName string, 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, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedCategories

func (c *Client) ListBlockedCategories(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedCountries

func (c *Client) ListBlockedCountries(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedMalwareCategories

func (c *Client) ListBlockedMalwareCategories(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlockedTlds

func (c *Client) ListBlockedTlds(ctx context.Context, policyId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, 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, policyId openapi_types.UUID, 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, templateId openapi_types.UUID, 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, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveCategoryBlockSchedule

func (c *Client) RemoveCategoryBlockSchedule(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveExceptionGroupDomain

func (c *Client) RemoveExceptionGroupDomain(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveMalwareCategoryBlockSchedule

func (c *Client) RemoveMalwareCategoryBlockSchedule(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemovePolicyExceptionGroup

func (c *Client) RemovePolicyExceptionGroup(ctx context.Context, policyId openapi_types.UUID, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleAppBlockerCategoryBlock

func (c *Client) ScheduleAppBlockerCategoryBlock(ctx context.Context, policyId openapi_types.UUID, body ScheduleAppBlockerCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleAppBlockerCategoryBlockWithBody

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

func (*Client) ScheduleCategoryBlock

func (c *Client) ScheduleCategoryBlock(ctx context.Context, policyId openapi_types.UUID, body ScheduleCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleCategoryBlockWithBody

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

func (*Client) ScheduleMalwareCategoryBlock

func (c *Client) ScheduleMalwareCategoryBlock(ctx context.Context, policyId openapi_types.UUID, body ScheduleMalwareCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ScheduleMalwareCategoryBlockWithBody

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

func (*Client) UpdateExceptionGroup

func (c *Client) UpdateExceptionGroup(ctx context.Context, exceptionGroupId openapi_types.UUID, body UpdateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExceptionGroupDomainNote

func (c *Client) UpdateExceptionGroupDomainNote(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, body UpdateExceptionGroupDomainNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExceptionGroupDomainNoteWithBody

func (c *Client) UpdateExceptionGroupDomainNoteWithBody(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateExceptionGroupWithBody

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

func (*Client) UpdatePolicy

func (c *Client) UpdatePolicy(ctx context.Context, policyId openapi_types.UUID, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePolicySettings

func (c *Client) UpdatePolicySettings(ctx context.Context, policyId openapi_types.UUID, body UpdatePolicySettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePolicySettingsWithBody

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

func (*Client) UpdatePolicyWithBody

func (c *Client) UpdatePolicyWithBody(ctx context.Context, policyId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateExceptionGroup(ctx context.Context, exceptionGroupId openapi_types.UUID, body UpdateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListExceptionGroupDomains request
	ListExceptionGroupDomains(ctx context.Context, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AddExceptionGroupDomains(ctx context.Context, exceptionGroupId openapi_types.UUID, body AddExceptionGroupDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveExceptionGroupDomain request
	RemoveExceptionGroupDomain(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateExceptionGroupDomainNoteWithBody request with any body
	UpdateExceptionGroupDomainNoteWithBody(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateExceptionGroupDomainNote(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, 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, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPolicy request
	GetPolicy(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdatePolicy(ctx context.Context, policyId openapi_types.UUID, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AllowAppBlockerCategories(ctx context.Context, policyId openapi_types.UUID, body AllowAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedAppBlockerCategories request
	ListBlockedAppBlockerCategories(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	BlockAppBlockerCategories(ctx context.Context, policyId openapi_types.UUID, body BlockAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ScheduleAppBlockerCategoryBlock(ctx context.Context, policyId openapi_types.UUID, body ScheduleAppBlockerCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveAppBlockerCategoryBlockSchedule request
	RemoveAppBlockerCategoryBlockSchedule(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AllowCategories(ctx context.Context, policyId openapi_types.UUID, body AllowCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedCategories request
	ListBlockedCategories(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	BlockCategories(ctx context.Context, policyId openapi_types.UUID, body BlockCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ScheduleCategoryBlock(ctx context.Context, policyId openapi_types.UUID, body ScheduleCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveCategoryBlockSchedule request
	RemoveCategoryBlockSchedule(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AllowCountries(ctx context.Context, policyId openapi_types.UUID, body AllowCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedCountries request
	ListBlockedCountries(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	BlockCountries(ctx context.Context, policyId openapi_types.UUID, body BlockCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DisableDynamicDnsRedirect request
	DisableDynamicDnsRedirect(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDynamicDnsRedirect request
	GetDynamicDnsRedirect(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableDynamicDnsRedirect request
	EnableDynamicDnsRedirect(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPolicyExceptionGroups request
	ListPolicyExceptionGroups(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AddPolicyExceptionGroup(ctx context.Context, policyId openapi_types.UUID, body AddPolicyExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemovePolicyExceptionGroup request
	RemovePolicyExceptionGroup(ctx context.Context, policyId openapi_types.UUID, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AllowMalwareCategories(ctx context.Context, policyId openapi_types.UUID, body AllowMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedMalwareCategories request
	ListBlockedMalwareCategories(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	BlockMalwareCategories(ctx context.Context, policyId openapi_types.UUID, body BlockMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ScheduleMalwareCategoryBlock(ctx context.Context, policyId openapi_types.UUID, body ScheduleMalwareCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveMalwareCategoryBlockSchedule request
	RemoveMalwareCategoryBlockSchedule(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPolicySettings request
	GetPolicySettings(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdatePolicySettings(ctx context.Context, policyId openapi_types.UUID, body UpdatePolicySettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AllowTlds(ctx context.Context, policyId openapi_types.UUID, body AllowTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlockedTlds request
	ListBlockedTlds(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	BlockTlds(ctx context.Context, policyId openapi_types.UUID, 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, templateId openapi_types.UUID, 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, tldName string, 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, exceptionGroupId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, body AddExceptionGroupDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExceptionGroupDomainsResponse, error)

func (*ClientWithResponses) AddPolicyExceptionGroupWithBodyWithResponse

func (c *ClientWithResponses) AddPolicyExceptionGroupWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body AddPolicyExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPolicyExceptionGroupResponse, error)

func (*ClientWithResponses) AllowAppBlockerCategoriesWithBodyWithResponse

func (c *ClientWithResponses) AllowAppBlockerCategoriesWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body AllowAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowAppBlockerCategoriesResponse, error)

func (*ClientWithResponses) AllowCategoriesWithBodyWithResponse

func (c *ClientWithResponses) AllowCategoriesWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body AllowCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowCategoriesResponse, error)

func (*ClientWithResponses) AllowCountriesWithBodyWithResponse

func (c *ClientWithResponses) AllowCountriesWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body AllowCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowCountriesResponse, error)

func (*ClientWithResponses) AllowMalwareCategoriesWithBodyWithResponse

func (c *ClientWithResponses) AllowMalwareCategoriesWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body AllowMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowMalwareCategoriesResponse, error)

func (*ClientWithResponses) AllowTldsWithBodyWithResponse

func (c *ClientWithResponses) AllowTldsWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body AllowTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowTldsResponse, error)

func (*ClientWithResponses) BlockAppBlockerCategoriesWithBodyWithResponse

func (c *ClientWithResponses) BlockAppBlockerCategoriesWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body BlockAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockAppBlockerCategoriesResponse, error)

func (*ClientWithResponses) BlockCategoriesWithBodyWithResponse

func (c *ClientWithResponses) BlockCategoriesWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body BlockCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockCategoriesResponse, error)

func (*ClientWithResponses) BlockCountriesWithBodyWithResponse

func (c *ClientWithResponses) BlockCountriesWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body BlockCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockCountriesResponse, error)

func (*ClientWithResponses) BlockMalwareCategoriesWithBodyWithResponse

func (c *ClientWithResponses) BlockMalwareCategoriesWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body BlockMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockMalwareCategoriesResponse, error)

func (*ClientWithResponses) BlockTldsWithBodyWithResponse

func (c *ClientWithResponses) BlockTldsWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteExceptionGroupResponse, error)

DeleteExceptionGroupWithResponse request returning *DeleteExceptionGroupResponse

func (*ClientWithResponses) DeletePolicyWithResponse

func (c *ClientWithResponses) DeletePolicyWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)

DeletePolicyWithResponse request returning *DeletePolicyResponse

func (*ClientWithResponses) DisableDynamicDnsRedirectWithResponse

func (c *ClientWithResponses) DisableDynamicDnsRedirectWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DisableDynamicDnsRedirectResponse, error)

DisableDynamicDnsRedirectWithResponse request returning *DisableDynamicDnsRedirectResponse

func (*ClientWithResponses) EnableDynamicDnsRedirectWithResponse

func (c *ClientWithResponses) EnableDynamicDnsRedirectWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnableDynamicDnsRedirectResponse, error)

EnableDynamicDnsRedirectWithResponse request returning *EnableDynamicDnsRedirectResponse

func (*ClientWithResponses) GetDynamicDnsRedirectWithResponse

func (c *ClientWithResponses) GetDynamicDnsRedirectWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDynamicDnsRedirectResponse, error)

GetDynamicDnsRedirectWithResponse request returning *GetDynamicDnsRedirectResponse

func (*ClientWithResponses) GetPolicySettingsWithResponse

func (c *ClientWithResponses) GetPolicySettingsWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPolicySettingsResponse, error)

GetPolicySettingsWithResponse request returning *GetPolicySettingsResponse

func (*ClientWithResponses) GetPolicyWithResponse

func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

GetPolicyWithResponse request returning *GetPolicyResponse

func (*ClientWithResponses) GetTldWithResponse

func (c *ClientWithResponses) GetTldWithResponse(ctx context.Context, tldName string, 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, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedAppBlockerCategoriesResponse, error)

ListBlockedAppBlockerCategoriesWithResponse request returning *ListBlockedAppBlockerCategoriesResponse

func (*ClientWithResponses) ListBlockedCategoriesWithResponse

func (c *ClientWithResponses) ListBlockedCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedCategoriesResponse, error)

ListBlockedCategoriesWithResponse request returning *ListBlockedCategoriesResponse

func (*ClientWithResponses) ListBlockedCountriesWithResponse

func (c *ClientWithResponses) ListBlockedCountriesWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedCountriesResponse, error)

ListBlockedCountriesWithResponse request returning *ListBlockedCountriesResponse

func (*ClientWithResponses) ListBlockedMalwareCategoriesWithResponse

func (c *ClientWithResponses) ListBlockedMalwareCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedMalwareCategoriesResponse, error)

ListBlockedMalwareCategoriesWithResponse request returning *ListBlockedMalwareCategoriesResponse

func (*ClientWithResponses) ListBlockedTldsWithResponse

func (c *ClientWithResponses) ListBlockedTldsWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, 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, policyId openapi_types.UUID, 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, templateId openapi_types.UUID, 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, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveAppBlockerCategoryBlockScheduleResponse, error)

RemoveAppBlockerCategoryBlockScheduleWithResponse request returning *RemoveAppBlockerCategoryBlockScheduleResponse

func (*ClientWithResponses) RemoveCategoryBlockScheduleWithResponse

func (c *ClientWithResponses) RemoveCategoryBlockScheduleWithResponse(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveCategoryBlockScheduleResponse, error)

RemoveCategoryBlockScheduleWithResponse request returning *RemoveCategoryBlockScheduleResponse

func (*ClientWithResponses) RemoveExceptionGroupDomainWithResponse

func (c *ClientWithResponses) RemoveExceptionGroupDomainWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveExceptionGroupDomainResponse, error)

RemoveExceptionGroupDomainWithResponse request returning *RemoveExceptionGroupDomainResponse

func (*ClientWithResponses) RemoveMalwareCategoryBlockScheduleWithResponse

func (c *ClientWithResponses) RemoveMalwareCategoryBlockScheduleWithResponse(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveMalwareCategoryBlockScheduleResponse, error)

RemoveMalwareCategoryBlockScheduleWithResponse request returning *RemoveMalwareCategoryBlockScheduleResponse

func (*ClientWithResponses) RemovePolicyExceptionGroupWithResponse

func (c *ClientWithResponses) RemovePolicyExceptionGroupWithResponse(ctx context.Context, policyId openapi_types.UUID, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemovePolicyExceptionGroupResponse, error)

RemovePolicyExceptionGroupWithResponse request returning *RemovePolicyExceptionGroupResponse

func (*ClientWithResponses) ScheduleAppBlockerCategoryBlockWithBodyWithResponse

func (c *ClientWithResponses) ScheduleAppBlockerCategoryBlockWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body ScheduleAppBlockerCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleAppBlockerCategoryBlockResponse, error)

func (*ClientWithResponses) ScheduleCategoryBlockWithBodyWithResponse

func (c *ClientWithResponses) ScheduleCategoryBlockWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body ScheduleCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleCategoryBlockResponse, error)

func (*ClientWithResponses) ScheduleMalwareCategoryBlockWithBodyWithResponse

func (c *ClientWithResponses) ScheduleMalwareCategoryBlockWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body ScheduleMalwareCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleMalwareCategoryBlockResponse, error)

func (*ClientWithResponses) UpdateExceptionGroupDomainNoteWithBodyWithResponse

func (c *ClientWithResponses) UpdateExceptionGroupDomainNoteWithBodyWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, body UpdateExceptionGroupDomainNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupDomainNoteResponse, error)

func (*ClientWithResponses) UpdateExceptionGroupWithBodyWithResponse

func (c *ClientWithResponses) UpdateExceptionGroupWithBodyWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, body UpdateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupResponse, error)

func (*ClientWithResponses) UpdatePolicySettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdatePolicySettingsWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, body UpdatePolicySettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicySettingsResponse, error)

func (*ClientWithResponses) UpdatePolicyWithBodyWithResponse

func (c *ClientWithResponses) UpdatePolicyWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, 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, policyId openapi_types.UUID, 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, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteExceptionGroupResponse, error)

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

	UpdateExceptionGroupWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, body UpdateExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupResponse, error)

	// ListExceptionGroupDomainsWithResponse request
	ListExceptionGroupDomainsWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListExceptionGroupDomainsResponse, error)

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

	AddExceptionGroupDomainsWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, body AddExceptionGroupDomainsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddExceptionGroupDomainsResponse, error)

	// RemoveExceptionGroupDomainWithResponse request
	RemoveExceptionGroupDomainWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveExceptionGroupDomainResponse, error)

	// UpdateExceptionGroupDomainNoteWithBodyWithResponse request with any body
	UpdateExceptionGroupDomainNoteWithBodyWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateExceptionGroupDomainNoteResponse, error)

	UpdateExceptionGroupDomainNoteWithResponse(ctx context.Context, exceptionGroupId openapi_types.UUID, domainId openapi_types.UUID, 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, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)

	// GetPolicyWithResponse request
	GetPolicyWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

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

	UpdatePolicyWithResponse(ctx context.Context, policyId openapi_types.UUID, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

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

	AllowAppBlockerCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, body AllowAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowAppBlockerCategoriesResponse, error)

	// ListBlockedAppBlockerCategoriesWithResponse request
	ListBlockedAppBlockerCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedAppBlockerCategoriesResponse, error)

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

	BlockAppBlockerCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, body BlockAppBlockerCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockAppBlockerCategoriesResponse, error)

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

	ScheduleAppBlockerCategoryBlockWithResponse(ctx context.Context, policyId openapi_types.UUID, body ScheduleAppBlockerCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleAppBlockerCategoryBlockResponse, error)

	// RemoveAppBlockerCategoryBlockScheduleWithResponse request
	RemoveAppBlockerCategoryBlockScheduleWithResponse(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveAppBlockerCategoryBlockScheduleResponse, error)

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

	AllowCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, body AllowCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowCategoriesResponse, error)

	// ListBlockedCategoriesWithResponse request
	ListBlockedCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedCategoriesResponse, error)

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

	BlockCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, body BlockCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockCategoriesResponse, error)

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

	ScheduleCategoryBlockWithResponse(ctx context.Context, policyId openapi_types.UUID, body ScheduleCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleCategoryBlockResponse, error)

	// RemoveCategoryBlockScheduleWithResponse request
	RemoveCategoryBlockScheduleWithResponse(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveCategoryBlockScheduleResponse, error)

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

	AllowCountriesWithResponse(ctx context.Context, policyId openapi_types.UUID, body AllowCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowCountriesResponse, error)

	// ListBlockedCountriesWithResponse request
	ListBlockedCountriesWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedCountriesResponse, error)

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

	BlockCountriesWithResponse(ctx context.Context, policyId openapi_types.UUID, body BlockCountriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockCountriesResponse, error)

	// DisableDynamicDnsRedirectWithResponse request
	DisableDynamicDnsRedirectWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DisableDynamicDnsRedirectResponse, error)

	// GetDynamicDnsRedirectWithResponse request
	GetDynamicDnsRedirectWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDynamicDnsRedirectResponse, error)

	// EnableDynamicDnsRedirectWithResponse request
	EnableDynamicDnsRedirectWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*EnableDynamicDnsRedirectResponse, error)

	// ListPolicyExceptionGroupsWithResponse request
	ListPolicyExceptionGroupsWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListPolicyExceptionGroupsResponse, error)

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

	AddPolicyExceptionGroupWithResponse(ctx context.Context, policyId openapi_types.UUID, body AddPolicyExceptionGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPolicyExceptionGroupResponse, error)

	// RemovePolicyExceptionGroupWithResponse request
	RemovePolicyExceptionGroupWithResponse(ctx context.Context, policyId openapi_types.UUID, exceptionGroupId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemovePolicyExceptionGroupResponse, error)

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

	AllowMalwareCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, body AllowMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowMalwareCategoriesResponse, error)

	// ListBlockedMalwareCategoriesWithResponse request
	ListBlockedMalwareCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedMalwareCategoriesResponse, error)

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

	BlockMalwareCategoriesWithResponse(ctx context.Context, policyId openapi_types.UUID, body BlockMalwareCategoriesJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockMalwareCategoriesResponse, error)

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

	ScheduleMalwareCategoryBlockWithResponse(ctx context.Context, policyId openapi_types.UUID, body ScheduleMalwareCategoryBlockJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleMalwareCategoryBlockResponse, error)

	// RemoveMalwareCategoryBlockScheduleWithResponse request
	RemoveMalwareCategoryBlockScheduleWithResponse(ctx context.Context, policyId openapi_types.UUID, schedulationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveMalwareCategoryBlockScheduleResponse, error)

	// GetPolicySettingsWithResponse request
	GetPolicySettingsWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPolicySettingsResponse, error)

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

	UpdatePolicySettingsWithResponse(ctx context.Context, policyId openapi_types.UUID, body UpdatePolicySettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicySettingsResponse, error)

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

	AllowTldsWithResponse(ctx context.Context, policyId openapi_types.UUID, body AllowTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*AllowTldsResponse, error)

	// ListBlockedTldsWithResponse request
	ListBlockedTldsWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListBlockedTldsResponse, error)

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

	BlockTldsWithResponse(ctx context.Context, policyId openapi_types.UUID, body BlockTldsJSONRequestBody, reqEditors ...RequestEditorFn) (*BlockTldsResponse, error)

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

	// ListTemplateCategoriesWithResponse request
	ListTemplateCategoriesWithResponse(ctx context.Context, templateId openapi_types.UUID, 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, tldName string, reqEditors ...RequestEditorFn) (*GetTldResponse, error)
}

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

type CreateExceptionGroup201Type added in v8.10.0

type CreateExceptionGroup201Type string

type CreateExceptionGroupJSONBody added in v8.10.0

type CreateExceptionGroupJSONBody struct {
	Domains        *[]string                        `json:"domains,omitempty"`
	Name           string                           `json:"name"`
	OrganizationId *openapi_types.UUID              `json:"organizationId,omitempty"`
	Type           CreateExceptionGroupJSONBodyType `json:"type"`
}

CreateExceptionGroupJSONBody defines parameters for CreateExceptionGroup.

type CreateExceptionGroupJSONBodyType added in v8.10.0

type CreateExceptionGroupJSONBodyType string

CreateExceptionGroupJSONBodyType defines parameters for CreateExceptionGroup.

const (
	CreateExceptionGroupJSONBodyTypeAllowlist CreateExceptionGroupJSONBodyType = "allowlist"
	CreateExceptionGroupJSONBodyTypeBlocklist CreateExceptionGroupJSONBodyType = "blocklist"
)

Defines values for CreateExceptionGroupJSONBodyType.

type CreateExceptionGroupJSONRequestBody

type CreateExceptionGroupJSONRequestBody CreateExceptionGroupJSONBody

CreateExceptionGroupJSONRequestBody defines body for CreateExceptionGroup for application/json ContentType.

type CreateExceptionGroupResponse

type CreateExceptionGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Domains []struct {
			Id   openapi_types.UUID `json:"id"`
			Name string             `json:"name"`
			Note *string            `json:"note"`
		} `json:"domains"`
		Id             openapi_types.UUID          `json:"id"`
		Name           string                      `json:"name"`
		OrganizationId openapi_types.UUID          `json:"organizationId"`
		Type           CreateExceptionGroup201Type `json:"type"`
	}
	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 CreatePolicyJSONBody added in v8.10.0

type CreatePolicyJSONBody struct {
	IsLimited      bool                `json:"isLimited"`
	IsShared       *bool               `json:"isShared,omitempty"`
	Name           string              `json:"name"`
	OrganizationId *openapi_types.UUID `json:"organizationId,omitempty"`
	TemplateId     *openapi_types.UUID `json:"templateId,omitempty"`
}

CreatePolicyJSONBody defines parameters for CreatePolicy.

type CreatePolicyJSONRequestBody

type CreatePolicyJSONRequestBody CreatePolicyJSONBody

CreatePolicyJSONRequestBody defines body for CreatePolicy for application/json ContentType.

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *struct {
		Id             openapi_types.UUID `json:"id"`
		IsLimited      bool               `json:"isLimited"`
		IsShared       bool               `json:"isShared"`
		Name           string             `json:"name"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
	}
	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 DeleteExceptionGroup200Type added in v8.10.0

type DeleteExceptionGroup200Type string

type DeleteExceptionGroupResponse

type DeleteExceptionGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id             openapi_types.UUID          `json:"id"`
		Name           string                      `json:"name"`
		OrganizationId openapi_types.UUID          `json:"organizationId"`
		Type           DeleteExceptionGroup200Type `json:"type"`
	}
	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      *struct {
		Id             openapi_types.UUID `json:"id"`
		IsLimited      bool               `json:"isLimited"`
		IsShared       bool               `json:"isShared"`
		Name           string             `json:"name"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
	}
	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 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 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      *struct {
		IsEnabled bool `json:"isEnabled"`
	}
	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      *struct {
		Id             openapi_types.UUID `json:"id"`
		IsLimited      bool               `json:"isLimited"`
		IsShared       bool               `json:"isShared"`
		Name           string             `json:"name"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
	}
	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      *struct {
		BingSafeSearchEnabled       bool `json:"bingSafeSearchEnabled"`
		DuckduckgoSafeSearchEnabled bool `json:"duckduckgoSafeSearchEnabled"`
		GoogleSafeSearchEnabled     bool `json:"googleSafeSearchEnabled"`
		IpBlockingEnabled           bool `json:"ipBlockingEnabled"`
		YoutubeSafeSearchEnabled    bool `json:"youtubeSafeSearchEnabled"`
	}
	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      *struct {
		Id  openapi_types.UUID `json:"id"`
		Tld string             `json:"tld"`
	}
	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 ListAppBlockerCategoriesParams

type ListAppBlockerCategoriesParams struct {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	Lang           *string             `form:"lang,omitempty" json:"lang,omitempty"`
}

ListAppBlockerCategoriesParams defines parameters for ListAppBlockerCategories.

type ListAppBlockerCategoriesResponse

type ListAppBlockerCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Code            string             `json:"code"`
		Id              openapi_types.UUID `json:"id"`
		MacroCategoryId openapi_types.UUID `json:"macroCategoryId"`
		Name            string             `json:"name"`
	}
	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 ListAppBlockerCategoryMacros200ProtectionModule added in v8.10.0

type ListAppBlockerCategoryMacros200ProtectionModule string

type ListAppBlockerCategoryMacrosParams

type ListAppBlockerCategoryMacrosParams struct {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	Lang           *string             `form:"lang,omitempty" json:"lang,omitempty"`
}

ListAppBlockerCategoryMacrosParams defines parameters for ListAppBlockerCategoryMacros.

type ListAppBlockerCategoryMacrosResponse

type ListAppBlockerCategoryMacrosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Categories []struct {
			Code            string             `json:"code"`
			Id              openapi_types.UUID `json:"id"`
			MacroCategoryId openapi_types.UUID `json:"macroCategoryId"`
			Name            string             `json:"name"`
		} `json:"categories"`
		Id               openapi_types.UUID                              `json:"id"`
		Name             string                                          `json:"name"`
		ProtectionModule ListAppBlockerCategoryMacros200ProtectionModule `json:"protectionModule"`
	}
	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 ListBlockedAppBlockerCategoriesResponse

type ListBlockedAppBlockerCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		TimeBlocks []struct {
			Day  int                `json:"day"`
			From time.Time          `json:"from"`
			Id   openapi_types.UUID `json:"id"`
			To   time.Time          `json:"to"`
		} `json:"timeBlocks"`
	}
	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 ListBlockedCategoriesResponse

type ListBlockedCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		TimeBlocks []struct {
			Day  int                `json:"day"`
			From time.Time          `json:"from"`
			Id   openapi_types.UUID `json:"id"`
			To   time.Time          `json:"to"`
		} `json:"timeBlocks"`
	}
	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      *[]struct {
		Code        string             `json:"code"`
		ContinentId openapi_types.UUID `json:"continentId"`
		Id          openapi_types.UUID `json:"id"`
		Name        string             `json:"name"`
		PolicyId    openapi_types.UUID `json:"policyId"`
	}
	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 ListBlockedMalwareCategoriesResponse

type ListBlockedMalwareCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		TimeBlocks []struct {
			Day  int                `json:"day"`
			From time.Time          `json:"from"`
			Id   openapi_types.UUID `json:"id"`
			To   time.Time          `json:"to"`
		} `json:"timeBlocks"`
	}
	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      *[]struct {
		Id       openapi_types.UUID `json:"id"`
		PolicyId openapi_types.UUID `json:"policyId"`
		Tld      string             `json:"tld"`
		TldId    openapi_types.UUID `json:"tldId"`
	}
	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 {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	Lang           *string             `form:"lang,omitempty" json:"lang,omitempty"`
}

ListCategoriesParams defines parameters for ListCategories.

type ListCategoriesResponse

type ListCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Code            string             `json:"code"`
		Id              openapi_types.UUID `json:"id"`
		MacroCategoryId openapi_types.UUID `json:"macroCategoryId"`
		Name            string             `json:"name"`
	}
	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 ListCategoryMacros200ProtectionModule added in v8.10.0

type ListCategoryMacros200ProtectionModule string

type ListCategoryMacrosParams

type ListCategoryMacrosParams struct {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	Lang           *string             `form:"lang,omitempty" json:"lang,omitempty"`
}

ListCategoryMacrosParams defines parameters for ListCategoryMacros.

type ListCategoryMacrosResponse

type ListCategoryMacrosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Categories []struct {
			Code            string             `json:"code"`
			Id              openapi_types.UUID `json:"id"`
			MacroCategoryId openapi_types.UUID `json:"macroCategoryId"`
			Name            string             `json:"name"`
		} `json:"categories"`
		Id               openapi_types.UUID                    `json:"id"`
		Name             string                                `json:"name"`
		ProtectionModule ListCategoryMacros200ProtectionModule `json:"protectionModule"`
	}
	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 {
	Lang *string `form:"lang,omitempty" json:"lang,omitempty"`
}

ListContinentsParams defines parameters for ListContinents.

type ListContinentsResponse

type ListContinentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Code      string `json:"code"`
		Countries []struct {
			Code        string             `json:"code"`
			ContinentId openapi_types.UUID `json:"continentId"`
			Id          openapi_types.UUID `json:"id"`
			Name        string             `json:"name"`
		} `json:"countries"`
		Id   openapi_types.UUID `json:"id"`
		Name string             `json:"name"`
	}
	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      *[]struct {
		Code        string             `json:"code"`
		ContinentId openapi_types.UUID `json:"continentId"`
		Id          openapi_types.UUID `json:"id"`
		Name        string             `json:"name"`
	}
	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      *[]struct {
		Id   openapi_types.UUID `json:"id"`
		Name string             `json:"name"`
		Note *string            `json:"note"`
	}
	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 ListExceptionGroups2000 added in v8.10.0

type ListExceptionGroups2000 struct {
	Domains []struct {
		Id   openapi_types.UUID `json:"id"`
		Name string             `json:"name"`
		Note *string            `json:"note"`
	} `json:"domains"`
	Id             openapi_types.UUID          `json:"id"`
	Name           string                      `json:"name"`
	OrganizationId openapi_types.UUID          `json:"organizationId"`
	Type           ListExceptionGroups2000Type `json:"type"`
}

type ListExceptionGroups2000Type added in v8.10.0

type ListExceptionGroups2000Type string

type ListExceptionGroups2001 added in v8.10.0

type ListExceptionGroups2001 struct {
	Domains []struct {
		Id   openapi_types.UUID `json:"id"`
		Name string             `json:"name"`
		Note *string            `json:"note"`
	} `json:"domains"`
	Id             openapi_types.UUID `json:"id"`
	IsHidden       bool               `json:"isHidden"`
	Name           string             `json:"name"`
	OrganizationId openapi_types.UUID `json:"organizationId"`
	Policies       []struct {
		Id             openapi_types.UUID `json:"id"`
		IsLimited      bool               `json:"isLimited"`
		IsShared       bool               `json:"isShared"`
		Name           string             `json:"name"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
	} `json:"policies"`
	Type ListExceptionGroups2001Type `json:"type"`
}

type ListExceptionGroups2001Type added in v8.10.0

type ListExceptionGroups2001Type string

type ListExceptionGroupsParams

type ListExceptionGroupsParams struct {
	OrganizationId            *openapi_types.UUID                                 `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	IncludeAssociatedPolicies *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      *[]ListExceptionGroups_200_Item
	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 ListExceptionGroups_200_Item added in v8.10.0

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

type ListMalwareCategoriesParams

type ListMalwareCategoriesParams struct {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	Lang           *string             `form:"lang,omitempty" json:"lang,omitempty"`
}

ListMalwareCategoriesParams defines parameters for ListMalwareCategories.

type ListMalwareCategoriesResponse

type ListMalwareCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Code            string             `json:"code"`
		Id              openapi_types.UUID `json:"id"`
		MacroCategoryId openapi_types.UUID `json:"macroCategoryId"`
		Name            string             `json:"name"`
	}
	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 ListMalwareCategoryMacros200ProtectionModule added in v8.10.0

type ListMalwareCategoryMacros200ProtectionModule string

type ListMalwareCategoryMacrosParams

type ListMalwareCategoryMacrosParams struct {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	Lang           *string             `form:"lang,omitempty" json:"lang,omitempty"`
}

ListMalwareCategoryMacrosParams defines parameters for ListMalwareCategoryMacros.

type ListMalwareCategoryMacrosResponse

type ListMalwareCategoryMacrosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Categories []struct {
			Code            string             `json:"code"`
			Id              openapi_types.UUID `json:"id"`
			MacroCategoryId openapi_types.UUID `json:"macroCategoryId"`
			Name            string             `json:"name"`
		} `json:"categories"`
		Id               openapi_types.UUID                           `json:"id"`
		Name             string                                       `json:"name"`
		ProtectionModule ListMalwareCategoryMacros200ProtectionModule `json:"protectionModule"`
	}
	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 ListPolicies2000 added in v8.10.0

type ListPolicies2000 struct {
	Id             openapi_types.UUID `json:"id"`
	IsLimited      bool               `json:"isLimited"`
	IsShared       bool               `json:"isShared"`
	Name           string             `json:"name"`
	OrganizationId openapi_types.UUID `json:"organizationId"`
}

type ListPolicies2001 added in v8.10.0

type ListPolicies2001 struct {
	Id        openapi_types.UUID `json:"id"`
	IsLimited bool               `json:"isLimited"`
	IsShared  bool               `json:"isShared"`
	Name      string             `json:"name"`
	Networks  []struct {
		CreatedAt      time.Time                    `json:"createdAt"`
		Id             openapi_types.UUID           `json:"id"`
		LastQueriedAt  *time.Time                   `json:"lastQueriedAt,omitempty"`
		Name           string                       `json:"name"`
		Note           string                       `json:"note"`
		OrganizationId openapi_types.UUID           `json:"organizationId"`
		Type           ListPolicies2001NetworksType `json:"type"`
		UpdatedAt      time.Time                    `json:"updatedAt"`
	} `json:"networks"`
	OrganizationId openapi_types.UUID `json:"organizationId"`
}

type ListPolicies2001NetworksType added in v8.10.0

type ListPolicies2001NetworksType string

type ListPoliciesParams

type ListPoliciesParams struct {
	OrganizationId      *openapi_types.UUID                    `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	IncludeNetworkCount *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      *[]ListPolicies_200_Item
	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 ListPolicies_200_Item added in v8.10.0

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

type ListPolicyExceptionGroups200Type added in v8.10.0

type ListPolicyExceptionGroups200Type string

type ListPolicyExceptionGroupsResponse

type ListPolicyExceptionGroupsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Domains []struct {
			Id   openapi_types.UUID `json:"id"`
			Name string             `json:"name"`
			Note *string            `json:"note"`
		} `json:"domains"`
		Id             openapi_types.UUID               `json:"id"`
		Name           string                           `json:"name"`
		OrganizationId openapi_types.UUID               `json:"organizationId"`
		Type           ListPolicyExceptionGroups200Type `json:"type"`
	}
	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 ListProtectionTemplates200Settings added in v8.10.0

type ListProtectionTemplates200Settings string

type ListProtectionTemplates200Type added in v8.10.0

type ListProtectionTemplates200Type string

type ListProtectionTemplatesParams

type ListProtectionTemplatesParams struct {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	Lang           *string             `form:"lang,omitempty" json:"lang,omitempty"`
}

ListProtectionTemplatesParams defines parameters for ListProtectionTemplates.

type ListProtectionTemplatesResponse

type ListProtectionTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Categories []struct {
			Code            string             `json:"code"`
			Id              openapi_types.UUID `json:"id"`
			MacroCategoryId openapi_types.UUID `json:"macroCategoryId"`
			Name            string             `json:"name"`
		} `json:"categories"`
		Id       openapi_types.UUID                   `json:"id"`
		Name     string                               `json:"name"`
		Settings []ListProtectionTemplates200Settings `json:"settings"`
		Type     ListProtectionTemplates200Type       `json:"type"`
	}
	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 {
	OrganizationId *openapi_types.UUID `form:"organizationId,omitempty" json:"organizationId,omitempty"`
	Lang           *string             `form:"lang,omitempty" json:"lang,omitempty"`
}

ListTemplateCategoriesParams defines parameters for ListTemplateCategories.

type ListTemplateCategoriesResponse

type ListTemplateCategoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Code            string             `json:"code"`
		Id              openapi_types.UUID `json:"id"`
		MacroCategoryId openapi_types.UUID `json:"macroCategoryId"`
		Name            string             `json:"name"`
	}
	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 {
	Lang *string `form:"lang,omitempty" json:"lang,omitempty"`
}

ListTldMacrosParams defines parameters for ListTldMacros.

type ListTldMacrosResponse

type ListTldMacrosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		Code string             `json:"code"`
		Id   openapi_types.UUID `json:"id"`
		Name string             `json:"name"`
		Tlds []struct {
			Id  openapi_types.UUID `json:"id"`
			Tld string             `json:"tld"`
		} `json:"tlds"`
	}
	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      *[]struct {
		Id  openapi_types.UUID `json:"id"`
		Tld string             `json:"tld"`
	}
	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 MissingCredentialsErrorBody

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

MissingCredentialsErrorBody defines model for MissingCredentialsErrorBody.

type NotFoundResponse

type NotFoundResponse = FlashStartErrorBody

NotFoundResponse defines model for NotFound.

type RemoveAppBlockerCategoryBlockScheduleResponse

type RemoveAppBlockerCategoryBlockScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		Day        int                `json:"day"`
		From       time.Time          `json:"from"`
		Id         openapi_types.UUID `json:"id"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		To         time.Time          `json:"to"`
	}
	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      *struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		Day        int                `json:"day"`
		From       time.Time          `json:"from"`
		Id         openapi_types.UUID `json:"id"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		To         time.Time          `json:"to"`
	}
	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      *struct {
		DomainId         openapi_types.UUID `json:"domainId"`
		ExceptionGroupId openapi_types.UUID `json:"exceptionGroupId"`
		Note             *string            `json:"note"`
	}
	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      *struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		Day        int                `json:"day"`
		From       time.Time          `json:"from"`
		Id         openapi_types.UUID `json:"id"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		To         time.Time          `json:"to"`
	}
	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      *struct {
		ExceptionGroupId openapi_types.UUID `json:"exceptionGroupId"`
		PolicyId         openapi_types.UUID `json:"policyId"`
	}
	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 ScheduleAppBlockerCategoryBlockJSONBody added in v8.10.0

type ScheduleAppBlockerCategoryBlockJSONBody struct {
	BlockSchedulation []struct {
		Day  int    `json:"day"`
		From string `json:"from"`
		To   string `json:"to"`
	} `json:"blockSchedulation"`
	CategoryId openapi_types.UUID `json:"categoryId"`
}

ScheduleAppBlockerCategoryBlockJSONBody defines parameters for ScheduleAppBlockerCategoryBlock.

type ScheduleAppBlockerCategoryBlockJSONRequestBody

type ScheduleAppBlockerCategoryBlockJSONRequestBody ScheduleAppBlockerCategoryBlockJSONBody

ScheduleAppBlockerCategoryBlockJSONRequestBody defines body for ScheduleAppBlockerCategoryBlock for application/json ContentType.

type ScheduleAppBlockerCategoryBlockResponse

type ScheduleAppBlockerCategoryBlockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *[]struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		Day        int                `json:"day"`
		From       time.Time          `json:"from"`
		Id         openapi_types.UUID `json:"id"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		To         time.Time          `json:"to"`
	}
	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 ScheduleCategoryBlockJSONBody added in v8.10.0

type ScheduleCategoryBlockJSONBody struct {
	BlockSchedulation []struct {
		Day  int    `json:"day"`
		From string `json:"from"`
		To   string `json:"to"`
	} `json:"blockSchedulation"`
	CategoryId openapi_types.UUID `json:"categoryId"`
}

ScheduleCategoryBlockJSONBody defines parameters for ScheduleCategoryBlock.

type ScheduleCategoryBlockJSONRequestBody

type ScheduleCategoryBlockJSONRequestBody ScheduleCategoryBlockJSONBody

ScheduleCategoryBlockJSONRequestBody defines body for ScheduleCategoryBlock for application/json ContentType.

type ScheduleCategoryBlockResponse

type ScheduleCategoryBlockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *[]struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		Day        int                `json:"day"`
		From       time.Time          `json:"from"`
		Id         openapi_types.UUID `json:"id"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		To         time.Time          `json:"to"`
	}
	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 ScheduleMalwareCategoryBlockJSONBody added in v8.10.0

type ScheduleMalwareCategoryBlockJSONBody struct {
	BlockSchedulation []struct {
		Day  int    `json:"day"`
		From string `json:"from"`
		To   string `json:"to"`
	} `json:"blockSchedulation"`
	CategoryId openapi_types.UUID `json:"categoryId"`
}

ScheduleMalwareCategoryBlockJSONBody defines parameters for ScheduleMalwareCategoryBlock.

type ScheduleMalwareCategoryBlockJSONRequestBody

type ScheduleMalwareCategoryBlockJSONRequestBody ScheduleMalwareCategoryBlockJSONBody

ScheduleMalwareCategoryBlockJSONRequestBody defines body for ScheduleMalwareCategoryBlock for application/json ContentType.

type ScheduleMalwareCategoryBlockResponse

type ScheduleMalwareCategoryBlockResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *[]struct {
		CategoryId openapi_types.UUID `json:"categoryId"`
		Day        int                `json:"day"`
		From       time.Time          `json:"from"`
		Id         openapi_types.UUID `json:"id"`
		PolicyId   openapi_types.UUID `json:"policyId"`
		To         time.Time          `json:"to"`
	}
	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 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 UpdateExceptionGroup200Type added in v8.10.0

type UpdateExceptionGroup200Type string

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      *struct {
		DomainId         openapi_types.UUID `json:"domainId"`
		ExceptionGroupId openapi_types.UUID `json:"exceptionGroupId"`
		Note             *string            `json:"note"`
	}
	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 UpdateExceptionGroupJSONBody added in v8.10.0

type UpdateExceptionGroupJSONBody struct {
	Name *string                           `json:"name,omitempty"`
	Type *UpdateExceptionGroupJSONBodyType `json:"type,omitempty"`
}

UpdateExceptionGroupJSONBody defines parameters for UpdateExceptionGroup.

type UpdateExceptionGroupJSONBodyType added in v8.10.0

type UpdateExceptionGroupJSONBodyType string

UpdateExceptionGroupJSONBodyType defines parameters for UpdateExceptionGroup.

const (
	UpdateExceptionGroupJSONBodyTypeAllowlist UpdateExceptionGroupJSONBodyType = "allowlist"
	UpdateExceptionGroupJSONBodyTypeBlocklist UpdateExceptionGroupJSONBodyType = "blocklist"
)

Defines values for UpdateExceptionGroupJSONBodyType.

type UpdateExceptionGroupJSONRequestBody

type UpdateExceptionGroupJSONRequestBody UpdateExceptionGroupJSONBody

UpdateExceptionGroupJSONRequestBody defines body for UpdateExceptionGroup for application/json ContentType.

type UpdateExceptionGroupResponse

type UpdateExceptionGroupResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id             openapi_types.UUID          `json:"id"`
		Name           string                      `json:"name"`
		OrganizationId openapi_types.UUID          `json:"organizationId"`
		Type           UpdateExceptionGroup200Type `json:"type"`
	}
	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 UpdatePolicyJSONBody added in v8.10.0

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

UpdatePolicyJSONBody defines parameters for UpdatePolicy.

type UpdatePolicyJSONRequestBody

type UpdatePolicyJSONRequestBody UpdatePolicyJSONBody

UpdatePolicyJSONRequestBody defines body for UpdatePolicy for application/json ContentType.

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id             openapi_types.UUID `json:"id"`
		IsLimited      bool               `json:"isLimited"`
		IsShared       bool               `json:"isShared"`
		Name           string             `json:"name"`
		OrganizationId openapi_types.UUID `json:"organizationId"`
	}
	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 UpdatePolicySettingsJSONBody added in v8.10.0

type UpdatePolicySettingsJSONBody 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"`
}

UpdatePolicySettingsJSONBody defines parameters for UpdatePolicySettings.

type UpdatePolicySettingsJSONRequestBody

type UpdatePolicySettingsJSONRequestBody UpdatePolicySettingsJSONBody

UpdatePolicySettingsJSONRequestBody defines body for UpdatePolicySettings for application/json ContentType.

type UpdatePolicySettingsResponse

type UpdatePolicySettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		BingSafeSearchEnabled       bool `json:"bingSafeSearchEnabled"`
		DuckduckgoSafeSearchEnabled bool `json:"duckduckgoSafeSearchEnabled"`
		GoogleSafeSearchEnabled     bool `json:"googleSafeSearchEnabled"`
		IpBlockingEnabled           bool `json:"ipBlockingEnabled"`
		YoutubeSafeSearchEnabled    bool `json:"youtubeSafeSearchEnabled"`
	}
	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 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