light modification
This commit is contained in:
		@@ -16,6 +16,7 @@ import (
 | 
			
		||||
 */
 | 
			
		||||
type StorageResource struct {
 | 
			
		||||
	AbstractIntanciatedResource[*StorageResourceInstance]                    // AbstractResource contains the basic fields of an object (id, name)
 | 
			
		||||
	Source                                                string             `bson:"source,omitempty" json:"source,omitempty"` // Source is the source of the storage
 | 
			
		||||
	Type                                                  common.StorageType `bson:"type,omitempty"`                           // Type is the type of the storage
 | 
			
		||||
	TypeJSON                                              string             `json:"type,omitempty"`
 | 
			
		||||
	Acronym                                               string             `bson:"acronym,omitempty" json:"acronym,omitempty"` // Acronym is the acronym of the storage
 | 
			
		||||
@@ -35,7 +36,7 @@ type StorageResourceInstance struct {
 | 
			
		||||
	Local         bool               `bson:"local" json:"local"`
 | 
			
		||||
	SecurityLevel string             `bson:"security_level,omitempty" json:"security_level,omitempty"`
 | 
			
		||||
	SizeType      common.StorageSize `bson:"size_type" json:"size_type" default:"0"`           // SizeType is the type of the storage size
 | 
			
		||||
	SizeGB        uint               `bson:"size,omitempty" json:"size,omitempty"`             // Size is the size of the storage
 | 
			
		||||
	SizeGB        int64              `bson:"size,omitempty" json:"size,omitempty"`             // Size is the size of the storage
 | 
			
		||||
	Encryption    bool               `bson:"encryption,omitempty" json:"encryption,omitempty"` // Encryption is a flag that indicates if the storage is encrypted
 | 
			
		||||
	Redundancy    string             `bson:"redundancy,omitempty" json:"redundancy,omitempty"` // Redundancy is the redundancy of the storage
 | 
			
		||||
	Throughput    string             `bson:"throughput,omitempty" json:"throughput,omitempty"` // Throughput is the throughput of the storage
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user