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