/// <summary>
        /// Initializes a new instance of the <see cref="CreateCloudBlockStorageVolumeRequest"/>
        /// class with the specified details.
        /// </summary>
        /// <param name="details">The details of the request.</param>
        /// <exception cref="ArgumentNullException">If <paramref name="details"/> is <see langword="null"/>.</exception>
        public CreateCloudBlockStorageVolumeRequest(CreateCloudBlockStorageVolumeDetails details)
        {
            if (details == null)
                throw new ArgumentNullException("details");

            CreateCloudBlockStorageVolumeDetails = details;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CreateCloudBlockStorageVolumeRequest"/>
        /// class with the specified details.
        /// </summary>
        /// <param name="details">The details of the request.</param>
        /// <exception cref="ArgumentNullException">If <paramref name="details"/> is <see langword="null"/>.</exception>
        public CreateCloudBlockStorageVolumeRequest(CreateCloudBlockStorageVolumeDetails details)
        {
            if (details == null)
            {
                throw new ArgumentNullException("details");
            }

            CreateCloudBlockStorageVolumeDetails = details;
        }