コード例 #1
0
        /// <summary>
        /// Builds a ComputeNodeGetResponse object
        /// </summary>
        public static ProxyModels.ComputeNodeGetResponse CreateComputeNodeGetResponse(string computeNodeId)
        {
            ProxyModels.ComputeNodeGetResponse response = new ProxyModels.ComputeNodeGetResponse();
            response.StatusCode = HttpStatusCode.OK;

            ProxyModels.ComputeNode computeNode = new ProxyModels.ComputeNode();
            computeNode.Id       = computeNodeId;
            response.ComputeNode = computeNode;

            return(response);
        }
コード例 #2
0
        /// <summary>
        /// Builds a ComputeNodeGetResponse object
        /// </summary>
        public static ProxyModels.ComputeNodeGetResponse CreateComputeNodeGetResponse(string computeNodeId)
        {
            ProxyModels.ComputeNodeGetResponse response = new ProxyModels.ComputeNodeGetResponse();
            response.StatusCode = HttpStatusCode.OK;

            ProxyModels.ComputeNode computeNode = new ProxyModels.ComputeNode();
            computeNode.Id = computeNodeId;
            response.ComputeNode = computeNode;

            return response;
        }