cbibannercontroller

package
v2.72.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 4 Imported by: 2

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 GetByNameOrID added in v2.61.9

func GetByNameOrID(service *services.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