2023-03-01 09:39:41 -06:00
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2020-07-14 18:47:35 -04:00
import BaseModel from '../../models/base' ;
import { attr } from '@ember-data/model' ;
/**
*
*/
export default class GeneratedScopeModel extends BaseModel {
// =attributes
2021-03-24 18:36:34 -04:00
@ attr ( 'string' , {
description :
'The ID of the primary auth method for this scope. A primary auth method\nis allowed to vivify users when new accounts are created and is the source for the users account info.' ,
})
primary_auth_method_id ;
2020-07-14 18:47:35 -04:00
@ attr ( 'string' , {
2020-09-16 14:29:02 -04:00
description : 'The type of the resource' ,
})
type ;
2020-07-14 18:47:35 -04:00
@ attr ( 'string' , {
description : 'Optional name for identification purposes' ,
})
name ;
@ attr ( 'string' , {
description : 'Optional user-set description for identification purposes' ,
})
description ;
@ attr ( 'date' , {
description : 'The time this resource was created\nOutput only.' ,
readOnly : true ,
})
created_time ;
@ attr ( 'date' , {
description : 'The time this resource was last updated\nOutput only.' ,
readOnly : true ,
})
updated_time ;
2020-08-21 08:55:07 -04:00
@ attr ( 'number' , {
description : 'Current version number of this resource.' ,
})
version ;
2024-01-12 11:29:19 -08:00
@ attr ( 'string' , {
description : 'The ID of the associated storage policy' ,
})
storage_policy_id ;
2020-07-14 18:47:35 -04:00
}