cbibannercontroller

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

type Service

type Service struct {
	Client *zpa.Client
}

func New

func New(c *zpa.Client) *Service

func (*Service) Create

func (service *Service) Create(cbiBanner *CBIBannerController) (*CBIBannerController, *http.Response, error)

func (*Service) Delete

func (service *Service) Delete(cbiBannerID string) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(bannerID string) (*CBIBannerController, *http.Response, error)

func (*Service) GetAll

func (service *Service) GetAll() ([]CBIBannerController, *http.Response, error)

func (*Service) GetByName

func (service *Service) GetByName(bannerName string) (*CBIBannerController, *http.Response, error)

func (*Service) Update

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

Jump to

Keyboard shortcuts

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