func (s *displayService) DisplayPluginElements(
	ctx context.Context,
	pluginId string,
) (createVersion bool, settings bool, delete bool, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.DisplayPluginElements(
		ctx,
		&v1alpha1.DisplayPluginElementsRequest{
			PluginId: pluginId,
		},
	)
	if err != nil {
		return false, false, false, err
	}
	return response.CreateVersion, response.Settings, response.Delete, nil
}
// DisplayPluginElements returns which plugin elements should be displayed to the user.
DisplayPluginElements returns which plugin elements should be displayed to the user.
// DisplayPluginElements returns which plugin elements should be displayed to the user .
func (s *displayService) DisplayPluginElements(
	ctx context.Context,
	pluginId string,
) (createVersion bool, settings bool, delete bool, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.DisplayPluginElements(
		ctx,
		&v1alpha1.DisplayPluginElementsRequest{
			PluginId: pluginId,
		},
	)
	if err != nil {
		return false, false, false, err
	}
	return response.CreateVersion, response.Settings, response.Delete, nil
}
func ( s * displayService ) DisplayPluginElements ( ctx context . Context , pluginId string , ) ( createVersion bool , settings bool , delete bool , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . DisplayPluginElements ( ctx , & v1alpha1 . DisplayPluginElementsRequest { PluginId : pluginId , } , ) if err != nil { return false , false , false , err } return response . CreateVersion , response . Settings , response . Delete , nil }
DisplayPluginElements returns which plugin elements should be displayed to the user.
DisplayPluginElements returns which plugin elements should be displayed to the user .