/// <summary> /// Initializes a new instance of the <see cref="StreamResponse" /> class. /// </summary> /// <param name="StreamLocation">The actual location of the stream (required).</param> public StreamResponse(StreamLocation StreamLocation = default(StreamLocation)) { // to ensure "StreamLocation" is required (not null) if (StreamLocation == null) { throw new InvalidDataException("StreamLocation is a required property for StreamResponse and cannot be null"); } else { this.StreamLocation = StreamLocation; } }
/// <summary> /// Initializes a new instance of the <see cref="Stream" /> class. /// </summary> /// <param name="StreamLocation">The location of the classification result..</param> public Stream(StreamLocation StreamLocation = default(StreamLocation)) { this.StreamLocation = StreamLocation; }