public static CreateCommandResponse Unmarshall(UnmarshallerContext context)
        {
            CreateCommandResponse createCommandResponse = new CreateCommandResponse();

            createCommandResponse.HttpResponse = context.HttpResponse;
            createCommandResponse.RequestId    = context.StringValue("CreateCommand.RequestId");
            createCommandResponse.CommandId    = context.StringValue("CreateCommand.CommandId");

            return(createCommandResponse);
        }
コード例 #2
0
        private static CreateCommandResponse CreateCommand(Responses.CreateCommandResponse result)
        {
            CreateCommandResponse ret = new CreateCommandResponse();

            if (result?.Result != null)
            {
                CopyPropertiesFrom(ret, result.Result);
            }

            return(ret);
        }