Documentation ¶
Index ¶
- func Delete(service *services.Service, cbiBannerID string) (*http.Response, error)
- func Update(service *services.Service, cbiBannerID string, cbiBanner *CBIBannerController) (*http.Response, error)
- type CBIBannerController
- func Create(service *services.Service, cbiBanner *CBIBannerController) (*CBIBannerController, *http.Response, error)
- func Get(service *services.Service, bannerID string) (*CBIBannerController, *http.Response, error)
- func GetAll(service *services.Service) ([]CBIBannerController, *http.Response, error)
- func GetByNameOrID(service *services.Service, identifier string) (*CBIBannerController, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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"` Logo string `json:"logo,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 GetByNameOrID ¶ added in v2.61.9
Click to show internal directories.
Click to hide internal directories.