func (s *displayService) DisplayServerElements(ctx context.Context) (adminPanel bool, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.DisplayServerElements(
		ctx,
		&v1alpha1.DisplayServerElementsRequest{},
	)
	if err != nil {
		return false, err
	}
	return response.AdminPanel, nil
}
// DisplayServerElements returns which server elements should be displayed to the user.
DisplayServerElements returns which server elements should be displayed to the user.
// DisplayServerElements returns which server elements should be displayed to the user .
func (s *displayService) DisplayServerElements(ctx context.Context) (adminPanel bool, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.DisplayServerElements(
		ctx,
		&v1alpha1.DisplayServerElementsRequest{},
	)
	if err != nil {
		return false, err
	}
	return response.AdminPanel, nil
}
func ( s * displayService ) DisplayServerElements ( ctx context . Context ) ( adminPanel bool , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . DisplayServerElements ( ctx , & v1alpha1 . DisplayServerElementsRequest { } , ) if err != nil { return false , err } return response . AdminPanel , nil }
DisplayServerElements returns which server elements should be displayed to the user.
DisplayServerElements returns which server elements should be displayed to the user .