/// <summary> /// Sets the ReportIdList property /// </summary> /// <param name="reportIdList">ReportIdList property</param> /// <returns>this instance</returns> public UpdateReportAcknowledgementsRequest WithReportIdList(IdList reportIdList) { this.reportIdListField = reportIdList; return this; }
/// <summary> /// Sets the MarketplaceIdList property, an optional parameter for backwards compatibility. Allows you to specify the marketplaces to request a report from. /// </summary> /// <param name="marketplaceIdList"> MarketplaceIdList property</param> /// <returns></returns> public RequestReportRequest WithMarketplaceIdList(IdList marketplaceIdList) { this.marketplaceIdListField = marketplaceIdList; return this; }
/// <summary> /// Sets the ReportRequestIdList property /// </summary> /// <param name="reportRequestIdList">ReportRequestIdList property</param> /// <returns>this instance</returns> public GetReportListRequest WithReportRequestIdList(IdList reportRequestIdList) { this.reportRequestIdListField = reportRequestIdList; return this; }
/// <summary> /// Sets the FeedSubmissionIdList property /// </summary> /// <param name="feedSubmissionIdList">FeedSubmissionIdList property</param> /// <returns>this instance</returns> public GetFeedSubmissionListRequest WithFeedSubmissionIdList(IdList feedSubmissionIdList) { this.feedSubmissionIdListField = feedSubmissionIdList; return this; }
/// <summary> /// Sets the ReportRequestIdList property /// </summary> /// <param name="reportRequestIdList">ReportRequestIdList property</param> /// <returns>this instance</returns> public CancelReportRequestsRequest WithReportRequestIdList(IdList reportRequestIdList) { this.reportRequestIdListField = reportRequestIdList; return this; }
/// <summary> /// Sets the FeedSubmissionIdList property /// </summary> /// <param name="feedSubmissionIdList">FeedSubmissionIdList property</param> /// <returns>this instance</returns> public CancelFeedSubmissionsRequest WithFeedSubmissionIdList(IdList feedSubmissionIdList) { this.feedSubmissionIdListField = feedSubmissionIdList; return this; }
/// <summary> /// Sets the MarketplaceIdList property, an optional parameter for backwards compatibility. Allows you to specify the marketplaces to submit a feed to. /// </summary> /// <param name="marketplaceIdList"> MarketplaceIdList property</param> /// <returns></returns> public SubmitFeedRequest WithMarketplaceIdList(IdList marketplaceIdList) { this.marketplaceIdListField = marketplaceIdList; return this; }
private static IdList ConvertToNativeIdList( List< string > feedSubmissionIds ) { var nativeIdList = new IdList(); nativeIdList.WithId( feedSubmissionIds.ToArray() ); return nativeIdList; }