/// <summary> /// Initializes a new instance of the TransfersCreateResponse class. /// </summary> public TransfersCreateResponse(Transfer transfer) { Transfer = transfer; CustomInit(); }
/// <summary> /// Initializes a new instance of the <see cref="TransferResponse" /> class. /// </summary> /// <param name="transfer">transfer (required).</param> public TransferResponse(Transfer transfer = default(Transfer)) { // to ensure "transfer" is required (not null) this.Transfer = transfer ?? throw new ArgumentNullException("transfer is a required property for TransferResponse and cannot be null"); }