func (s *displayService) ListManageableTemplateRoles(ctx context.Context, templateId string) (roles []v1alpha1.TemplateRole, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ListManageableTemplateRoles(
		ctx,
		&v1alpha1.ListManageableTemplateRolesRequest{
			TemplateId: templateId,
		},
	)
	if err != nil {
		return nil, err
	}
	return response.Roles, nil
}
// ListManageableTemplateRoles returns which roles should be displayed
// to the user when they are managing contributors on the template.
ListManageableTemplateRoles returns which roles should be displayed
to the user when they are managing contributors on the template.
// ListManageableTemplateRoles returns which roles should be displayed // to the user when they are managing contributors on the template .
func (s *displayService) ListManageableTemplateRoles(ctx context.Context, templateId string) (roles []v1alpha1.TemplateRole, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ListManageableTemplateRoles(
		ctx,
		&v1alpha1.ListManageableTemplateRolesRequest{
			TemplateId: templateId,
		},
	)
	if err != nil {
		return nil, err
	}
	return response.Roles, nil
}
func ( s * displayService ) ListManageableTemplateRoles ( ctx context . Context , templateId string ) ( roles [ ] v1alpha1 . TemplateRole , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . ListManageableTemplateRoles ( ctx , & v1alpha1 . ListManageableTemplateRolesRequest { TemplateId : templateId , } , ) if err != nil { return nil , err } return response . Roles , nil }
ListManageableTemplateRoles returns which roles should be displayed
to the user when they are managing contributors on the template.
ListManageableTemplateRoles returns which roles should be displayed to the user when they are managing contributors on the template .