Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ValidateAddressResponse" /> class.
        /// </summary>


        /// <param name="Valid">Was the passed in address valid (required).</param>



        /// <param name="Response">Subscriber schema.</param>


        public ValidateAddressResponse(bool?Valid = null, SubscriberResponse Response = null)
        {
            // to ensure "Valid" is required (not null)
            if (Valid == null)
            {
                throw new InvalidDataException("Valid is a required property for ValidateAddressResponse and cannot be null");
            }
            else
            {
                this.Valid = Valid;
            }



            this.Response = Response;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ValidateAddressResponse" /> class.
 /// </summary>
 /// <param name="Valid">Was the passed in address valid (required).</param>
 /// <param name="Response">Subscriber schema.</param>
 public ValidateAddressResponse(bool?Valid = null, SubscriberResponse Response = null)
 {
     this.Valid    = Valid;
     this.Response = Response;
 }