Files
threshold-ui/addons/api/addon/generated/models/channel.js
T
Zhihe Li b9cf61932b feat: 🎸 Add session recording models (#100)
* feat: 🎸 Add session recording models

✅ Closes: ICU-8075
2023-03-07 16:38:41 -05:00

54 lines
1.1 KiB
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import BaseModel from '../../models/base';
import { attr } from '@ember-data/model';
/**
* A channel contains data for a single channel within a connection.
*/
export default class GeneratedChannelModel extends BaseModel {
// =attributes
@attr('string', {
description: 'The type of the resource, to help differentiate schemas',
readOnly: true,
})
type;
@attr('number', {
description:
'The total number of bytes uploaded from the client in this Channel.',
readOnly: true,
})
bytes_up;
@attr('number', {
description:
'The total number of bytes downloaded to the client in this Channel.',
readOnly: true,
})
bytes_down;
@attr('number', {
description:
'The total number of errors that occurred during the use of this Channel.',
readOnly: true,
})
errors;
@attr('date', {
description: 'The time the Channel started.',
readOnly: true,
})
started_time;
@attr('date', {
description: 'The time the Channel finished.',
readOnly: true,
})
finished_time;
}