Documentation ¶
Index ¶
- type Scopes
- type Service
- func (service *Service) CreateURLCategories(category *URLCategory) (*URLCategory, error)
- func (service *Service) DeleteURLCategories(categoryID string) (*http.Response, error)
- func (service *Service) Get(categoryID string) (*URLCategory, error)
- func (service *Service) GetAll() ([]URLCategory, error)
- func (service *Service) GetCustomURLCategories(customName string) (*URLCategory, error)
- func (service *Service) GetIncludeOnlyUrlKeyWordCounts(customName string) (*URLCategory, error)
- func (service *Service) UpdateURLCategories(categoryID string, category *URLCategory) (*URLCategory, *http.Response, error)
- type URLCategory
- type URLKeywordCounts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scopes ¶
type Scopes struct { ScopeGroupMemberEntities []common.IDNameExtensions `json:"scopeGroupMemberEntities,omitempty"` Type string `json:"Type,omitempty"` ScopeEntities []common.IDNameExtensions `json:"ScopeEntities,omitempty"` }
type Service ¶
func (*Service) CreateURLCategories ¶
func (service *Service) CreateURLCategories(category *URLCategory) (*URLCategory, error)
func (*Service) DeleteURLCategories ¶
func (*Service) GetAll ¶ added in v0.0.4
func (service *Service) GetAll() ([]URLCategory, error)
func (*Service) GetCustomURLCategories ¶
func (service *Service) GetCustomURLCategories(customName string) (*URLCategory, error)
func (*Service) GetIncludeOnlyUrlKeyWordCounts ¶ added in v0.5.0
func (service *Service) GetIncludeOnlyUrlKeyWordCounts(customName string) (*URLCategory, error)
func (*Service) UpdateURLCategories ¶
func (service *Service) UpdateURLCategories(categoryID string, category *URLCategory) (*URLCategory, *http.Response, error)
type URLCategory ¶
type URLCategory struct { ID string `json:"id,omitempty"` ConfiguredName string `json:"configuredName,omitempty"` Keywords []string `json:"keywords"` KeywordsRetainingParentCategory []string `json:"keywordsRetainingParentCategory"` Urls []string `json:"urls"` DBCategorizedUrls []string `json:"dbCategorizedUrls"` CustomCategory bool `json:"customCategory"` Scopes []Scopes `json:"scopes,omitempty"` Editable bool `json:"editable"` Description string `json:"description,omitempty"` Type string `json:"type,omitempty"` URLKeywordCounts *URLKeywordCounts `json:"urlKeywordCounts,omitempty"` Val int `json:"val,omitempty"` CustomUrlsCount int `json:"customUrlsCount,omitempty"` SuperCategory string `json:"superCategory,omitempty"` UrlsRetainingParentCategoryCount int `json:"urlsRetainingParentCategoryCount"` IPRanges []string `json:"ipRanges"` IPRangesRetainingParentCategory []string `json:"ipRangesRetainingParentCategory"` CustomIpRangesCount int `json:"customIpRangesCount"` IPRangesRetainingParentCategoryCount int `json:"ipRangesRetainingParentCategoryCount"` }
type URLKeywordCounts ¶
Click to show internal directories.
Click to hide internal directories.