/// <summary> /// /// </summary> /// <exception cref="GhostNetwork.Publications.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="skip"> (optional)</param> /// <param name="take"> (optional)</param> /// <param name="tags"> (optional)</param> /// <returns>Task of List<Publication></returns> public async System.Threading.Tasks.Task <List <Publication> > PublicationsSearchAsync(int?skip = default(int?), int?take = default(int?), List <string> tags = default(List <string>)) { GhostNetwork.Publications.Client.ApiResponse <List <Publication> > localVarResponse = await PublicationsSearchAsyncWithHttpInfo(skip, take, tags); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="GhostNetwork.Publications.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="skip"> (optional)</param> /// <param name="take"> (optional)</param> /// <param name="tags"> (optional)</param> /// <returns>List<Publication></returns> public List <Publication> PublicationsSearch(int?skip = default(int?), int?take = default(int?), List <string> tags = default(List <string>)) { GhostNetwork.Publications.Client.ApiResponse <List <Publication> > localVarResponse = PublicationsSearchWithHttpInfo(skip, take, tags); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="GhostNetwork.Publications.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id"></param> /// <returns>Task of Publication</returns> public async System.Threading.Tasks.Task <Publication> PublicationsGetByIdAsync(string id) { GhostNetwork.Publications.Client.ApiResponse <Publication> localVarResponse = await PublicationsGetByIdAsyncWithHttpInfo(id); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="GhostNetwork.Publications.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="id"></param> /// <returns>Publication</returns> public Publication PublicationsGetById(string id) { GhostNetwork.Publications.Client.ApiResponse <Publication> localVarResponse = PublicationsGetByIdWithHttpInfo(id); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="GhostNetwork.Publications.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createPublicationModel"> (optional)</param> /// <returns>Task of Publication</returns> public async System.Threading.Tasks.Task <Publication> PublicationsCreateAsync(CreatePublicationModel createPublicationModel = default(CreatePublicationModel)) { GhostNetwork.Publications.Client.ApiResponse <Publication> localVarResponse = await PublicationsCreateAsyncWithHttpInfo(createPublicationModel); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="GhostNetwork.Publications.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createPublicationModel"> (optional)</param> /// <returns>Publication</returns> public Publication PublicationsCreate(CreatePublicationModel createPublicationModel = default(CreatePublicationModel)) { GhostNetwork.Publications.Client.ApiResponse <Publication> localVarResponse = PublicationsCreateWithHttpInfo(createPublicationModel); return(localVarResponse.Data); }