func (s *pluginService) ListTemplateContributors(
	ctx context.Context,
	templateId string,
	pageSize uint32,
	pageToken string,
	reverse bool,
) (users []*v1alpha1.TemplateContributor, nextPageToken string, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ListTemplateContributors(
		ctx,
		&v1alpha1.ListTemplateContributorsRequest{
			TemplateId: templateId,
			PageSize:   pageSize,
			PageToken:  pageToken,
			Reverse:    reverse,
		},
	)
	if err != nil {
		return nil, "", err
	}
	return response.Users, response.NextPageToken, nil
}
// ListTemplateContributors returns the list of contributors that has an explicit role against the template.
// This does not include users who have implicit roles against the template, unless they have also been
// assigned a role explicitly.
ListTemplateContributors returns the list of contributors that has an explicit role against the template.
This does not include users who have implicit roles against the template, unless they have also been
assigned a role explicitly.
// ListTemplateContributors returns the list of contributors that has an explicit role against the template . // This does not include users who have implicit roles against the template unless they have also been // assigned a role explicitly .
func (s *pluginService) ListTemplateContributors(
	ctx context.Context,
	templateId string,
	pageSize uint32,
	pageToken string,
	reverse bool,
) (users []*v1alpha1.TemplateContributor, nextPageToken string, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.ListTemplateContributors(
		ctx,
		&v1alpha1.ListTemplateContributorsRequest{
			TemplateId: templateId,
			PageSize:   pageSize,
			PageToken:  pageToken,
			Reverse:    reverse,
		},
	)
	if err != nil {
		return nil, "", err
	}
	return response.Users, response.NextPageToken, nil
}
func ( s * pluginService ) ListTemplateContributors ( ctx context . Context , templateId string , pageSize uint32 , pageToken string , reverse bool , ) ( users [ ] * v1alpha1 . TemplateContributor , nextPageToken string , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . ListTemplateContributors ( ctx , & v1alpha1 . ListTemplateContributorsRequest { TemplateId : templateId , PageSize : pageSize , PageToken : pageToken , Reverse : reverse , } , ) if err != nil { return nil , " " , err } return response . Users , response . NextPageToken , nil }
ListTemplateContributors returns the list of contributors that has an explicit role against the template.
ListTemplateContributors returns the list of contributors that has an explicit role against the template .