func (s *displayService) DisplayRepositoryElements(
	ctx context.Context,
	repositoryId string,
) (settings bool, delete bool, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.DisplayRepositoryElements(
		ctx,
		&v1alpha1.DisplayRepositoryElementsRequest{
			RepositoryId: repositoryId,
		},
	)
	if err != nil {
		return false, false, err
	}
	return response.Settings, response.Delete, nil
}
// DisplayRepositoryElements returns which repository elements should be displayed to the user.
DisplayRepositoryElements returns which repository elements should be displayed to the user.
// DisplayRepositoryElements returns which repository elements should be displayed to the user .
func (s *displayService) DisplayRepositoryElements(
	ctx context.Context,
	repositoryId string,
) (settings bool, delete bool, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.DisplayRepositoryElements(
		ctx,
		&v1alpha1.DisplayRepositoryElementsRequest{
			RepositoryId: repositoryId,
		},
	)
	if err != nil {
		return false, false, err
	}
	return response.Settings, response.Delete, nil
}
func ( s * displayService ) DisplayRepositoryElements ( ctx context . Context , repositoryId string , ) ( settings bool , delete bool , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . DisplayRepositoryElements ( ctx , & v1alpha1 . DisplayRepositoryElementsRequest { RepositoryId : repositoryId , } , ) if err != nil { return false , false , err } return response . Settings , response . Delete , nil }
DisplayRepositoryElements returns which repository elements should be displayed to the user.
DisplayRepositoryElements returns which repository elements should be displayed to the user .