public VolumeType(string snapshotId, string name, Friend owner) { this.SnapshotId = snapshotId; this.Name = name; this.Owner = owner; this.IsCustom = false; }
public static VolumeType Custom(string name, Friend owner) { return new VolumeType() { Name = name, Owner = owner, IsCustom = true, }; }