func (s *displayService) DisplayOrganizationElements(
	ctx context.Context,
	organizationId string,
) (createRepository bool, createPlugin bool, createTemplate bool, settings bool, updateSettings bool, delete bool, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.DisplayOrganizationElements(
		ctx,
		&v1alpha1.DisplayOrganizationElementsRequest{
			OrganizationId: organizationId,
		},
	)
	if err != nil {
		return false, false, false, false, false, false, err
	}
	return response.CreateRepository, response.CreatePlugin, response.CreateTemplate, response.Settings, response.UpdateSettings, response.Delete, nil
}
// DisplayOrganizationElements returns which organization elements should be displayed to the user.
DisplayOrganizationElements returns which organization elements should be displayed to the user.
// DisplayOrganizationElements returns which organization elements should be displayed to the user .
func (s *displayService) DisplayOrganizationElements(
	ctx context.Context,
	organizationId string,
) (createRepository bool, createPlugin bool, createTemplate bool, settings bool, updateSettings bool, delete bool, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.DisplayOrganizationElements(
		ctx,
		&v1alpha1.DisplayOrganizationElementsRequest{
			OrganizationId: organizationId,
		},
	)
	if err != nil {
		return false, false, false, false, false, false, err
	}
	return response.CreateRepository, response.CreatePlugin, response.CreateTemplate, response.Settings, response.UpdateSettings, response.Delete, nil
}
func ( s * displayService ) DisplayOrganizationElements ( ctx context . Context , organizationId string , ) ( createRepository bool , createPlugin bool , createTemplate bool , settings bool , updateSettings bool , delete bool , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . DisplayOrganizationElements ( ctx , & v1alpha1 . DisplayOrganizationElementsRequest { OrganizationId : organizationId , } , ) if err != nil { return false , false , false , false , false , false , err } return response . CreateRepository , response . CreatePlugin , response . CreateTemplate , response . Settings , response . UpdateSettings , response . Delete , nil }
DisplayOrganizationElements returns which organization elements should be displayed to the user.
DisplayOrganizationElements returns which organization elements should be displayed to the user .