/// <summary> /// Constructs and instance of PostInvalidationRequest with an InvalidationBatch which will be /// set to the InvalidationBatch property. /// </summary> /// <param name="invalidationBatch">The InvalidationBatch property that will be set to the InvalidationBatch property.</param> public PostInvalidationRequest(InvalidationBatch invalidationBatch) { this.invalidationBatch = invalidationBatch; }
/// <summary> /// Sets the InvalidationBatch property of this request to the value passed in. /// </summary> /// <param name="invalidationBatch">An InvalidationBatch object that lists all the paths of objects to be invalidated.</param> /// <returns>The request with the InvalidationBatch property set</returns> public PostInvalidationRequest WithInvalidationBatch(InvalidationBatch invalidationBatch) { this.invalidationBatch = invalidationBatch; return this; }
/// <summary> /// Sets the InvalidationBatch property of this request to the value passed in. /// </summary> /// <param name="invalidationBatch">An InvalidationBatch object that lists all the paths of objects to be invalidated.</param> /// <returns>The request with the InvalidationBatch property set</returns> public PostInvalidationRequest WithInvalidationBatch(InvalidationBatch invalidationBatch) { this.invalidationBatch = invalidationBatch; return(this); }