cbibannercontroller

package
v2.61.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete added in v2.61.0

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

func Update added in v2.61.0

func Update(service *services.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 added in v2.61.0

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

func Get added in v2.61.0

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

func GetAll added in v2.61.0

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

func GetByName added in v2.61.0

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

Jump to

Keyboard shortcuts

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