cbibannercontroller

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(ctx context.Context, service *zscaler.Service, cbiBannerID string) (*http.Response, error)

func Update

func Update(ctx context.Context, service *zscaler.Service, cbiBannerID string, cbiBanner *CBIBannerController) (*http.Response, error)

Types

type CBIBannerController

type CBIBannerController struct {
	ID                string `json:"id,omitempty"`
	Name              string `json:"name,omitempty"`
	PrimaryColor      string `json:"primaryColor,omitempty"`
	TextColor         string `json:"textColor,omitempty"`
	NotificationTitle string `json:"notificationTitle,omitempty"`
	NotificationText  string `json:"notificationText,omitempty"`
	Banner            bool   `json:"banner,omitempty"`
	IsDefault         bool   `json:"isDefault,omitempty"`
	Persist           bool   `json:"persist,omitempty"`
}

func Create

func Get

func Get(ctx context.Context, service *zscaler.Service, bannerID string) (*CBIBannerController, *http.Response, error)

func GetAll

func GetAll(ctx context.Context, service *zscaler.Service) ([]CBIBannerController, *http.Response, error)

func GetByNameOrID added in v3.0.2

func GetByNameOrID(ctx context.Context, service *zscaler.Service, identifier string) (*CBIBannerController, *http.Response, error)

Jump to

Keyboard shortcuts

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