import { Injectable } from '@angular/core';
import { ConfigService } from '@shared/config/config.service';
import { HttpClient } from '@angular/common/http';
import { IContainerModel } from '@fleio-api/openstack/object-store/model/container.model';
import { FleioApiService } from '@fleio-api/fleio-api.service';

@Injectable({
  providedIn: 'root',
})
export class ContainersApiService extends FleioApiService<IContainerModel> {
  constructor(protected httpClient: HttpClient, protected config: ConfigService) {
    super();
    this.setEndpoint(config.getPanelApiUrl('openstack/object-store-containers'));
  }
}
