Documentation ¶
Index ¶
- type CBIBannerController
- type Service
- func (service *Service) Create(cbiBanner *CBIBannerController) (*CBIBannerController, *http.Response, error)
- func (service *Service) Delete(cbiBannerID string) (*http.Response, error)
- func (service *Service) Get(bannerID string) (*CBIBannerController, *http.Response, error)
- func (service *Service) GetAll() ([]CBIBannerController, *http.Response, error)
- func (service *Service) GetByName(bannerName string) (*CBIBannerController, *http.Response, error)
- func (service *Service) Update(cbiBannerID string, cbiBanner *CBIBannerController) (*http.Response, error)
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"` Logo string `json:"logo,omitempty"` Banner bool `json:"banner,omitempty"` IsDefault bool `json:"isDefault,omitempty"` Persist bool `json:"persist,omitempty"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(cbiBanner *CBIBannerController) (*CBIBannerController, *http.Response, error)
func (*Service) GetAll ¶
func (service *Service) GetAll() ([]CBIBannerController, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.