import { Component, OnInit } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
import { IVolumeType } from '@fleio-api/openstack/model/volume-type.model';
import { VolumeTypeListUiService } from '../volume-type-list-ui.service';

@Component({
  selector: 'app-volume-type-list',
  templateUrl: './volume-type-list.component.html',
  styleUrls: ['./volume-type-list.component.scss']
})
export class VolumeTypeListComponent extends ListBase<IVolumeType> implements OnInit {

  constructor(
    private route: ActivatedRoute, private volumeTypeListUiService: VolumeTypeListUiService,
    private refreshService: RefreshService,
  ) {
    super(route, volumeTypeListUiService, refreshService, 'volumeTypes');
  }
}
