コード例 #1
0
ファイル: PublicationsApi.cs プロジェクト: bod9i/gateway
        /// <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&lt;Publication&gt;</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);
        }
コード例 #2
0
ファイル: PublicationsApi.cs プロジェクト: bod9i/gateway
 /// <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&lt;Publication&gt;</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);
 }
コード例 #3
0
ファイル: PublicationsApi.cs プロジェクト: bod9i/gateway
        /// <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);
        }
コード例 #4
0
ファイル: PublicationsApi.cs プロジェクト: bod9i/gateway
 /// <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);
 }
コード例 #5
0
ファイル: PublicationsApi.cs プロジェクト: bod9i/gateway
        /// <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);
        }
コード例 #6
0
ファイル: PublicationsApi.cs プロジェクト: bod9i/gateway
 /// <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);
 }